Shyke Posted October 7, 2005 Posted October 7, 2005 When using FileWrite how do I get it to write a word, varible then more words?I have this and it isn't working:FileWrite ("test.txt", "number $num is today's number!")I know that, that doesn't work... but why?
Developers Jos Posted October 7, 2005 Developers Posted October 7, 2005 FileWrite ("test.txt", "number " & $num & " is today's number!") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
/dev/null Posted October 7, 2005 Posted October 7, 2005 I know that, that doesn't work... but why?variable expansion within strings is not implemented.CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
Developers Jos Posted October 7, 2005 Developers Posted October 7, 2005 variable expansion within strings is not implemented.CheersKurtAre you sure ??ExpandVarStrings: Changes how literal strings and variable/macro ($ and @) symbols are interpreted. By default strings are treated literally, this option allows you to use variables and macros inside strings, e.g., "The value of var1 is $var1$".1 = expand variables (when in this mode and you want to use a literal $ or @ then double it up: "This is a single dollar $$ sign".0 = do not expand variables (default) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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