error at stringing
#1

if(strcmp(line[0], ' ',true) == 0) strdel(line,0,0);

error 035: argument type mismatch (argument 2)

what did i do wrong?
Reply
#2

Use double quotes, or this:
pawn Код:
if(line[0] == ' ')
Double quotes define a string, single quotes define a character constant.
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Use double quotes, or this:
pawn Код:
if(line[0] == ' ')
Double quotes define a string, single quotes define a character constant.
thanks a lot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)