Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro code in a str val?
#2
Macro Macro62
Code:
Copy      Help
;; 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"


Messages In This Thread
Macro code in a str val? - by ScottF - 11-08-2019, 06:44 PM
RE: Macro code in a str val? - by r0n - 11-09-2019, 09:35 AM
RE: Macro code in a str val? - by ScottF - 12-03-2019, 02:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)