RosettaCodeData/Task/Scope-modifiers/Phix/scope-modifiers-2.phix

6 lines
261 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
include somefile.e as xxx
-- alternatively, within somefile.e:
namespace xxx -- (only supported in Phix for compatibility with OpenEuphoria)
res = xxx:globalf() -- call a global function named globalf, specifically the one declared in somefile.e