Re: TIB: Multitasking


[Prev][Next][Index][Thread]

Re: TIB: Multitasking




Hi, earlier this month (something like that) Grant told me how to execute a
certain part of another program in a "master" program.  Remember?

Anyway, i did that and it works the way he had it.  Only when i apply it to
what i want it's backwards.

Example: 

Input A,A
Input B,B
Input C,C
Input x,x
Input y,y
Input z,z

If (x+y+z)==0
then
(then this solves for another variable)->x
(then solves for another variable)->y
(then solves for another variable)->z
1->TST
TEST (this is the other program)

then the program goes on a little more

Program TEST
If TST=1
Goto ANS
If TST=2
Goto AREA
Lbl ANS
If x+y>z and x+z>y and y+z>x
then
Disp A,B,C,x,y,z
Return
End

Lbl AREA
Disp "log"  
Return

Ok, i run this and then it'll do everything great, but instead of going to
Lbl ANS because TST=1, it goes to Lbl AREA.  If i switch TST=2 then it'll
do the right thing, but i want TST to equal 1.

What's the matter?

Alex

Visit my homepage at:

http://www.fortunecity.com/skyscraper/coding/190/index.html

Or email me at:
kimo@iland.net


References: