The Export Keyword.

Started by Calin Leafshade, Wed 19/01/2011 15:09:54

Previous topic - Next topic

Calin Leafshade

Is there any rationale for using the export keyword now that the global variables pane has been introduced? Either technical or organisational


Khris

If I'm not mistaken you still need export to create global pointers and arrays.

Denzil Quixode

You also need it for script modules that you'd like to be able to easily export and import as self-contained files.

RickJ

Most programmers prefer to everything in the source files rater than in some squirrelly dialog box / unreadable binary file thingy.   Just saying...

Gilbert

In addition, if you want some variables to be shared only among a certain number of rooms you can import these variables in these rooms' scripts, instead of the header. This keeps things organised and would purposely make other rooms not able to access these variables. This of course, is not important to most users and they probably find it easier to use the dialog boxes.

Calin Leafshade

thanks for the input guys. Very helpful.

SMF spam blocked by CleanTalk