The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Temporary Environment Variables Between Macros
#1
The environment variable settings in the following two macro codes interfere with each other.
For example, after macro M_A is executed, macro M_B outputs the value set by M_A.
(I have to restart QM to ensure that a single macro executes correctly.)

Because I frequently use temporary environment variables, I have encountered some strange issues before, which I believe might be related to this problem.

How can this be avoided? Thanks for Any suggestions or help

Macro M_A
 
Code:
Copy      Help
SetEnvVar "Path" "hello"
GetEnvVar "Path" _s
out _s

Macro M_B
Code:
Copy      Help
GetEnvVar "Path" _s
out _s


Messages In This Thread
Temporary Environment Variables Between Macros - by Davider - 11-17-2024, 01:29 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)