The 'startup' message not working in IDE

Mark Wieder mwieder at ahsoftware.net
Wed Jun 8 19:20:29 EDT 2016


Monte Goulding <monte at ...> writes:

> 
> Or:
> 
> local sFIrstRun = "true"
> 
> on preOpenStack
>     if the owner of the target is me then
>         if the environment is "development" and sFIrstRun then
>              startup
>         end if
>         put false into sFIrstRun
>     end if
> end preOpenStack

1: yes, but that rather defeats the purpose of having a separate routine
for "startup", doesn't it?

2. I thought assigning values in a variable declaration was discouraged.

-- 
 Mark Wieder
 ahsoftware at gmail.com








More information about the use-livecode mailing list