[Info-vax] basic BASIC question

Simon Clubley clubley at remove_me.eisner.decus.org-Earth.UFP
Mon Feb 3 13:41:08 EST 2025


On 2025-01-31, Dave Froble <davef at tsoft-inc.com> wrote:
> On 1/31/2025 1:28 PM, Simon Clubley wrote:
>> On 2025-01-31, Arne Vajhøj <arne at vajhoej.dk> wrote:
>>> Is it common to use:
>>>
>>> declare integer const
> ant TRUE = -1
>>> declare integer constant FALSE = 0
>>>
>>
>> Oh goody. The "good" old days, when TRUE did not equal TRUE, are back. :-)
>>
>
> Not sure what that means ...
>

In the old days, some people defined TRUE as -1, while others in the
same or related ecosystems defined TRUE as +1, hence TRUE did not
equal TRUE. It's been a long time, but I think I saw this back in the
Microsoft world back in the Windows 98/Windows 2000[1] days when calling
modules written in different languages.

Simon.

[1] BTW, I still think the Windows 2000 UI was vastly superior to the
UI stuff we are forced to use these days...

-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.


More information about the Info-vax mailing list