error editing a CAS program outside the program editor
|
01-25-2020, 12:36 AM
(This post was last modified: 01-25-2020 02:50 PM by compsystems.)
Post: #1
|
|||
|
|||
error editing a CAS program outside the program editor
Hello
There was an error editing a CAS program outside the program editor. Steps to reproduce the error. press the keys [shift]+[1] + Menu: [new] Name: fract1 CAS: ✔ then [ok] PHP Code: #cas if you are operating the simulator copy and paste the next code (Mandelbrot fractal) In HPConnectivity Kit program editor (2020) still does not allow to put a template for functions of type CAS ={ PHP Code: EXPORT fract1() In other words, better select all, and delete the template and start writing. // Mandelbrot fractal PHP Code: #cas fract1(320,240,10) [enter] correctly draw the fractal [esc] for exit then [shift]+[mem] CAS Vars [enter] fract1 [edit] the code is shown as PHP Code: (X_,Y_,Nmax)->BEGIN fract1(320,240,10) [enter] stays in an infinite cycle [esc] "append(res1,pixon_p(x,y,126*j+2079)) in fract1(320,240,10) instruction #15 error, try debug(fract1(320,240,10)) Error: Bad Argument Value" I think the problem is that the COPY() Xcas function is not yet incorporated into the more recent firmware when writing PHP Code: res1:=[]; it is recoded as PHP Code: res1:=copy(NULL); In HPConnectivity Kit shown as PHP Code: res1:=undef; |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)