Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Injecting QM code
#1
Hello Gintaras:

I'm always looking for complex things he he :lol:

I would like to know if there is a way to inject QM code into string varaibles, and then execute that string
for example:

str gdicode="ellipse(hDC,10,10,300,200)"


Thank you.

Regards.
#2
Hello Gintaras

I think this is the solution, is that right?

qm.RunTextAsFunction stringtext
#3
Yes, it creates a temporary function somewhere and runs it.
#4
Thank you Gintaras Big Grin
#5
Hello Gintaras:

Does this temporary function is written to the Hard Disk?

qm.RunTextAsFunction

I ask this because my macro runs it several times during execution.

Thank you.
Regards
#6
No, items that have "Temporary" property are not saved to disk. The property added in QM 2.3.0.


Forum Jump:


Users browsing this thread: 1 Guest(s)