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 263,430 of 264,096   
   Andreas Eder to ldo@nz.invalid   
   Re: BASIC (was Re: extending MySQL on VM   
   27 Sep 25 20:12:37   
   
   From: a_eder_muc@web.de   
      
   On Mo 25 Aug 2025 at 02:34, Lawrence D’Oliveiro  wrote:   
      
   > On Sat, 23 Aug 2025 23:49:14 -0000 (UTC), Lawrence D’Oliveiro wrote:   
   >   
   >> On Sat, 23 Aug 2025 19:45:19 -0400, Arne Vajhøj wrote:   
   >>   
   >>> 1) VMS Basic using = for both assignment and equal comparison,   
   >>>     while most other languages use different symbols (= and ==,   
   >>>     := and =, = and .eq., ...)   
   >>>   
   >>> But they only apply to non VMS Basic developers.   
   >>   
   >> Nearly all BASICs were like that, including I think Microsoft BASIC.   
   >   
   > One trick they missed was allowing interval comparisons like this:   
   >   
   >     if "0" <= ch <= "9" or "a" <= ch <= "f" or "A" <= ch <= "F" :   
   >   
   > I think only Python has that.   
      
   You can do rhe same in Common Lisp and various schemes.   
      
   'Andreas   
      
   --   
   ceterum censeo redmondinem esse delendam   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca