Error while compiling please help
#1

Hey well it tells me this everytime I compile server:

Код:
C:\DOCUME~1\Owner\MYDOCU~1\BBC.pwn(6953) : warning 208: function with tag result used before definition, forcing reparse
C:\DOCUME~1\Owner\MYDOCU~1\BBC.pwn(7797) : warning 208: function with tag result used before definition, forcing reparse
Here is what is on the lines:

On line 6953 it says only this:
Код:
{
Nothing else

On line 7797 it says only this:
Код:
	for(new var0 = 0; var0 <= 200; var0++)
Nothing else
Reply
#2

Post the code surrounding it. Obviously we can't tell if something is wrong when you post a single brace.
Reply
#3

Quote:
Originally Posted by samgreen
Post the code surrounding it. Obviously we can't tell if something is wrong when you post a single brace.
But that is all it says:
"{"
Reply
#4

Quote:
Originally Posted by samgreen
Post the code surrounding it. Obviously we can't tell if something is wrong when you post a single brace.
If you read pawn-lang.pdf then you know what is wrong if you get error/warning, they're explained there.

Quote:
Originally Posted by Tommy_Mandaz
Quote:
Originally Posted by samgreen
Post the code surrounding it. Obviously we can't tell if something is wrong when you post a single brace.
But that is all it says:
"{"
Why did you created 2nd topic about this?
Reply
#5

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by samgreen
Post the code surrounding it. Obviously we can't tell if something is wrong when you post a single brace.
If you read pawn-lang.pdf then you know what is wrong if you get error/warning, they're explained there.

Quote:
Originally Posted by Tommy_Mandaz
Quote:
Originally Posted by samgreen
Post the code surrounding it. Obviously we can't tell if something is wrong when you post a single brace.
But that is all it says:
"{"
Why did you created 2nd topic about this?
Because this is about scripting support and I posted in wronge place and can you please help me you havent so far.
Reply
#6

Quote:
Originally Posted by Tommy_Mandaz
Because this is about scripting support and I posted in wronge place and can you please help me you havent so far.
Oh but i did:
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by pawn-lang.pdf
Warning 208: Function with tag result used before definition, forcing reparse:
When a function is “used” (invoked) before being declared, and
that function returns a value with a tag name, the parser must
make an extra pass over the source code, because the presence
of the tag name may change the interpretation of operators (in
the presence of user-defined operators). You can speed up the
parsing/compilation process by declaring the relevant functions
before using them.
Reply
#7

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Tommy_Mandaz
Because this is about scripting support and I posted in wronge place and can you please help me you havent so far.
Oh but i did:
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by pawn-lang.pdf
Warning 208: Function with tag result used before definition, forcing reparse:
When a function is “used” (invoked) before being declared, and
that function returns a value with a tag name, the parser must
make an extra pass over the source code, because the presence
of the tag name may change the interpretation of operators (in
the presence of user-defined operators). You can speed up the
parsing/compilation process by declaring the relevant functions
before using them.
Wait and that means im sorry im a noob scripter O.O
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)