Opened 11 years ago

Closed 11 years ago

#512 closed bug (not a bug)

inconsistent syntax for loading a library

Reported by: kroeker@… 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.

Change History (1)

comment:1 Changed 11 years ago by hannes

Resolution: not a bug
Status: newclosed

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 "....";

Note: See TracTickets for help on using tickets.