Top

Module

When your Z1h project has more than one file, you can refer to the code content of other files as a module. For example, the a.z1h file is as follows:

aName = " NAME1 " 

b.z1h file content following

Import" a "// references a file as a module 
print (" get the contents of a file: ", a.aName) 

then use the command line to call the b file

$ z1h -run b.z1h 
"Get the contents of file a: name 1"