I'm having a bit of a problem with compiling source for my project... I keep getting a "Compilation Failed. Could not understand command at line x" error every time I compile, around line 443. I've tried using various editors, and found the code that the compiler is having trouble with, which is a simple variable assignment.
This is the area of code (Line 443 is the blank line in the middle):
// -----------------------
// Init function
// -----------------------
`write debug
UI_WriteLog(UI_Yellow,"=== Starting Menu module")
`set up menu variables
global MENU_CurrentWindow$ `Current Menu window
global MENU_lobby_current_tab$ `Current Menu tab
global MENU_lobby_no_servers `Lobby server list variable
global MENU_icon_lock `Lock icon
global MENU_ui_mouse_wait `Mouse hourglass cursor
global MENU_Feather `Edge of screen feather image
global MENU_LoopStartup `First loop variable
global MENU_ForegroundImage `Menu foreground
global MENU_ForegroundSprite `Menu foreground sprite
global MENU_BackgroundImage `Menu background object
global MENU_BackgroundObject `Menu background object image
global MENU_music `Menu music
`set variables
MENU_LoopStartup = 1
MENU_lobby_current_tab$ = "UI_lobby_tab_game"
MENU_menu_lobby_no_servers = RES_grab(res_Image)
MENU_icon_lock = RES_grab(res_Image)
MENU_ui_mouse_wait = RES_grab(res_Image)
MENU_Feather = RES_grab(res_Image)
MENU_ForegroundImage = RES_grab(res_Image)
MENU_BackgroundImage = RES_grab(res_Image)
MENU_ForegroundSprite = RES_grab(res_Sprite)
MENU_BackgroundObject = RES_grab(res_Object)
MENU_music = RES_grab(res_Music)
It also keeps stopping on this specific command:
Anyone know a solution for this? I haven't installed any new plugins or updates, so I don't know why this is happening now.