[Cuis-dev] TheCuisBook > Daily Workflow example code issues
Alexandre Rousseau
yalexr at gmail.com
Sun Mar 19 09:06:53 PDT 2023
Oh... looking at your env setup code, I see there is a nuance.
WorldMorph doOneCycleNow needs to also be called after any changing of the
display size if later code needs to use its (new) extent. Which of course
makes perfect sense, in retrospect. :)
On Sun, Mar 19, 2023 at 11:54 AM Alexandre Rousseau <yalexr at gmail.com>
wrote:
> It works. Thanks !
>
> The one key difference (for me, taken from your code) was by sending "self
> runningWorld doOneCycleNow." before the window deletion block.
>
>
> On Sun, Mar 19, 2023 at 11:39 AM Hilaire Fernandes <hfern at free.fr> wrote:
>
>> It is likely the Preferences error was causing a compilation error, so
>> the script can't be executed.
>>
>> Check out the attached scripts because it works for me.
>>
>> --
>> GNU Dr. Geohttp://drgeo.euhttp://blog.drgeo.eu
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230319/96b7f9f5/attachment.htm>
More information about the Cuis-dev
mailing list