Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void any2StrExample(Args _args)
- {
- str myStr;
- anytype a;
- ;
- a = "Any to string";
- myStr = any2Str(a);
- Global::info(strFmt("%1 is output, from input of Any to string as a str value", myStr));
- a = NoYes::Yes;
- myStr = any2Str(a);
- Global::info(strFmt("%1 is output, from input of NoYes::Yes as an enumeration", myStr));
- }
- /****Infolog Display
- Message (09:08:46 am)
- Any to string is output, from input of Any to string as a str value
- 1 is output, from input of NoYes::Yes as an enumeration
- ****/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement