Hello Steve,
Monday, August 07, 2000, 16:25:04, you wrote:
SL> sub make_date {
SL> @time = gmtime(time);
SL> my(@month) =
("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
SL> my(@dow) = ("Sun","Mon","Tue","Wed","Thu","Fri","Sat");
SL> $time[5] += 1900;
SL> my($date) = sprintf("Date: %s, %02d %s %d %02d:%02d:%02d
+0000",$dow[$time[6]],$time[3],$month[$time[4]],$time[5],$time[2],$time[1],$time[0]);
SL> return($date);
SL> }
Perl or Python? Definitely showing off.
This function may be necessary although I'm not sure if smug is the
correct word. Maybe showeoffy <g>. Don't criticise the syntax though,
it's a mish mash of Pascal and VB. I've been coding in Assembly for so
long I've forgotten what High level languages are like.
define function smugDetector(inputLevel as integer) as boolean
if inputlevel >30 then
smugDetector=true
else
smugDetector=false
end if
end
--
Jamie Dainton
Monday, August 07, 2000 16:26:33
The Bat! 1.46 Beta/3
Windows 98 4.10 2222
mailto:[EMAIL PROTECTED]?subject=sendKey
S/MIME Cryptographic Signature