Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: if Restrict...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 5625 of 5922
Post > Topic >>

Re: if Restrict_Func /= null confusion

by Ludovic Brenta <ludovic@[EMAIL PROTECTED] > Mar 30, 2008 at 11:36 PM

ma740988@[EMAIL PROTECTED]
 writes:
> I'm not following the conditional logic 'if (Restrict_Func / =
> null)'.  Not understanding the impetus behind the check for null.

If Restrict_Func is null and you try to call the subprogram it
designates, you get a Constraint_Error (ARM 4.9(13)).  If you disable
runtime checks, your program is likely to crash.

-- 
Ludovic Brenta.
 




 4 Posts in Topic:
if Restrict_Func /= null confusion
ma740988@[EMAIL PROTECTED  2008-03-30 13:58:02 
Re: if Restrict_Func /= null confusion
"jimmaureenrogers@[E  2008-03-30 14:34:31 
Re: if Restrict_Func /= null confusion
Ludovic Brenta <ludovi  2008-03-30 23:36:02 
Re: if Restrict_Func /= null confusion
Robert A Duff <bobduff  2008-03-30 17:37:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 18:25:39 CDT 2008.