I do:
SAC> setbb a (3 / 2)
SAC> getbb a
a = 1.5
SAC> setbb b ( integer %a)
ERROR 1021: Correct number of arguments for this inline function call is 1
integer
Why dosen't this work?
Shahar*
*
SAC> setbb a (3 / 2)
SAC> getbb a
a = 1.5
SAC> setbb b ( integer %a)
ERROR 1021: Correct number of arguments for this inline function call is 1
integer
Why dosen't this work?
Shahar*
*
-
Dear Shahar
Place a space between the a and the ), or place a % after the a.
SAC> setbb a ( 3 / 2 )
SAC> getbb a
a = 1.5
SAC> setbb b ( integer %a )
SAC> getbb b
b = 1
SAC> setbb b ( integer %a)
ERROR 1021: Correct number of arguments for this inline function call is 1
integer
SAC> getbb b
b = 1
SAC>
The parser in sac currently depends on spaces as a delimiter.
Brian
On Apr 8, 2013, at 2:49 PM, Shahar Barak wrote:
I do:
SAC> setbb a (3 / 2)
SAC> getbb a
a = 1.5
SAC> setbb b ( integer %a)
ERROR 1021: Correct number of arguments for this inline function call is 1
integer
Why dosen't this work?
Shahar
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help