Post Reply 
makes me crazy
10-01-2015, 05:50 AM
Post: #2
RE: makes me crazy
Hello,

In the CAS world, it is OK to use undefined variables names. That is after all what the cas is and does.

In the Numerical world, it is not. Everything has to be declared (like in C) and have a value.

In order to make use of both system as easy as possible, the 2 systems are made to look as similar as possible, with functions bearing the same name doing (to the extent that it make sense) the same things.

expr ("'rasp'") in cas will parse the quote(rasp) which will non evaluate the rask identifier/varaible name.

expr ("'rasp'") in NUMERICAL (Non Cas programs are Numerical) will attempt to parse rasp, find it non declared and result in an error.

Both system are VERY powerful in their own domains, created to allow a VERY easy transition from one to the other. Are able to use/communicate/interact, BUT they have some fundamental differences, which are not always evident at first sight and which can be surprising/frustrating for someone transitioning from beginner to advanced user (It is even sometimes surprising for advanced users!).

Prime would be simpler if only one of the 2 modes existed, BUT it would not be Prime, a very versatile system able to takle most use cases.

I hope that this helps and that you can complete whatever you were trying to achieve.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
makes me crazy - ji3m - 09-30-2015, 08:39 PM
RE: makes me crazy - cyrille de brébisson - 10-01-2015 05:50 AM
RE: makes me crazy - Gerald H - 10-01-2015, 07:37 AM
RE: makes me crazy - ji3m - 10-01-2015, 12:24 PM
RE: makes me crazy - Han - 10-01-2015, 01:00 PM
RE: makes me crazy - ji3m - 10-01-2015, 02:11 PM
RE: makes me crazy - Thomas_Sch - 10-01-2015, 03:05 PM
RE: makes me crazy - Han - 10-01-2015, 02:16 PM
RE: makes me crazy - ji3m - 10-01-2015, 02:26 PM
RE: makes me crazy - cyrille de brébisson - 10-02-2015, 05:35 AM



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