When compiling a SilkPerformer 7.4 / 2006 script which performs a Boolean check on a OraFormsSetWindow call, the following compile error occurs: compile error SEM171: function does not have a return parameter The code itself looks like this: bCheck := OraFormsSetWindow("MAIN"); writeln (string(bCheck)); The error message is caused by a known issue which will be fixed in SilkPerformer 7.6. In the meantime, to workaround the issue you should instead check the returned value function "OraFormsFindAndSetWindow" to verify if the window is active. As this function will return the ID of the window if successful or "-1" if it is unsuccessful. For further information on the function "OraFormsFindAndSetWindow" please refer to SilkPerformer Online Help. Old KB# 17283
↧