rclerk @once
Brian K. White
brian at aljex.com
Thu Jul 20 12:04:48 PDT 2017
5.0.14
Is it clearly described anywhere exactly what order the various @once
@menu @update etc happen?
All these years I have been working on the assumption that I could trust
that no matter what else happens, @once absolutely always happens, and
always happens first.
I use it to initialize variables and rand("-1")
Today I discover that isn't guaranteed after all.
I have a table (someone else wrote) that runs in rclerk,
non-interactively in a cgi.
The table had both @menu and @update, and I just tried add an @once, and
discover that the @once is not being executed.
The @menu contains a "lookup -" followed by pushkey "U"
The bulk of the table is actually all IN the @update
Is it just that @menu or @update or both come before @once?
--
bkw
More information about the Filepro-list
mailing list