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,315 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Dan Cross   
   Re: basic BASIC question   
   31 Jan 25 20:38:13   
   
   From: arne@vajhoej.dk   
      
   On 1/31/2025 5:05 PM, Dan Cross wrote:   
   > In article <679d26bd$0$713$14726298@news.sunsite.dk>,   
   > Arne Vajhøj   wrote:   
   >> But there is no consistency between languages.   
   >>   
   >> $ type dump.for   
   >> [snip]   
   >   
   > I don't know why this should be surprising?   
      
   I don't know if it is surprising, but it is inconsistent.   
      
                     Fortran       Pascal        C          Basic   
   true literal       -1             1      usually 1    usually -1   
   false literal       0             0          0            0   
   test            low bit set  low bit set   not 0        not 0   
      
   4 languages - 4 ways of doing it.   
      
   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