|
Post by George on May 23, 2024 8:37:55 GMT -5
Sorry guys. When I said the FIND/RFIND/CHANGE/RCHANGE/LOCATE/RLOC/RLOCFIND was a tricky area, I wasn't kidding.
The problem basically is that stuff like CHANGE XXX YYY ALL can be entered by pressing the RFIND key, which means the command entered is
RFIND CHANGE XXX YYY ALL, but it's to be treated as a CHANGE without the ALL. Some wizard at IBM invented this concept years ago, really, really logical it sure isn't.
Similarly the RCHANGE key can be used to enter a CHANGE XXX YYY ALL, and have the ALL ignored. Therefore RCHANGE has to allow and support all the CHANGE operands, which is why it is asking for 2 literals.
Frankly -- Arrrrggghh!
[UPDATE] OK, I figured out a way to handle the routing of all these 'hybrid' commands. (Don't forget this applies to SPLIT, JOIN, DELETE, NF .. as well)
Look for 24144 beta.
[/UPDATE]
|
|
|
Post by mueh on May 24, 2024 9:06:04 GMT -5
Hi George ! Installed 24144 . RCHANGE is okay now . Jo's RFIND is not solved when f.e cmd line is 'c google GOOGLE all nx" . See his thread in Problem and bugs 3'rd entry .
UU all cmd gets Untrapped error #99 popup . Same for ULINE .
Thanks
|
|
|
Post by George on May 24, 2024 15:54:19 GMT -5
MUEH: Thanks. Both UU and ULINE had ALL specified twice.
George
|
|
|
Post by ManfredU on May 27, 2024 13:22:10 GMT -5
[...] To save typing, make a SET command called UNNUM, to do the trick (1) Enter command SET (2) Add a line like this: ALIAS.UNNUM=CHANGE p'#' ' ' ALL =1 =2 (3) Close the SET edit tab. You can now clear numeric data from any given column range using UNNUM <start-col> <end-col> Closing / saving the set edit tab does not work for. SAVE gives the error message "SAVE is unnecessary, END wil commit changes", but END does nothing. Regards, Manfred
|
|
|
Post by George on May 27, 2024 13:35:10 GMT -5
Manfred: What version? I get no errors doing this. END properly saves and exits the SETEdit session? Any info is helpful.
George
|
|
|
Post by Robert on May 27, 2024 16:54:58 GMT -5
Manfred, your message says "SAVE is unnecessary". Did you actually use a SAVE command, or maybe Ctrl-S ?
The correct way to end a SET Edit is to have F3 mapped to END, and then just press F3. Remember that the SET Edit session is not actually a real "file" but is the current contents of all the SET assignments held in the configuration database. So, there are special rules for how this thing is handled. Try using F3. It should already be mapped to what you need.
R
|
|
|
Post by Jo on May 28, 2024 3:17:04 GMT -5
Manfred, I remember, I did have that problem last year ("cannot save my (SET Edit) data, END does nothing") your version should at least be 3.0.23093. Jo
|
|
|
Post by ManfredU on May 28, 2024 3:38:34 GMT -5
Thanks for trying to help. I'm lost.
My version is pretty recent: v3.0.24026.
Wenn using Ctrl-S or entering the primary command save in the (SET Edit) session, I get this "SAVE is unnecessary, END will commit changes, or use CANCEL".
Primary command END and F3 does nothing. F3 is mapped to !End. What does this ! mean?
As long as (SET edit) is open, the alias does work nicely..., but when I close the window by clicking on the X it is gone... :-( Manfred
|
|
|
Post by ManfredU on May 28, 2024 3:41:02 GMT -5
Btw. CANCEL does work! :-)
|
|
|
Post by ManfredU on May 28, 2024 3:46:59 GMT -5
Thanks for trying to help. I'm lost. My version is pretty recent: v3.0.24026. Wenn using Ctrl-S or entering the primary command save in the (SET Edit) session, I get this "SAVE is unnecessary, END will commit changes, or use CANCEL". Primary command END and F3 does nothing. F3 is mapped to !End. What does this ! mean? As long as (SET edit) is open, the alias does work nicely..., but when I close the window by clicking on the X it is gone... :-( Manfred It's the same with v3.0.24069.
|
|
|
Post by ManfredU on May 28, 2024 3:55:13 GMT -5
Trying
set ALIAS.UNNUM = "CHANGE p'#' ' ' ALL =1 =2"
results in an execution exception C0000005.
Module Back Trace: 05 PCMDSET 04 CMDASSIGN 03 POSTKEYBOARD 02 MAINDKEYPROCESS 01 MAINCDOKEYSTRING 00 REALPBMAIN
|
|
|
Post by George on May 28, 2024 11:03:01 GMT -5
Manfred: Send me your CFG file. I've tried everything you've tried both in Prod 3.0.24069 as well as the latest Beta version and everything works just fine.
George
|
|
|
Post by George on May 28, 2024 11:04:59 GMT -5
Robert: You should really stick with command names (END) rather than function keys (F3) in suggestions. Many users do not stick with the original key mapping defaults.
George
|
|
|
Post by ManfredU on May 29, 2024 0:25:46 GMT -5
Manfred: Send me your CFG file. I've tried everything you've tried both in Prod 3.0.24069 as well as the latest Beta version and everything works just fine. George Attached. Thanks, Manfred Attachments:SPFLite.CFG (167 KB)
|
|
|
Post by George on May 29, 2024 11:06:58 GMT -5
Manfred: OK, I racked it down. It has to do with handling empty SET tables, and you had never before created a SET. It will be fixed next release, meanwhile here is your CFG file back - with the new SET ALIAS.UNNUM already done. This should work OK with your current version now that the table isn't empty. ManfredSPFLite.CFG (167 KB) George
|
|