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.
Many thanks
Hello Samuel,
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.
Hello David,
I feel bad to make you work a Saturday evening. So, I do thank you a lot for the information you kindly provided.
Hello Samuel,
No problem at all! I am happy to help. May I can prepare some little sample about the "Return" action... give me some minutes Samuel...
Hello Samuel,
Here is a very little sample, but may we can take an idea about:
ReturnFunction.zip
+10101010 - Thanks a lot for your example, David :)
Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.