Anonymous user
Module writing hints: Difference between revisions
Jump to navigation
Jump to search
m
cat
*>SSH m (cat) |
*>SSH m (cat) |
||
Line 57: | Line 57: | ||
Beware of exporting any names from a module that are likely to be used as local variables in loops, whatever. This is why the [[Module programming guidelines]] suggest prefixing them all with the module name, or using a struct, so that all exported identifiers are struct sub-members. | Beware of exporting any names from a module that are likely to be used as local variables in loops, whatever. This is why the [[Module programming guidelines]] suggest prefixing them all with the module name, or using a struct, so that all exported identifiers are struct sub-members. | ||
[[Category:Scripting]] | [[Category:Scripting]][[Category:Advanced Tutorials]] |