You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation for setKey (https://harbour.github.io/doc/harbour.html#setkey) it mentions a 3rd param that is a condition on when to return the codeblock. If the condition is false SetKey() returns false rather than nil and the documentation doesn't reflect this. This then leads to a few bugs in the source:
An example of it being done well is E:\harbour\contrib\gtwvg\class.prg:553 which checks isblock.
Bugs:
In src\rtl\achoice.prg:129 there's this CASE ( bAction := SetKey( nKey ) ) != NIL.
In contrib\gtwvw\tests\demo.prg:1029
There may be some things related to FUNCTION CSetKey in contrib\hbct\ctmisc.prg
In contrib\hbct\getsecrt.prg:127
In contrib\hbmisc\hbedit.prg:288 Which does it right on line 360
In contrib\hbnf\menuto.prg:239
In contrib\hbnf\popadder.prg:1301
In contrib\hbnf\sinkey.prg:42
In contrib\hbnf\sinkey.prg:117
In src\rtl\browse.prg:134
In src\rtl\dbedit.prg:224
In src\rtl\dbedit.prg:136
In src\rtl\menuto.prg:188
In src\rtl\menuto.prg:478
In src\rtl\tgetlist.prg lines 323, 938, and 1232
In src\rtl\tmenusys.prg:187
In src\rtl\wait.prg:62
The text was updated successfully, but these errors were encountered:
In the documentation for setKey (https://harbour.github.io/doc/harbour.html#setkey) it mentions a 3rd param that is a condition on when to return the codeblock. If the condition is false
SetKey()
returns false rather thannil
and the documentation doesn't reflect this. This then leads to a few bugs in the source:An example of it being done well is E:\harbour\contrib\gtwvg\class.prg:553 which checks
isblock
.Bugs:
In
src\rtl\achoice.prg:129
there's thisCASE ( bAction := SetKey( nKey ) ) != NIL
.In
contrib\gtwvw\tests\demo.prg:1029
There may be some things related to
FUNCTION CSetKey
incontrib\hbct\ctmisc.prg
In
contrib\hbct\getsecrt.prg:127
In
contrib\hbmisc\hbedit.prg:288
Which does it right on line 360In
contrib\hbnf\menuto.prg:239
In
contrib\hbnf\popadder.prg:1301
In
contrib\hbnf\sinkey.prg:42
In
contrib\hbnf\sinkey.prg:117
In
src\rtl\browse.prg:134
In
src\rtl\dbedit.prg:224
In
src\rtl\dbedit.prg:136
In
src\rtl\menuto.prg:188
In
src\rtl\menuto.prg:478
In
src\rtl\tgetlist.prg
lines 323, 938, and 1232In
src\rtl\tmenusys.prg:187
In
src\rtl\wait.prg:62
The text was updated successfully, but these errors were encountered: