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,268 of 117,927   
   John Doe to dxf   
   Re: Why dial-a-standard is not a thing i   
   01 May 25 11:17:27   
   
   From: john.doe@myemail.invalid   
      
   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.   
      
   Stephen   
      
   --- 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