11-09-2019, 09:35 AM
Macro Macro62
;; METHOD 1
str s1.getmacro("Macro1" 0) ;; Flag 0: get text, can also do without flag '0': str s1.getmacro("Macro1")
out s1 ;; <=== outputs contents of macro named "Macro1"
;; METHOD 2
QMITEM q
_i=qmitem("Macro1" 0 &q 8) ;; Flag 8: get text
out q.text ;; <=== outputs contents of macro named "Macro1"