Previous | Next | Brown & Sharpe
Topic: Tutor Question!!!!!
Conf: Brown & Sharpe, Msg: 1976
From: Trond Loining (trond.loining@inteq.com)
Date: 6/23/2000 07:57 AM

I wonder if it is possible in a part program, to load another program.
Ex.
You have a program. Somewhere in this program you want to load a different program. And in the end load back again.
OR
I have 3 parts that is the same, but different size. Then I want to make a little program which ask you what program you want to run, and then loads this program.


dy ("")
dy (" Program Choice")
dy (" 1= Program 1")
dy (" 2= Program 2")
read prompt" Enter choice." (TT)
if (TT eq "1") then
jump PROGRAM"
elsif (TT eq "2") then
jump PROGRAM2
else
jump END
end_if
!
PROGRAM1:
!
LOAD PROGRAM 1
!
PROGRAM 2")
!
LOAD PROGRAM 2
!
END
!
endstat
end_program