Re: error -1584
Posted in 1999
"Art S. Kagel" wrote: > > Daniel Tendaj wrote: > > > > Contents of the module is: > > > > # > > define pl_t char(1) > > > > main > > end main > > # > > I don't remeber for sure but I think you cannot have a define outside of > main except in a GLOBALS statement or statement block. Should be OK, yes means the variable's scope is for the module >Thus this test prog > would be either: > > GLOBALS > define pl_t char(1) > END GLOBALS > > MAIN > END MAIN > > --OR-- > > MAIN > define pl_t char(1) > END MAIN > > Also I thought the DATABASE statement at the top of each module was > manditory? Only if you want to compile against databases. Using 4gl is a dead easy way to get simple menu based program front-end. > > > I compile it with command: c4gl -c module.4gl > > > > Environment: HP-UX 11, I 4GL 7.20, IDS 7.23 > > > > Daniel > > Art S. Kagel -- Paul Watson # WF Software # It said use Windows95 or better Tel ++44 1436 674729 # So I used Unix Fax ++44 1436 678693 # www.wfsoftware.com/informix #