Calling a Separate Program
Calling a Separate Program
Calling a Separate Program
Calling a Separate Program
To call a separate program, use the same syntax used to run the program from the
Home screen.
:subtest1()
:Prgm
:For i,1,4,1
:
subtest2(i,iù1000)
:EndFor
:EndPrgm
Calling an Internal Subroutine
Calling an Internal Subroutine
Calling an Internal Subroutine
Calling an Internal Subroutine
To define an internal subroutine, use the
Because a subroutine must be defined before it can be called, it is a good practice to
define subroutines at the beginning of the main program.
Programming
:subtest2(x,y)
:Prgm
:
Disp x,y
:EndPrgm
command with
Define
.
Prgm...EndPrgm
591