home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turbo Toolbox
/
Turbo_Toolbox.iso
/
1990
/
06
/
tricks
/
strngadr.inc
< prev
next >
Wrap
Text File
|
1990-03-08
|
555b
|
14 lines
'* ------------------------------------------------------- *
'* STRNGADR.INC *
'* CALL StrngAdr(String$,Segment%,Offset%) *
'* ------------------------------------------------------- *
SUB StrngAdr(S$,Segm%,Offs%)
DEF SEG
Segm% = PEEK(0) + 256 * PEEK(1)
DEF SEG = VARSEG(S$)
Offs% = PEEK(VARPTR(S$) + 2) + 256 * PEEK(VARPTR(S$)+3)
DEF SEG
END SUB
'* ------------------------------------------------------- *
'* Ende von STRNGADR.INC *