Opened 10 years ago
Closed 10 years ago
#512 closed bug (not a bug)
inconsistent syntax for loading a library
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | minor | Milestone: | Release 4-0-0 |
Component: | dontKnow | Version: | 3-1-6 |
Keywords: | inconsistent syntax load library interpreter | Cc: |
Description
While in the interpreter console the following syntax is valid
LIB("ring.lib");
and also
LIB "ring.lib";
the first command ( LIB("ring.lib"); )is invalid inside a library file. and results in an error.
Note: See
TracTickets for help on using
tickets.
LIB("ring.lib"); works inside a library, but only a places where commands are allowed (i.e. everythere where also an int i=1; may be placed). Outside of procedure bodies ONLY special commands are allowed, like version="..."; and LIB "....";