BBS: Inland Empire Archive Date: 06-10-92 (08:05) Number: 116 From: TOM KIEHL Refer#: NONE To: JEFFERY FOY Recvd: NO Subj: Porting question & info Conf: (2) Quik_Bas
Jeff, we'll try again...
Just_about Equivalents: note... nn is character string length.
BASIC C
---------- -----------
DEF TYPE BasicType struct struct_name { intVar
as INTEGER int int_varaiable;
longVar as LONG long int long_variable;
singleVar as SINGLE float float_variable;
dblVar as DOUBLE long float double_variable;
strVar as STRING * nn char string_variable [nn];
END TYPE };
TK>Sample of padding for reading C word aligned structs v.s. Basic TYPES
Is padding the confusing part or just the munched table above.
JF>TK>Hope this helps v.s. confuse.
JF>Unfortunately it is the latter. :(
JF>Jeff
Hopefully Fido won't eat my homework this time.
Tom Kiehl
* SLMR 2.1a * Old programmers never die, they just lose their byte.
--- TosScan 1.00
* Origin: Carrie's Living Room - Largo, Florida USA (1:3603/150)

Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET