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

6 lines
261 B
Plaintext

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