You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ian Senne edited this page Feb 19, 2024
·
1 revision
Within the mcb language an import statement can be used to include aditional files into your program, mcb supports 3 kinds of imports.
JavaScript, Importing a JavaScript file will take the context exported via commonjs and will inject it into the JavaScript enviroment in the current file.
mcbt files, Importing a .mcbt will load all the macros from that file into the current file and make them usable.
libraries, Importing a library by name will load the code included in the library and add a set of macros to the current file.