0010 DEFINE DATA LOCAL
0030 1 TAB (/LIM)
0040 2 ALFA (A10)
0050 2 NUM (N3)
0060 END-DEFINE
0070 INPUT ALFA() NUM()
0080 WRITE ALFA() NUM()
0090 END
In Natural V Unis Solaris 6.2.3, checks and uses occurrence one when I RUN it.
Of course declaring LIM as a constant the problem is solved but it took me a while to locate the error.
The same program on Windows XP V 6.3.5 PL0 Natural Studio (Rev.: 16 532) does not check.
I’d appreciate any help.
Best Regards
Teo Sibelo
Your code is not compilable on Nat 6.3.9PL0@Solaris.
DEFINE DATA LOCAL
1 TAB (/LIM) /* <-- NAT0280 Index entry incorrectly specified for field.
2 ALFA (A10)
2 NUM (N3)
END-DEFINE
INPUT ALFA(*) NUM(*)
WRITE ALFA(*) NUM(*)
END