Cant find Missing barcket
#1

Hello guys so i was scripting and i deleted something and i think i deleted a missing barcket now i have 13 errors and i cant seem to find the missing barcket can you guys help me find it i will +REP
here is my script please find it
http://pastebin.com/mLJu10uH
Reply
#2

LIne 1880 is an extra bracket
Reply
#3

If you removed the certain pragma, and indented your code you'd find the error
Reply
#4

what do you mean so if i remove the pragma it will show me where the missing barcket needs to be planted
[EDIT]Line 1880 in the extra barcket got removed but that dosent seem to fix the error
Reply
#5

http://pastebin.com/TLD0fQQv

Compile that, if you get errors, let us know what they are.

As for pragma tabsize 0. It basically tells the compiler that its ok to have 0 spaces (no indentation). Thus harder to spot wrongly placed closing braces.
Reply
#6

still have the errors

Code:
freeroam.pwn(506) : warning 219: local variable "pname" shadows a variable at a preceding level
freeroam.pwn(529) : warning 219: local variable "pname" shadows a variable at a preceding level
freeroam.pwn(1127) : error 035: argument type mismatch (argument 1)
freeroam.pwn(1127) : error 035: argument type mismatch (argument 1)
freeroam.pwn(1128) : error 035: argument type mismatch (argument 3)
freeroam.pwn(1129) : error 035: argument type mismatch (argument 1)
freeroam.pwn(1129) : error 035: argument type mismatch (argument 1)
freeroam.pwn(1130) : error 035: argument type mismatch (argument 2)
freeroam.pwn(1123) : warning 203: symbol is never used: "string"
freeroam.pwn(1146) : error 017: undefined symbol "pname"
freeroam.pwn(1211) : error 017: undefined symbol "PINK"
freeroam.pwn(1232) : error 017: undefined symbol "pname"
freeroam.pwn(1881) : error 014: invalid statement; not in switch
freeroam.pwn(1881) : warning 215: expression has no effect
freeroam.pwn(1881) : error 001: expected token: ";", but found ":"
freeroam.pwn(1881) : error 029: invalid expression, assumed zero
freeroam.pwn(1881) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


13 Errors.
<<< Process finished. (Exit code 1)
================ READY ================
Reply
#7

Fixed all errors
http://pastebin.com/Z7wK6ZFg
Reply
#8

Nope its not fixed its because there is a missing baracket
Reply
#9

Find Word PINK and Replace it with COLOR_PINK.
Reply
#10

I am telling you that there is a missing baracket not a problem with undefined symbol i know my last step but i cant seem to find it

its in the enum where all the things are stored for register system

and i have found a backup ~Requesting Lock~
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)