comp.lang.ada
 help / color / mirror / Atom feed
* function Clock return Time; Time is a number, a string...?
@ 2007-11-06 22:32 j.khaldi
  2007-11-06 23:21 ` anon
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: j.khaldi @ 2007-11-06 22:32 UTC (permalink / raw)


In "package Ada.Calendar"..
function Clock return Time; // what is the type of Time here?
A string? A number? Something else?
"Time" has been declarated "private", this means it is untyped yet;
In other words, if I had to call the the function Year with the
argument Date, how should I do:
Date := The_Date; // for example: 11 dicember 2004
GetYear := Year(Date);
Thanks!

Jilani




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-07 10:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-06 22:32 function Clock return Time; Time is a number, a string...? j.khaldi
2007-11-06 23:21 ` anon
2007-11-07  0:15 ` Jeffrey Creem
2007-11-07 10:49 ` Georg Bauhaus
2007-11-07 10:56   ` Georg Bauhaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox