Raised This Month: $ Target: $400
 0% 

Symbol already defined?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SentryIII
Junior Member
Join Date: Oct 2004
Old 10-13-2005 , 02:02  
Reply With Quote #1

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...
SentryIII is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode