Difference between revisions of "Z80:Directives:ENDMODULE"
From Learn @ Cemetech
Jump to navigationJump to search (Initial automated import) |
(No difference)
|
Latest revision as of 17:17, 5 February 2016
Ends a .module.
Contents
Syntax
Endmodule must directly follow a .module.
.module People Count = 1 .module Ben Age = 21 .endmodule .endmodule .echoline "There is ", People.Count, " person." .echoline "Ben is ", People.Ben.Age, " years old."
Allowed inputs
Uses
It is used much like a "struct" in C, or a "class" in Java. It helps organize variables/constants into clearly defined groups.
See Also