Printing Crashes Rev in OSX
katir at hindu.org
Thu Feb 3 21:37:48 EST 2005
On Feb 3, 2005, at 2:37 PM, Robert Brenstein wrote:
> Sounds like the above scripts do what they are supposed to do. In both
> cases, if the pWhichItem is quit, only the quit part executes.
> However, if pWhichItem is print, the former script will do the
> printing but because there is no break (meaning escape out of the
> switch clause), it continues with functions under the quit case.
> In the latter case, you do not actually need break at the very end
> unless it s followed by the default case.
That still seems illogical.. "a boolean is a boolean is a boolean"
case "Quit" must evaluate to "false"
if the menuPick parameter was "Print"
Why would it then still execute the Quit statements?
I'm probably not understanding how Switch and Case actually work..
More information about the Use-livecode