Post Reply 
Is it possible to run apps from programs
02-02-2014, 07:15 AM
Post: #2
RE: Is it possible to run apps from programs
Mick,

Does this program what you want to achieve?

Code:
EXPORT X1,X2,Y1,Y2;
EXPORT LININT()  
BEGIN  
 LOCAL i;
 INPUT(X2,"X INTERCEPT","Xi=","ENTER THE X INTERCEPT");       
 INPUT(Y1,"Y INTERCEPT","Yi=","ENTER THE Y INTERCEPT");  

 'Y1=M*X1+C'▶E1;  
 'Y2=M*X2+C'▶E2;  
 0▶X1;
 0▶Y2;

 STARTAPP("Solve");

 FOR i := 0 TO 9 DO
  UNCHECK(i);
 END;

 CHOOSE(eq, "Choose Equation", "E1", "E2");
 
 CASE 
  IF eq == 1 THEN
   CHECK(1); 
  END;
  IF eq == 2 THEN
   CHECK(2);
  END;
 END; // END CASE

 STARTVIEW(2);      
   
END;

What the program does:
  1. This program starts the Solve app after entering the X2 and Y1 variables
  2. It uncheckes all equations in the list
  3. Now you can choose the equation to solve
  4. The program switches to the numeric view


Do you want to solve the equations seperately or both together?

Dominik
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Is it possible to run apps from programs - Dominik Holenstein - 02-02-2014 07:15 AM



User(s) browsing this thread: 1 Guest(s)