If I use the same cocoaMessage multiple times inside my program will it work like a procedure or
will it compile the same code on every line where I write it?
Is it fine to store the sharedApplication and appDelegate in a global variable on program start or is there something to consider?
Question about CocoaMessage, sharedApplication, delegate
Question about CocoaMessage, sharedApplication, delegate
macOS Catalina 10.15.7
Re: Question about CocoaMessage, sharedApplication, delegate
CocoaMessage is a procedure just like any other builtin procedure.Wolfram wrote: Mon Jun 06, 2022 3:41 pm If I use the same cocoaMessage multiple times inside my program will it work like a procedure or
will it compile the same code on every line where I write it?
That should be fine.Wolfram wrote: Mon Jun 06, 2022 3:41 pm Is it fine to store the sharedApplication and appDelegate in a global variable on program start or is there something to consider?
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)