Post Reply 
What is wrong with my code?
01-24-2021, 03:31 AM
Post: #9
RE: What is wrong with my code?
(01-23-2021 01:25 AM)Spybot Wrote:  Hello!
Thank you for your answers.

Using C.Ret's code and I'm getting this as a result: √((c-a)^2+(d-b)^2)
Something happened along the way something broke the code. The little code I posted is just a tiny fraction of a 7k line program I wrote a couple of years ago, everything use to work just fine and then something happened and all my program is broken.

It was probably the result of changes to the way CAS commands are parsed. My memory is hazy, but I vaguely recall EVAL() being required to pass a variable by value. Otherwise, variables are just symbolic names if passed to a CAS command without the EVAL() command.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
What is wrong with my code? - Spybot - 01-20-2021, 09:05 PM
RE: What is wrong with my code? - rawi - 01-21-2021, 05:13 AM
RE: What is wrong with my code? - C.Ret - 01-21-2021, 08:27 PM
RE: What is wrong with my code? - Spybot - 01-23-2021, 01:25 AM
RE: What is wrong with my code? - C.Ret - 01-23-2021, 07:56 PM
RE: What is wrong with my code? - Han - 01-24-2021 03:31 AM
RE: What is wrong with my code? - Spybot - 01-24-2021, 03:40 PM



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