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)
|