TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: JAMES GOLDBLOOM
from: RICK PEDLEY
date: 1996-03-18 22:53:00
subject: Structures from TP to PB

-=> Quoting James Goldbloom to All <=-
 JG> Converted to PB, it looks like, and works properly (up to the alias)
 JG> as:
 JG> ------------------- PB STRUCTURE ------------------------------
 JG> TYPE SysInfoRecord
 JG> CallCount           as long
 JG> LastCallNameLen     as string * 1
 JG> LastCallName        as string * 35
 JG> LastCallerAliasLen  as string * 1
 JG> LastCallerAlias     as string * 35
 JG> ExtraSpace          ?? what goes here ??
 JG> END TYPE
 JG> --------------------------------------------------------------
 JG> Look to the right of "ExtraSpace" above in my code... I don't know
 JG> what comes next to match the TP structures shown in the first snippet!
I'd say read that in as string * 92, then extract individual byte
values as needed with:
DIM Byte(92) 'integer
FOR x = 1 TO 92
   Byte(x) = ASC(MID$(ExtraSpace, x, 1)) 'unless PB has a byte data type.
NEXT x
coffeerp@adan.kingston.net  Û] COFFEE MUG SOFTWARE Û]
--- InterEcho 1.16
---------------
* Origin: CrossRoads * Kingston, Ont. (1:249/1)

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