Hi
I am trying to write a simple utility macro that receives a character, and returns the resulting ASCII value as a two character string with a leading zero added if necessary.
I know that I shall kick myself when I hear the answer, (I'm still new with Flowcode!) but how do I implement the return value in a Flowcode macro please (the equivalent of the 'return' keyword) I have tried return =, Return = and RETURN = .resultString to no avail. Also when I select a return type, it does not 'stick', i.e., when I set Return type to string, close and re-open the Edit Macro Details dialogue, the return type field is blank. I know that I could use a global variable, I'm trying to make it easier to re-use the code in the future though.
The help topic for setting up a new macro, and its video, seems unhelpful (I'm probably looking in the wrong place) and I also cannot locate a list of reserved words that might give a clue.
Regards
Jim
Returning a result from a macro
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: Returning a result from a macro
Code: Select all
.Return = .resultString
... now that looks like a bug, thanks
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Returning a result from a macro
Hi Jim,
We try to provide all our Flowcode related help here in the wiki: http://www.matrixtsl.com/wiki/index.php?title=Main_Page
Anything you can't find there then please ask and we will do our best to help with an answer.
We try to provide all our Flowcode related help here in the wiki: http://www.matrixtsl.com/wiki/index.php?title=Main_Page
Anything you can't find there then please ask and we will do our best to help with an answer.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel