help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octave problem with eval statement


From: Udo Uschkerat
Subject: octave problem with eval statement
Date: Thu, 20 Apr 1995 08:09:54 +0000 (GMT)

Dear Joao Cardoso,
your problem with eval is because the statement to evaluate
must contain a semicolon too.
just try this in octave :

command1='b=3';
eval(command1);
command2='b=3;';
eval(command2);

evaluating command1 echos the '3' whereas evaluating command2 does not.
o.k.?
by
udo uschkerat         address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]