PBWin9 help file references a function
TrueFalse = ISFILE(FileName$)
Remarks
The file subsystem Is checked To determine whether the file Or directory specified by FileName$ currently exists. If it Is found In Any form (hidden, system, Read-Only, etc.), the value true (-1) Is returned. Otherwise, the value false (0) Is returned.
But using %TRUE and %FALSE constants gives back 1 = %True and 0 = %False.
So, values TRUE and FALSE have each two different definitions in PB.
Why that?
TrueFalse = ISFILE(FileName$)
Remarks
The file subsystem Is checked To determine whether the file Or directory specified by FileName$ currently exists. If it Is found In Any form (hidden, system, Read-Only, etc.), the value true (-1) Is returned. Otherwise, the value false (0) Is returned.
But using %TRUE and %FALSE constants gives back 1 = %True and 0 = %False.
So, values TRUE and FALSE have each two different definitions in PB.
Why that?
Comment