I have recently lost a few hours debugging a standalone that failed while the IDE version worked. The culprit was the "blur" command which the dictionary lists as a Library and describes as:
The problem I encountered was caused by building my standalone with the "search for inclusions" option selected. To create a successful application I have to make a manual selection : and then select the blur library from a long list of options : What confuses me is that some items are already ticked. This implies that Livecode will automatically include some "external libraries" while missing others.blur is a simple external for blurring the imageData and alphaData of an image.
To recap, it is possible to write and debug an application in the IDE that fails without any error messages when built as a standalone. Why is this? What I mean is why does the IDE allow such a build to be created? Is it unreasonable to expect the IDE to alert the user that a command that is listed in the dictionary needs a slightly obscure box ticking before a build is made? Or that the automatic search for inclusions actually works with all commands listed in the dictionary. I also think that the dictionary entries would be more helpful if they included a line such as "caution - ensure that library Blah is selected before building standalone".
So what are your opinions? Am I a lone fool who should have known better or has this design feature ever caught you out?
best wishes
Simon K.