On 11/14/23 14:44:48, Willy Jensen wrote:
I have sometimes used global variables with a recursive call to simulate a macro subroutine to validate and set variables. .
I doubt that's the simplification the OP is seeking.
-----Oprindelig meddelelse----- Fra: IBM Mainframe Assembler List João Reginato Sendt: 14. november 2023 22:37 yes, it worked too, but I still can't understand why. Maybe a bug? .
I believe that unlike many macro processors, HLASM's is not merely string substitution in the lexical analyzer but is aware of the syntax of the embedding language. Less probably a bug than WAD, but you can report it and may get an explanation. But you need a more complete example than you posted here. -- gil
