Back to table

Invalid Array Declaration

The following is an invalid µOCCAM program. Does not use a constant expression to declare an array.

Program file: /public/cs3/web/ipptests/array_decl_invalid.reject
INT x = 1:
[x]INT i:
STOP