TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: TIM HUTZLER
from: OLIVIER DAGENAIS
date: 1997-01-26 16:10:00
subject: Re: Assy access of strin

OD>I'm not sure why you want DS:SI, (use ES:DI, instead) but in
OD>Quick-Basic, I'd use VARSEG and VARPTR for the variable.
 TH> Actually, PowerBASIC has a STRPTR32 that passes the actual far
 TH> address of the string. That's the best approach I have found thus
 TH> far.
Oh, yeah.  Far address..  You could do it manually in Quick-Basic, as well.. 
(I guess..  Which is first in the far method: segment or offset?)
OD>Speaking of which (ES:DI), why did you ask for an assembler
OD>address combo? Does PowerBasic support Inline assembler? I've ays
OD>wondered if it did..
 TH> Yes, PB32 does. It does not compare with A86 or MASM, but it does
 TH> allow you to manipulate variables close to the heart of the machine.
Ah... Interesting.  I see why Goto10 would use PowerBasic...
 TH> It makes BASIC more useable for some of the stuff I do.
Ah, well.. I have to create my stuff externally and make a library out of it, 
but I've got batch files and macros helping me out.. 
See ya around!
Omega@inorbit.com
--- Maximus/2 3.01
---------------
* Origin: Hyper BBS (613)257-7636 (1:163/557.2)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.