User Defined Globals problem

hunterrravyn

TH.net Regular
Reaction score
19
Well basically i cant check my Vjass because of this..../cant even compile map -.-(the code part)

this is giving me a syntax error in Jass helper

Code:
//***************************************************************************
//*
//*  Global Variables
//*
//***************************************************************************


[B]function InitGlobals takes nothing returns nothing[/B] //Syntax Error
endfunction

Happens in Phase 2(Structs)

I have JassNewgen 1.5d
for any other info just ask

... Fixed - Somehow???
 

Troll-Brain

You can change this now in User CP.
Reaction score
85
Hmm, luckily i've got the same error today when i saved a map, it was because i had forgotten an "endfunction" to a library initializer, so check for missing "endfunction".
 

Frozenhelfir

set Gwypaas = Guhveepaws
Reaction score
56
You should post all of your code. Compilers aren't perfect when it comes to telling you what the error is. Visual Studio once told me I was missing 3 ;'s in the same line when the real problem was a missing } somewhere else. Use the JASS tags. A format like this would be optimal:

JASS:
blarg //this is the line with the error


JASS:
fdsa
fdsafd
safdsa
fdsa
fasdf
dsaf
asdfdsa
fadsf
sdafasdfdsf
//this is the whole trigger
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top