home bbs files messages ]

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,300 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Simon Clubley   
   Re: basic BASIC question   
   31 Jan 25 13:35:59   
   
   From: arne@vajhoej.dk   
      
   On 1/31/2025 1:28 PM, Simon Clubley wrote:   
   > On 2025-01-31, Arne Vajhøj  wrote:   
   >> Is it common to use:   
   >>   
   >> declare integer constant TRUE = -1   
   >> declare integer constant FALSE = 0   
   >   
   > Oh goody. The "good" old days, when TRUE did not equal TRUE, are back. :-)   
      
   Some old some new.   
      
   C and VMS Basic are old.   
      
   But some newer script languages also have a   
   "flexible approach" to true/false.   
      
   $ type bool.php   
      
   $ php bool.php   
   true   
   false   
   true   
   false   
   true   
   true   
   false   
   false   
      
   Arne   
      
   --- 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