Description


To avoid collisions between entry names after including a proc library into a component, need a name-space to call them. Like in python language, it could be nice to have a #import directive instead of a #include. So, an entry could be compiled with LibraryName:EntryName and then could be invoke with call LibraryName:EntryName(Args) like global Proc.

Use Case


instead of calling directly entries like: call myEntry(arg1,arg2) or: if (myFunc(arg) <0) return -1 call entry otherwise by: call myLib:myEntry(arg1,arg2) or if (myLib:myFunc(arg) <0) return -1

Importance


Low, we always should prefix entry names with library name.

Type


Scripting/Coding

Operating System


Not Applicable

Status


Closed

One thought on “Name-spaces for Proc Library”

Leave a Reply