arg() crashes the emulator
|
02-20-2015, 01:43 PM
(This post was last modified: 02-20-2015 01:47 PM by salvomic.)
Post: #8
|
|||
|
|||
RE: arg() crashes the emulator
I use this code mostly for distinguish between reals, vectors and lists and it works.
It should works also with functions and expressions. In my program for Fourier Coefficient I treat 2 arguments and a third, optional. I was advised to use it so: IF argc=3 THEN f:= zip('unapply', f, argv(2)); program accepts both fourcoeff(fun, k) or fourcoeff(expr, var, k) So user can input a function or an expression and a parameter for the variable and in both case program get the correct input... I hope this could be helpful for you. *** see the thread here in the Forum (by me, Han, Tim, Snorre...) ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)