error in test contion

Richard Gaskin ambassador at fourthworld.com
Sat Nov 2 14:07:33 EDT 2013


Dr. Hawkins wrote:

> And it continues:
>
>  put (the prgVrsn of stack "mcp") <> progVersion into t1
>  if t1 then
>
> yields
>
>          executing at 10:46:29 AM
> Type    if-then: error in statement
> Object    mcp
> Line    if t1 then
> Hint    openMcp
>
>
> t1 should have been true on this run.

This should work:

put ( (the prgVrsn of stack "mcp") <> progVersion) into t1

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list