To add to this, some information from our development-team:
the stack overflow is correct, as it recursively calls Call SendParameters again and again and each time a return address is placed on the internal stack.
At the end of the "subroutine" called with Call, it uses "Repeat", whereby the macro jumps back to the beginning and calls Call again. And again and again...
Instead of "Repeat", one must call "Return" at the end of his subroutine, then the stack is also reduced.
To repeat everything, "Repeat" needs to come directly after Call. A branch or another return must also be placed there, otherwise the program would run back into the code of the subroutine after the return from Call.
Best Regards
Marvin
UI with VBScript Macro or Strandard Macro
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: UI with VBScript Macro or Strandard Macro
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: UI with VBScript Macro or Strandard Macro
Hello,
It is working very well if I don't use a label.
Thank you.
Best Regards
It is working very well if I don't use a label.
Thank you.
Best Regards
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: UI with VBScript Macro or Strandard Macro
Hi,
thank you for letting us know!
- closed -
thank you for letting us know!
- closed -
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team