Data types
- Constant data
-
declarations NWEEKS = 20 NDAYS = 7*NWEEKS CONV_RATE = 1.425 DATA_DIR = 'c:\data' end-declarations
- Variable data
- Declaration
-
declarations NPROD: integer SCOST: real MAXREFVEG: real DIR: string IF_DEBUG: boolean HARD: array(1..5) of real COST: array(1..3,1..4) of real end-declarations
- Initialization
-
NPROD := 20 SCOST := 5 MAXREFVEG := 200.0 DIR := 'c:\data' IF_DEBUG := true HARD :: [8.8, 6.1, 2.0, 4.2, 5.0] COST :: [11, 12, 13, 14, 21, 22, 23, 24, 31, 32, 33, 34]