HP Forums

Full Version: nop operation?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was curious how CAS handles parsing when spaces are put in composite operators.
I typed:
typed LHS of stack RHS of stack
a:=3 3
a+=1 increment(a) 4
a+ =1 a+nop(1) 5

What is the nop operation? I tried the help command and it isn't documented.

Thanks
-Donald
nop does nothing (means no operation)
So, nop(1) means 1?
More precisely, nop(1) evaluates to 1.
Xcas
[subst((abs(2*x-1)) = 1,'abs','nop'), subst((abs(2*x-1)) = 1,'abs','neg')]
returns
[(2*x-1) = 1, (-2*x+1) = 1]

http://www.hpmuseum.org/forum/thread-857...hlight=nop
Reference URL's