home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

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

   Message 117,272 of 117,927   
   Hans Bezemer to John Doe   
   Re: Why dial-a-standard is not a thing i   
   01 May 25 23:00:08   
   
   From: the.beez.speaks@gmail.com   
      
   On 01-05-2025 13:17, John Doe wrote:   
   > On 1 May 2025 at 03:23:53 CEST, "dxf"  wrote:   
   >   
   >> AFAIK on most forth systems exceptions generate either an error code or an   
   >> error message (the latter via ABORT" or caught code).  In short, what good   
   >> is having both a msg and a code?   
   >   
   > THROWs are defined to be defined by their throw number. Whether or not a   
   > message is associated with the throw number is a factor of the Forth   
   > implementation.   
   > In VFX, the return to the text interpreter looks for a message associated   
   with   
   > the throw number and displays it if found.   
   >   
   > There are three benefits of this.   
   > 1) it is less code to reuse a THROW by number rather than by text,   
   > 2) I can change the text in one place only for all uses,   
   > 3) Internationalisartion is much easier.   
      
   1. I don't like "Error 1024";   
   2. You can indeed have a category as THROW number (FP error, library error);   
   3. I'm Dutch. I took the trouble learning English, so I could   
   communicate with more than just 20 million people. You can honor my   
   efforts by also learning English, so you can *at least* understand my   
   effing error messages.   
      
   Hans Bezemer   
      
   --- 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