: K-Meleon Forum
K-Meleon development related discussions.
[quote=JamesD] I realize the all the names are not global, but I have just got into the habit of following that standard for naming variables. [quote=http://kmeleon.sourceforge.net/wiki/MacroGuidelines] The names of all macros and global variables defined in module <modulename> must have <modulename>_ as a prefix! In your module, a macro name like "Open", for instance, isn't very specific. Another macro coder could use the same macro name in another module. Users who now install both modules would end up getting a macro redefinition error. When you call your macro <aName>_Open and the other macro coder calls his macro <anotherName>_Open, such collisions will never occur. Since the module name must be unique anyway, the module name is the appropriate prefix. (And when you see a macro <name1>_<name2> somewhere in a toolbars.cfg for instance, you know that it's defined in <name1>.kmm) [/quote] If you think the count of "Privilege" is high in this macro, you should see one of my longer macros.[/quote]
K-Meleon forum is powered by