User bio
404 bio not found
Member since Oct 28
Posts:
Replies:
It works! Thank you - let me try to set "real life" code and test.
"Your" definition is NOT in *.inc file!
Upon inserting in *.inc as:
    #define MyLoop(%count)         set x="" for {i=1:1:%count set x=$order(^%SYS("JOURNAL",x),-1)} QUIT x
And setting in classmethod as:
    set x = $$$MyLoop(5)
I got the following compilation error: .png)
Certifications & Credly badges:
Michael has no Certifications & Credly badges yet.
Global Masters badges:
Michael has no Global Masters badges yet.
Followers:
Michael has no followers yet.
Following:
Michael has not followed anybody yet.
Real life" code works as well - thank you very much!
if you have time, please, look into similar issue with "IF" in *inc file https://community.intersystems.com/post/failure-compile-inc-simple-if-st...
Don't pay attention on proposed replacement $SELECT option - I really want to have "clean" IF statement in *inc file.
Thank you.