EasyManua.ls Logo

Texas Instruments Voyage 200 - Calling a Separate Program; Calling an Internal Subroutine

Texas Instruments Voyage 200
1008 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming 591
Calling a Separate Program
Calling a Separate ProgramCalling 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.
Calling an Internal Subroutine
Calling an Internal SubroutineCalling an Internal Subroutine
Calling an Internal Subroutine
To define an internal subroutine, use the
Define command with Prgm...EndPrgm.
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.
:subtest1()
:Prgm
:For i,1,4,1
: subtest2(i,iù1000)
:EndFor
:EndPrgm
:subtest2(x,y)
:Prgm
: Disp x,y
:EndPrgm

Table of Contents

Other manuals for Texas Instruments Voyage 200

Related product manuals