1. eucode test`ls -l 1

--timeing for output in batch files translated w/eu4 
include datetime.e as dt 
datetime dtnow = dt:now() 
printf(1,"%s ",{dt:format(dtnow, "%m/%d/%Y %H:%M:%S%P")}) 
 
<eucode> 
07/02/2008 01:36:11am 
 
that concludes this test. 
 
post/preview?
new topic     » topic index » view message » categorize

2. Re: eucode test`ls -l 1

ne1 said...
--timeing for output in batch files translated w/eu4 
include datetime.e as dt 
datetime dtnow = dt:now() 
printf(1,"%s ",{dt:format(dtnow, "%m/%d/%Y %H:%M:%S%P")}) 
 

07/02/2008 01:36:11am

forgot to close the eucode? <eucode language=euphoria version=4> timeing for output in batch files translated w/eu4 include datetime.e as dt datetime dtnow = dt:now() printf(1,"%s ",{dt:format(dtnow, "%m/%d/%Y %H:%M:%S%P")})

</eucode> np either way. nice piece of work!

new topic     » goto parent     » topic index » view message » categorize

3. Re: eucode test`ls -l `

ne1 said...
--timeing for output in batch files translated w/eu4 
include datetime.e as dt 
datetime dtnow = dt:now() 
printf(1,"%s ",{dt:format(dtnow, "%m/%d/%Y %H:%M:%S%P")}) 
 

07/02/2008 01:36:11am

strange, the quoted code w.no valid closing &lt;/eucode&gt; works but in the body it doesnt? this really concludes the test.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu