Done Id -> 1
Publié : ven. nov. 10, 2017 1:20 am
Hello, BP, please assign the variable Done the value of 1, with the purpose of evaluating evalb(Done) return true or for replace the "Done" output with 1, in this way it is easier to compare with 1 or true, instead of the string "Done"
Thanks
1: f(x); returns "Done"
1: f(x); returns Done
------------
2: 3+4:; returns "Done"
1: 3+4:; returns Done
evalb(ans(-1)); true
Thanks
Code : Tout sélectionner
f(x):={
...;
return Done;
}:;
1: f(x); returns Done
------------
2: 3+4:; returns "Done"
1: 3+4:; returns Done
evalb(ans(-1)); true