Talk:Ada Programming/Subprograms

no in/out
Can procedures have no in/out parameters? How is this coded? (I think it doesn't need empty parentheses in the spec. Is that right?  What about the body?). Thanks! 150.203.2.85 00:33, 22 September 2006 (UTC)(User:Samwilson; not signed in, sorry.)


 * Default is "in" and is disallowed. --Krischik T 06:05, 22 September 2006 (UTC)

make_something dostuff;


 * called by

make_something;


 * If zero parameteres are required, then no parentheses should be provided in neither parameter list of procedure definition, nor procedure call. Such a procedure must rely on side effects to do anything usable. Rursus (talk) 12:10, 9 April 2010 (UTC)