Post by Stefan on Mar 2, 2022 15:28:47 GMT -5
Whilst editing my MACRO.AUTO file I issued FIND get PREFIX
Although there were many entries like
AUTOCASE 14 Get_Arg_Count
the only entry it found was
the only entry it found was
AUTOCASE 13 SQLite_GetRow
My mistake was assuming that '_' (underscore) would be a 'WORD' character.
I found the Setting the WORD characters section in Word and Delimiter Characters
I think this sections needs review / rewording.
For instance, the statement
Enter OPTIONS as a Primary command.
On the General Tab, you will see a setting labeled as "Include international characters for Word/Alphabetic pictures?"
Select this if you wish the normal ANSI international word characters to be automatically added to your WORD string.
Click DONE when you have made your selection.
I guess it used to be under OPTIONS GENERAL, but got moved to file profile for better flexibility.
Doc Error
The HELP document lists a macro function Get_WORDCHAR$, but this doesn't seem to be implemented.
Given that the WORD-chars have moved from OPTION GENERAL to the profile, and there is a GET_PROFILE$(WORD) function, I guess Get_WordChar$ just needs removing.
The HELP document lists a macro function Get_WORDCHAR$, but this doesn't seem to be implemented.
Given that the WORD-chars have moved from OPTION GENERAL to the profile, and there is a GET_PROFILE$(WORD) function, I guess Get_WordChar$ just needs removing.
Code Error
Wondering how to change the WORD default, I eventually arrived at the =WORDS> line in the file profile.
That line behaves oddly depending on what you do.
If you just enter the PROFILE command and add character(s) to the WORD line, all is well.
But I wanted to see what the default is, so pressed ESC (ERASE-EOF) followed by <ENTER>.
The <ENTER> key restores the default list, but I could not modify the line without the existing entries disappearing.
Might be worth a look at the code for this use case.