[previous] [up] [next]     [contents]
Next: Designing Functions for Compound Up: Compound DataPart 1: Previous: Structure Definitions

Data Definitions

To include a data definition in your program file, use a comment (just as for contracts):


; A star is a structure
;    (make-star last first instrucment sales) 
; where last, first, and instrucment are symbols 
;   and sales is a number. 



PLT