Thanks for those, they're exactly what I was talking about in my related Feature Request posts.
There is one thing missing:
Code: Select all
string dataType(string variableName)
If a flow is processing variables it knows nothing about (and I have some which do that), trying to use the new map functions on non-map variables causes exceptions to be thrown. To avoid having exception-catchers all over the flow, a script should be able to test for a variable's type before processing it.
I've uploaded a flow to illustrate:
http://automagic4android.com/flow.php?i ... 39ea353c9b
P.S. I use the name "dataType" as an example. The name of the function could be anything appropriate, of course.