BBS: Inland Empire Archive
Date: 02-10-93 (18:06) Number: 389
From: VICTOR YIU Refer#: NONE
To: TOM HAMMOND Recvd: NO
Subj: Re: Help W/In-Line Code Conf: (2) Quik_Bas
>>> Regurgitating Tom Hammond to All <<<
What you have to do is to replace your "CALL ..." with "CALL ABSOLUTE ..."
That is the QB/VB equivalent to calling some in-line assembly code. I will
not guarantee total compatability, because the way GWBASIC and QB handles
inlines stuff is differrent...
First of all, you have to define the segment of the string you are going to
modify (in the
DEF SEG = VARSEG(Clean$)
before the POKE (so it pokes in the right place...). Also you will have to
use VARSEG(Clean$)/SADD(Clean$) to find out the address of the string
in-line code to call.
That is what you pass to CALL ABSOLUTE so it can execute it.
You can look at QB's on-line help for more info.
... Have you crashed your Windows today?
--- Blue Wave/RA v2.10 [NR]
* Origin: Hard Disc Cafe / Houston Texas / (713) 589-2690 / (1:106/30.0)