Methods
Methods are subroutines that are executed when called. On completion, the program returns to the code original, and continues exection from there. Luna knows two different methods:
- Procedure-endProc
(Localized Method and optional parameters) - Function-endFunc
(Localized Method with optional parameters and return value)
Properties
Methods have the property .Addr to get their address in RAM or Flash. MyMethod().Addr returns the Word-Adresse.