twenty_sleven Posted February 10, 2012 Share Posted February 10, 2012 Working on a program which is very reliant on time. So.... here's a mini-example. I basically want to be able to tell the time @ any moments notice. (to satisfy a while statement, ext). var nTime: Integer; procedure echoClock; begin getTime(nTime); WriteLn(nTime); end. Quote Link to comment Share on other sites More sharing options...
FHannes Posted February 10, 2012 Share Posted February 10, 2012 Like this? procedure EchoClock; begin WriteLn(TimeToStr(Now)); end; begin EchoClock; end. Quote Link to comment Share on other sites More sharing options...
twenty_sleven Posted February 10, 2012 Author Share Posted February 10, 2012 You the man Fredday! Quote Link to comment Share on other sites More sharing options...