Quote:
|
Originally Posted by Zenith77
you formated the same variable twice in a row.
You cant assign the same variable two different paths ( unless you make it a two demension array ), so just use two variables, problem solved.
|
I think you are a bit confused, maby this will help.
Code:
format ( output[], len, const format[], ... )
Example:
Code:
new dest[21]
format(dest, 20, "Hello %s. You are %d years old", "Tom", 17)
Here you see 'dest' is the variable you
assign. Now look at my usage:
Code:
format(reports_filename, 127, "%s/reports.log", logspath)
format(requests_filename, 127, "%s/requests.log", logspath)
Look closely, but you will see that I am assigning two different variables,
reports_filename and
requests_filename.
This isnt even the problem, my question is still how is 'format' already defined. Im not even using it as a variable...