Run Initialization Procedure When File is Loaded?

Is there a method that can be used to run an initialization procedure when a Snap! file is first loaded?

Children occasionally find one, but we squish them when we discover them. Too dangerous.

We're considering inventing such a thing for official libraries.

First time ever loaded? So cookie ("Database" library) can be stored/checked.
Or first run after loaded? The transient variable will be "" after load. Initialization procedure can set the value to prevent reentry.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.