Nekit1234007 / cjass

Automatically exported from code.google.com/p/cjass
0 stars 0 forks source link

DATE and TIME bugged #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
print( "Compiled : " + DATE + " - " + TIME )

What is the expected output? What do you see instead?
Is compiled to: call print("Compiled : "+2011.08.13+" - "+15:11:53)
Shouldn't that be Strings?

What version of the product are you using? What flags are checked (i.e.
locals autoflush or removing unused code)
.34

Please provide any additional information below.

Original issue reported on code.google.com by erwgfifo...@gmail.com on 13 Aug 2011 at 1:13

GoogleCodeExporter commented 9 years ago
hah, it's not a bug, though, use 'DATE' and 'TIME'. All defines support this 
feature. look at this - 
http://www.hiveworkshop.com/forums/jass-functions-413/snippet-debug-log-199441/

Original comment by doctorge...@gmail.com on 13 Aug 2011 at 4:19

GoogleCodeExporter commented 9 years ago
print( "Compiled : " + `DATE` + " - " + `TIME` )

Original comment by adi...@gmail.com on 15 Aug 2011 at 4:25

GoogleCodeExporter commented 9 years ago
Yep, didnt find this anywhere in the manual?

Original comment by erwgfifo...@gmail.com on 15 Aug 2011 at 4:27