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,802 of 264,096    |
|    =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All    |
|    Re: Unsafe code blocks    |
|    19 Nov 25 20:31:03    |
      From: arne@vajhoej.dk              On 11/19/2025 8:26 PM, Arne Vajhøj wrote:       > temp := BitI2C(I);       > if temp'Valid then       > res := (Valid => True, Value => temp);       > else       > res := (Valid => False);       > end if;       > return res;              And in case someone was thinking:               temp := BitI2C(I);        res := (Valid => Temp'Valid, Value => temp);        return res;              No - that does not compile.              Arne              --- 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