SUB

From MCS Wiki AVR
Jump to: navigation, search

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  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language
Database error - MCS Wiki AVR

Database error

Jump to: navigation, search
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "". Database returned error "1020: Record has changed since last read in table 'avr_page' (localhost)".
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language