Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When creating 'exe' can a "mac" with a variable be used
#9
Macro mac1
Code:
Copy      Help
;/exe

#exe addfunction "func_one"
#exe addfunction "func_two"

#opt nowarnings 1

str functions=
;one
;two

str s
foreach s functions
,mac F"func_{s}"

MES m.x=500
mes "mac1[][]Click OK to end this macro and all function threads and this process." "" m

;BEGIN PROJECT
;main_function  mac1
;exe_file  $my qm$\mac1.exe
;END PROJECT
Function func_one
Code:
Copy      Help
MES m.x=100
mes "func one" "" m
Function func_two
Code:
Copy      Help
MES m.x=300
mes "func two" "" m


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)