Post Reply 
Why the right(); command returns both sides of an expression? (SOLVED!)
04-01-2015, 03:45 AM (This post was last modified: 04-13-2015 04:50 PM by Spybot.)
Post: #1
Why the right(); command returns both sides of an expression? (SOLVED!)
Hi Guys!

I have this code:

EXPORT TEST()
BEGIN
LOCAL M,BY,S,y,x;
INPUT(M,"Title","Label:");
BY:=CAS.y=M*CAS.x;
S:=CAS.right(BY);
MSGBOX(S);
END;

I'm trying to extract the right side of this expression (y=3x), using the right(); command, let's say I set M=3 ... then I expect to get: 3*x(no list format), but what I get is a list containing both sides of the equation. {y, 3*x}

Any Idea?

Spybot,

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


Messages In This Thread
Why the right(); command returns both sides of an expression? (SOLVED!) - Spybot - 04-01-2015 03:45 AM



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