|
Post by mueh on Jul 10, 2024 12:25:44 GMT -5
Hi George ! Installed 24192 and user macro MI not longer work with single - or + . Have macros like ' MUAD.macro /* Arithmetic Functions and SUM Syntax: MUAD ope OFS1 L1 OFS2 L2 TOOFS [C] [Cl] Example: MUAD + 10 1 20 2 0 2 (if s is NUM and TOOFS=0 SUM is set at OFS1 if s (Arg7) col is blank) I feel that enforcing syntax checking for user macros especialy the adjustement category ( needed only for LAB cmd ) is no good idea . This will make the new version completly unusable for me . ( Can't change all pre stored Macro invocations to quoted value ) . Could you remove Parser checking for Macros ? ( Parameters should be completly free ) Thanks P.S ignore the strike through occured during add of txt with special characters .
|
|
|
Post by George on Jul 10, 2024 13:42:44 GMT -5
MUEH: OK, let me go back in and see why they're being stopped. I'll also see if Macros can bypass the normal Parse (Makes sense)
George
[UPDATE]
OK, the simplest way out here was to just not Parse the Macro commands.
I'll post a new Beta tomorrow.
[/UPDATE]
|
|
|
Post by mueh on Jul 11, 2024 6:31:00 GMT -5
Hi George ! Just to make shure : Macro functions Get_Arg... should work as before . ( Only validation should not be done ) Thanks
|
|
|
Post by George on Jul 11, 2024 8:19:14 GMT -5
MUEH: I've removed Macros from the new Parse. Originally I just set the Max limits for parameter types to 999, but the introduction of the +/- adjustment types just made it all go bad. Todays 24193 will hopefully put it back.
George
|
|
|
Post by mueh on Jul 11, 2024 11:24:50 GMT -5
Hi George ! Thanks for 24193 . Macro accept now single + - . I could run macros now but got another problem which didn't occure up to 24186 . When there is more then one blank between parameters you get for each additional blank an zero length Argument . Run the cmd at end of attached macro . There are 5 parameters but now you get 9 . Thanks muga.macro (172 B)
|
|
|
Post by George on Jul 11, 2024 12:09:32 GMT -5
MUEH: OK, I can see where that can happen, I'll correct it.
George
[UPDATE] Corrected. See Beta 24193A
[/UPDATE]
|
|
|
Post by mueh on Jul 11, 2024 13:15:07 GMT -5
Hi George ! Installed 24193A but MUGA macro gets' now popups with msg Untrapped error #9(Subscrript/Pointer out of range) has occured following execution of BUILDOPS and no arguments returned . To reproduce issue cmd at end of macro . Just for fun i issued the MUAD and MUGA macro with single blanks between the parameter's in 24193 and i got correct output result . Thanks
|
|
|
Post by George on Jul 11, 2024 14:15:17 GMT -5
Gaaack! I tested it using your MUGA macro, and it was fine. I just re-tried it and it blew up.
Some days, you just want to throw in the towel.
George
[UPDATE]
Well, I just don't know. The routine that fails is a loop that somehow doesn't have an INCR for the index. How I got your macro to work properly when I tested it is a mystery. Unless somehow I deleted the INCR line before the final compile.
I've really got to get out of this. I'm my own worst enemy.
I'll post a 24193B version just in case you're still up over there.
[/UPDATE]
|
|