z80:Directives:ENDMODULE
From Learn @ Cemetech
Jump to navigationJump to searchEnds 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