Post Reply 
help programming
03-22-2014, 05:51 PM
Post: #3
RE: help programming
Have you tried putting a multiplication symbol (*) between the 4 and the A and the A and the C, and the 2 and he A?

BAF

(03-22-2014 05:43 PM)Arcturus314 Wrote:  So I wrote a program that is giving me a syntax error:

EXPORT PROG1(A,B,C)
BEGIN
LOCAL D=0;
LOCAL E=0;
(-B+SQUAREROOT(B^2-4AC))/(2A)->D;
(-B-SQUAREROOT(B^2-4AC))/(2A)->E;
MSGBOX(D,E);
END;

squareroot is replaced by the square root symbol in the code
So what is the problem?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
help programming - Arcturus314 - 03-22-2014, 05:43 PM
RE: help programming - Han - 03-22-2014, 05:49 PM
RE: help programming - Ben Fairbank - 03-22-2014 05:51 PM
RE: help programming - Arcturus314 - 03-22-2014, 05:51 PM
RE: help programming - Tim Wessman - 03-22-2014, 06:13 PM
RE: help programming - Arcturus314 - 03-22-2014, 06:25 PM



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