Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on Jun 2, 2019 18:15:10 GMT -5
Yep the single quotes is what got me. Thanks guys. you rock.
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on Jun 3, 2019 15:34:02 GMT -5
Hi guys. I now have UNCOM working as well (as a line command). So to add more frustration to my life I want to make it a "command line" command as well. The "command line" version simply calls itself as a "line command" passing "top and bot". I thought I knew what I was doing, but apparently not: dim j, top, bot, i, k as number top = Get_Src1_Lptr bot = Get_Src2_Lptr If is_primary_Cmd Then SPF_CMD("LiNE UNCOM " +TSTR$(Get_LNUM(top)) +" " +TSTR$(Get_Lnum(bot))) Else SPF_Debug("Starting as line command") ....do line command stuff both top and bot are populated an 3 because of the location of the "C" line command when UNCOM was issued as a command line command. It never gets to "Starting as line command" Thoughts please. I've included the MACRO in its entirety as well. Ultimately I will teach it about X/NX and .Labels (and the very cool pseudo labels .n) oh yeah the also very cool + and - colors). Thanks Attachments:uncom.macro (4.87 KB)
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on Jun 4, 2019 11:01:25 GMT -5
|
|