Hello David and the others, This message is not urgent at all because I have no need for the moment. Could you please provide a "quick and dirty" example (or point me to an existing example) that shows how to use that action ?
I read that it is used in the app functions App Builder script to provide a JavaScript result when needed. But I can't understand how the return is done. In fact, if I am not wrong, App Builder's functions don't work as NB ones where the return variable can be set (or I have missed that and always use the same [returning] variable, clearing it at the start of the called function.
The Return action can be used in at least two cases: when we want to return or "exit" the function's block (just because certain condition is true or something like that), and, also to provide a function's return value.
Since we can mix pure Javascript and App Builder code, sometimes we may need that an app's function return something, just like Javascript functions can does. However, commonly we no need to use the Return action, in the sense than App Builder plays with the "variable result" concept. That is, App Builder action's and also functions can set certain specified variable to be used to place the action or function result.
If you have any further question or doubt, please, don't hesitate to post it Samuel.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses cookies only to store your preferences.