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,429 of 264,096   
   Lawrence =?iso-8859-13?q?D=FFOlivei to Andreas Eder   
   Re: BASIC (was Re: extending MySQL on VM   
   27 Sep 25 20:54:19   
   
   From: ldo@nz.invalid   
      
   On Sat, 27 Sep 2025 20:12:37 +0200, Andreas Eder wrote:   
      
   > On Mo 25 Aug 2025 at 02:34, Lawrence D’Oliveiro  wrote:   
   >   
   >> 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.   
      
   But none of those languages have infix operators.   
      
   Remember, this is purely a syntactic thing handled in the Python   
   compiler: when you implement the underlying “__le__” and other methods   
    for   
   your type, you only define them as taking two operands, and Python   
   does the rest.   
      
   --- 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