#COMPILE EXE "s51_sizing.exe"
' Sample: TYPE sizing
TYPE Record
    id AS LONG
    name AS STRING * 32
    active AS LONG
END TYPE
FUNCTION PBMAIN() AS LONG
    DIM r AS Record
    PRINT "Record type defined with:"
    PRINT "  id AS LONG     (4-8 bytes)"
    PRINT "  name AS STRING * 32"
    PRINT "  active AS LONG (4-8 bytes)"
    PRINT "Use TYPE/END TYPE for structured data"
    FUNCTION = 0
END FUNCTION
