try this silly bit of code:
Tested on AMS 8x and on SUF 9x (probably in all IR Apps ...)
Suggestion: Application.Sleep should be "dummy proofed" or default to 0 [number] on any bad argument or type passed to it
Code:
--Application.Sleep accepts any valid lua [type], should only accept lua type [number] or fwiw: default to 0 [number] local fn=Dialog.Message("Sleep","i should not be called"); Application.Sleep(fn); --calls the function ? Application.Sleep(Dialog.Message("Sleep","i should not be called")); Application.Sleep("0"); Application.Sleep({});
Suggestion: Application.Sleep should be "dummy proofed" or default to 0 [number] on any bad argument or type passed to it
Comment