SUB
From MCS Wiki AVR
Contents |
Action
Defines a Sub procedure.
Syntax
SUB Name[(var1 , … )]
Remarks
Name |
Name of the sub procedure, can be any non-reserved word. |
var1 |
The name of the parameter. |
You must end each subroutine with the END SUB statement.
You can copy the DECLARE SUB line and remove the DECLARE statement. This ensures that you have the right parameters.
See Also
FUNCTION , CALL , CONFIG SUBMODE
See the DECLARE SUB topic for more details.
Languages | English • Deutsch |
---|