script scope variables inexplicably becoming unset

Jerry Jensen jhj at jhj.com
Tue Dec 30 13:46:53 EST 2014


On Dec 30, 2014, at 10:20 AM, Dr. Hawkins <dochawk at gmail.com> wrote:

>   ck "chstk: _" & chStk  & "_; " & cr & chStk is empty

Add parens to that line to force precedence (which I can never keep track of in LC or anywhere):
  ck "chstk: _" & chStk  & "_; " & cr & (chStk is empty)
Wihout the parens it will always evaluate to just false.

.Jerry





More information about the use-livecode mailing list