Raised This Month: $ Target: $400
 0% 

error 058: duplicate argument; same argument is passed twice


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XsupamanX
Junior Member
Join Date: Sep 2004
Old 09-23-2004 , 10:31   error 058: duplicate argument; same argument is passed twice
Reply With Quote #1

Erm i got this error and cant fix it cant find the 2 the same arguments is this a bug or what?
XsupamanX is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 09-23-2004 , 11:42  
Reply With Quote #2

Give us some code
__________________
hello, i am pm
PM is offline
XsupamanX
Junior Member
Join Date: Sep 2004
Old 09-23-2004 , 14:27  
Reply With Quote #3

Ok here's where the error is

Code:
parse(datastr, XPDKget,9,XPDWget,9,XPEget,9 ,XPMGget,9 ,lvlDKget,9 ,lvlDWget,9 ,lvlEget,9 ,lvlMGget,9 ,unlDKget,9 ,
unlDWget,9 ,unlEget,9 ,MPDKget,9 ,MPDWget,9 ,MPEget,9 ,MPMGget,9 ,AGDKget,9 ,AGDWget,9 ,AGEget,9 ,
AGMGget,9 ,STRDKget,9 ,STRDWget,9 ,STREget,9 ,STRMGget,9 ,ZENget,9 ,skillDKget,9 ,skillDWget,9 ,skillEget,9,skillMGget,9 ,HPDKget,9 ,HPDWget,9 ,HPEget,9 ,HPMGget,9)
any ideas?
XsupamanX is offline
BAILOPAN
Join Date: Jan 2004
Old 09-23-2004 , 14:37  
Reply With Quote #4

That's one REALLY long line.

I suggest breaking it down and seeing if any parameters are duplicated or in fact the compiler may be flawed
__________________
egg
BAILOPAN is offline
XsupamanX
Junior Member
Join Date: Sep 2004
Old 09-23-2004 , 14:38  
Reply With Quote #5

Erm thx bail but could you explain alitle in english for a non cool talk noober like me? plz
XsupamanX is offline
XsupamanX
Junior Member
Join Date: Sep 2004
Old 09-23-2004 , 14:54  
Reply With Quote #6

brake it up hmmm like make 2 pieces but how then ill read them both?
XsupamanX is offline
BAILOPAN
Join Date: Jan 2004
Old 09-23-2004 , 14:54  
Reply With Quote #7

That line of code is awfully long, it could be the compiler just can't process it

Otherwise, make sure every parameter you put into parse() is different. I.e, make sure nothing like this happens:
parse(a1, a2, a3, a4, a5, a6, a7, a5)

Note "a5" happens twice
__________________
egg
BAILOPAN is offline
XsupamanX
Junior Member
Join Date: Sep 2004
Old 09-23-2004 , 14:56  
Reply With Quote #8

yep i understood that i read it like 9999times and it doesnt have 2 resemblense so its too long to process is there a solution to brake it up to a smaller line and then read it?
XsupamanX 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 17:28.


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