Elmomc Multi-Axis Motion Controller-Maestro Manual de usuario Pagina 92

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 313
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 91
labeled-statement
:
##identifier
5.5.4.5
Maestro
Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
Declaration Statements
Declaration statements introduce new names into the current function. Before using
global variable inside function it must be declared by keyword global.
Syntax
declaration-statement:
global type name-list
type name-list
type:
int
float
name-list:
name
name-list , name
Multiple declarations of the same name in the same function are illegal.
5.6 Functions
5.6.1 Function Definition
A function definition specifies the name of the function, the types and number of
arguments it expects to receive, and types and number of return arguments. A
function definition also includes a function body with the declarations of its local
variables, and the statements that determine what the function does.
function-definition:
function function-name ( argument-list )
function-body
end function
function [ type variable-name ] = function-name ( argument-list )
function-body
end function
function [ argument-list ] = function-name ( argument-list )
function-body
end function
argument-list:
type name
argument-list , type name
function-body:
5-30
Vista de pagina 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 312 313

Comentarios a estos manuales

Sin comentarios