This would have been handy since it would make it much easier to develop on the desktop (where there is a debugger) and port to server. When developing on the desktop I could put all of the server-specific stuff into an openStack or openCard handler enclosed by an 'if the environment is "Server"' condition.
However, it seems that things don't work like that at all. The following script:
Code: Select all
<?lc
   on openStack
   put "Got an openStack Message" & return
   end openStack
   on openCard
   put "Got an openCard Message" & return
   end openCard
put "finished"
?>Edit - Also tried the same with the startUp message - it also doesn't do anything

