Question Michael Akselrod · Nov 3 $ESTACK does not contain method/routine executed as "If Method..." or "set var = Method..." Only method/routine executed as "do Method..." is included into $ESTACK.How can I modify a method or routine that returns a value so it can be included in $ESTACK?Example upon executing via Studio Debug ($ESTACK is converted to string with ">" delimiter): Expected: stackstr = %Debugger.System.DebugStub > LogGenerate > Entry > DirChain > Attributes > LogNew > LogSize > LogFormat > LogWrite Processes DirChain, LogNew, LogSize, LogFormat are executed as "If Method..." #Code Snippet #InterSystems IRIS 0 1 0 40
Question Michael Akselrod · Oct 29 Failure to compile *.inc with simple "If" statement Environment: Targeted *.inc file (with hundreds of defined macros) is in use throughout the application and included into every class declaration. Statement "set a = $$$TestIf(3)" is included into a classmethod with no other code in. Expected output 5Same macro options in *.inc: #define TestIf(%arr) if %arr>0 QUIT 5 #define TestIf(%arr) if (%arr>0) {QUIT 5}Issue: failure to compile class with the same error on all tried definition options as: #Code Snippet #InterSystems IRIS 0 13 0 124
Question Michael Akselrod · Oct 28 *.inc file For loop How to define a For loop in *.inc file? #Key Question #InterSystems IRIS 0 32 0 212