Light StructuresLight structures are just like C structs, however you must manually map each member to a BASIC variable name. Once declared, they work transparently. You can only use light structures associated with a given array. Examples
$dim person(10) {
name as na$,
address as ad$,
age as age
}
$person.name(0) = "Joe Foobar"
$person.address(0) = "FooBaz avenue, 42"
$person.age(0) = 35
|