rmse17 Posted March 8, 2010 Share Posted March 8, 2010 (edited) I want to output a line that would list the date, time, and some other info for a log file. I tried the folloing FileWriteLine($ofile, "@MON-@MDAY-@YEAR @HOUR:@MIN:@SEC other stuff") But that just printed out exactly that line without substituting numbers for the tokens. so I tried this FileWriteLine($ofile, @MON+"-"+@MDAY+"-"+@YEAR+" "+@HOUR+":"+@MIN+":"+@SEC+" other stuff") But that cause an output of a single int I tried looking in help file and the faq, but didnt see anything either. Thanks! RMSe17 Edited March 8, 2010 by rmse17 Link to comment Share on other sites More sharing options...
rmse17 Posted March 8, 2010 Author Share Posted March 8, 2010 Never mind, I searched for concatenate and found & Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 8, 2010 Share Posted March 8, 2010 Might want to have a look at _FileWriteLog Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now