View Single Post
bloodypizza
BANNED
Join Date: Nov 2005
Location: Slöinge,FALKENBG,SWE
Old 09-15-2006 , 12:31   Re: PLZ help a stupid newbie! (COMPILING ERROR)
Reply With Quote #6

Quote:
Originally Posted by Silencer123 View Post
Code:
</p><p>for (new i = 0; i < argp[3]*2; i++)</p><p>


Note that 3 is max length. if u use 4 it will not work, although
you did new argp[4], not new argp[3]. The Reason is weird.
Just acceppt that ^^ if u want length to be 4, do
new argp[5]
and in for-loop use use [4]
argp is probably a number. u should not use argp, do:
new num_argp=str_to_num(argp)
after read_argv-ing it and replace argp with num_argp after there

Thx works fine!
(+karma)
bloodypizza is offline
Send a message via MSN to bloodypizza