Post Reply 
= to ==, why? [SOLVED]
12-09-2016, 10:15 PM (This post was last modified: 12-09-2016 10:16 PM by compsystems.)
Post: #3
RE: = to ==, why?
Han Wrote:... You also declared equ from the non-CAS side when you really wanted equ to be a CAS variable.
I also think that the problem may be in the global variable, but some statements work fine, it fails when it reaches SQRT.

It is possible to define global variables symbolic, as it does, matLab?

[Image: maLab_CAS_image01.png]

Quote:rather than passing things back and forth between your main CAS program and non-CAS subroutines?
A principle of programming is to split an algorithm into sub-functions, my code should work

Quote:Why not just (within the CAS program) do
eq1:= a*x^2+b*x+c = 0;
eq1:= eq1*4*a;
print(eq1)

The first version of my code is in, it works fine.
http://www.hpmuseum.org/forum/thread-7318.html
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
= to ==, why? [SOLVED] - compsystems - 12-09-2016, 05:53 PM
RE: = to ==, why? - Han - 12-09-2016, 07:58 PM
RE: = to ==, why? - compsystems - 12-09-2016 10:15 PM
RE: = to ==, why? - Han - 12-10-2016, 05:46 AM
RE: = to ==, why? - compsystems - 12-10-2016, 07:07 PM
RE: = to ==, why? - Han - 12-10-2016, 09:39 PM
RE: = to ==, why? - compsystems - 12-11-2016, 03:08 PM



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