Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 262,295 of 264,096    |
|    Chris Townley to All    |
|    Re: basic BASIC question    |
|    31 Jan 25 16:35:05    |
      From: news@cct-net.co.uk              On 31/01/2025 16:03, Arne Vajhøj wrote:       > On 1/31/2025 10:28 AM, Robert A. Brooks wrote:       >> On 1/31/2025 10:18, Arne Vajhøj wrote:       >>> Is it common to use:       >>>       >>> declare integer constant TRUE = -1       >>> declare integer constant FALSE = 0       >>       >> Yeah, I've seen that a lot, especially code that started on the PDP-11.       >       > In this case it is brand new code being written on VMS x86-64.       >       > But there are special circumstances. I want to write the       > same code in Pascal, Basic and Cobol. I started writing the       > Pascal version. And I used true and false.       >       > Arne       >              I often get confused which languages/variants redefine True and False. I       can find many thousands in my old codebase!              --       Chris              --- SoupGate-DOS v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca