Iai-america XSEL-KX Manuel d'utilisateur Page 123

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 377
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 122
107
Part 4 Commands
EXSR (Execute subroutine)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1 Operand 2
Optional Optional EXSR
Subroutine
number
Prohibited CP
[Function]
Execute the subroutine specified in operand 1.
A maximum of 15 nested subroutine calls are supported.
(Note)
This command is valid only for subroutines within the same program.
[Example 1]
EXSR
1
Execute subroutine 1.
:
:
EXIT
BGSR
1
Start subroutine 1.
:
:
:
EDSR
End subroutine 1.
[Example 2]
LET
1
10
Assign 10 to variable 1.
EXSR
*1
Execute the content of variable 1 (subroutine 10).
BGSR (Start subroutine)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1 Operand 2
Prohibited Prohibited BGSR
Subroutine
number
Prohibited CP
[Function]
Declare the start of the subroutine specified in operand 1.
[Example 1]
Refer to the section on EXSR command.
(Note)
Using a GOTO command to branch out of or into a BGSR-EDSR syntax is prohibited.
Vue de la page 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 376 377

Commentaires sur ces manuels

Pas de commentaire