Blitz (174/176)

From:Andrew Bruno
Date:2 Aug 2001 at 10:25:43
Subject:How do I:

Hi,

I am starting to delv into coding and with help have this bit of code.

I can see how "functions" are grouped together at the start and are not
invoked until called in the main routine.

However, I am confused at how to define one.

I am 99% sure that I am getting my priorities and terms wrong here but here
goes.

My piece of code doesn't really do much appart from print, so I guess it
could be left in the main piece of the code, but for the sake of the
excercise, how is it done?

.printtime
????????? <---- What goes here?

h = Hours
m = Mins
s = Secs

Print "Logging data at time ",h, ":", m, ":", s
Print " with time interval of ",tdelay.l," Seconds"

End ??????? <----- and here?

I just want this piece of code in the list.

During the discussion time was mentioned and I wanted to get the current
time from the machine.

The systemdate command was mentioned but WHERE do I find the listing of it
to even think about using it.

I have the ORIGINAL blitz2 books and the CD somewhere but I find it
pointless looking there as I don't understand the way they explain the
commands. Or have I got it wrong?

(I am not having a go at you Budda - incase you are reading this)

Anyway, I sorted that part out and am happy with what I did, I just thought
I would keep up the way the program was written and put in a "function" to
pring the time.

Cya!



I'm having an erotic fantasy about @FN@!

Andrew Bruno
abruno@zeta.org.au

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie