Param() Oddity
Arthur Urban
aturban at qwest.net
Thu Sep 9 21:42:10 EDT 2004
I'm trying to use the param() function, but it is behaving "badly". Here is
the meat of the issue. Consider this fragment, param(1) = 'card "CardName"
verified in variable watcher':
put fld "F" of param(1) is empty into x
The above code blows up stating that fld "F" cannot be found. However, if I
add a line as follows:
put param(1) into tCard
put fld "F" of tCard is empty into x
This works!(?) Why can't I just use param(1)? The "documentation" implies
that I've used it correctly.
~~~ Arthur
"Never interrupt your enemy while he is making a mistake."
More information about the use-livecode
mailing list