TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: RICK PEDLEY
from: JAMES GOLDBLOOM
date: 1996-03-20 12:17:00
subject: Re: Structures from TP to PB

 RP-> I'd say read that in as string * 92, then extract individual byte
 RP-> values as needed with:
Ok.
I'd prefer to read them in precisely as the structures were written,
passing the data from the buffer directly to a mapped variable
as defined by the structure.  This is easier for debugging, and
requires only minor adjustments in TYPE definitions and functions
shared by those definitions.  My problem is the function, not
the definition, as far as I can tell, and learning the "PB" syntax.
 RP-> DIM Byte(92) 'integer FOR x = 1 TO 92 Byte(x) = ASC(MID$(ExtraSpace,
 RP-> x, 1)) 'unless PB has a byte data type. NEXT x
I'd like to see a list of the COMPLETE data types, because even though
I wrote that based on code from other authors, I cannot find any
documentation (yet) within the IDE which even has "var AS string * len"
for example.  I see it in MAP/FIELD, but not TYPE.  Being that all
the software I am writing has structures using the TYPE format, I'd
like to keep it in tandem.
-James (SysOp/AD Message System)
--- QuickBBS 2.80 GoldBase (Zeta-1)
---------------
* Origin: AD Message BBS/10th Year Online! (703)241-1826 (1:109/611@FIDONET)

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™.