Talk:Import

From Kolmafia
Revision as of 17:36, 28 June 2010 by imported>PhilmASTErpLus (How do main() and nested imports work?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

So here's my two questions:

  • From my experience, nested imports and repeated imports do NOT cause function or variable collisions. Is this correct for all cases?
  • The main() function from any imported script is ignored. Not sure how it works for a main-less top level script, though.

--PhilmASTErpLus 17:36, 28 June 2010 (UTC)