[Android Software/Hacking General [Developers Only]] Dev Jaskirat:
Getting syntax error on line 199 col 2

which is just a " ); " closing a menu box

pls help guys i am new to aroma to pls excuse me if this is a really NOOBISH question

# ini_set("force_colorspace","rgba");
theme("ics");

calibrate("0.9718","4","1.0176","-9");

loadlang("langs/en.lang");
fontresload( "0", "ttf/DroidSans.ttf", "12" );
fontresload( "1", "ttf/DroidSans.ttf", "18" );

ini_set("rom_name", "Revolution ICS HD");
ini_set("rom_version", "build 5");
ini_set("rom_author", "Dev Jaskirat");
ini_set("rom_device", "All Xperia 2011 Devices");
ini_set("rom_date", "Jan, 26 2013");

splash(
#-- Duration 6000ms / 60 seconds
6000,

#-- <AROMA Resource Dir>/sample.png
"sample"
);

##
# MAIN MENU
#
menubox(
#-- Title
ini_get("rom_name") + " " + ini_get("rom_version"),

#-- Sub Title
"Choose one of the item:",

#-- Icon
"@welcome",

#-- Will be saved in /tmp/aroma/demo.prop
"demo.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"Install ROM",	"Flash Revolution ICS HD on your device",	"@install", #-- selected = 1
"Other options",	"Exit, reboot, etc.",	"@apps" #-- selected = 2
);

##
# MISC MENU
#
if prop("demo.prop","selected")=="2" then

#-- Show Other Demo
menubox(
#-- Title
"Canceling...",

#-- Sub Title
"Choose one of the item:",

#-- Icon
"@cancel",

#-- Will be saved in /tmp/aroma/other_demo.prop
"other_demo.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"Reboot", "Reboot device",	"@alert", #-- selected = 1
"Quit", "Go back to Recovery",	"@install" #-- selected = 2
);

#-- Reboot
if prop("other_demo.prop","selected")=="1" then
if
confirm(
#-- Title
"Reboot",
#-- Text
"Reboot device?",
#-- Icon (Optional)
"@reboot"
)=="yes"
then
reboot("now");
endif;
endif;

#-- Exit
if prop("other_demo.prop","selected")=="2" then
if
confirm(
#-- Title
"Exit",
#-- Text
"Return to Recovery?",
#-- Icon (Optional)
"@exit"
)=="yes"
then
#-- Exit - NOTE: Add dummy argument
exit("");
endif;
endif;

#-- Back To Other Demo Menu
back(
getvar("1")
);
endif;

# STEP 3 - LICENSE
#
agreebox(
#-- Title
"Terms and conditions",

#-- Subtitle / Description
"Please, read it very carefully!",

#-- Icon
"@license",

#-- Text Content ( Read from <AROMA Resource Dir>/license.txt )
resread("license.txt"),

#-- Checkbox Text
"I agree these terms and conditions...",

#-- Unchecked Alert Message
"You won't be able to go further unless you accept the agreement."
);
# STEP 2 - SHOW ROM INFORMATION
#
viewbox(
#-- Title
"Revolutoion ICS HD Info",

#-- Text
"You are about to install <b>"+
#-- Get Config Value
ini_get("rom_name")+
"</b> for <b>"+ini_get("rom_device")+"</b>.\n\n"+

" Version\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
" Codename\t: <b><#selectbg_g>SONIC</#></b>\n"+
" Updated\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+

"Yai! Let's go to the next step!",
# STEP 4 - CHANGELOG
#
textbox(
#-- Title
"Revolution ICS HD Official Changelog",

#-- Subtitle
"Revolution ICS HD Changelog:",

#-- Icon
"@update",

#-- Arg 4
resread("changelog.txt")
);
#-- Icon
"@welcome"
);

menubox(
#-- Title
"Choose model:",

#-- Sub Title
"Choose your device:",

#-- Icon
"@personalize",

#-- Will be saved in /tmp/aroma/type.prop
"type.prop",

#-------------------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------------------+-----------------------------------------------------------+---------------#

"Sony Xperia Arc S",	"LT18i",	"@device", #-- selected = 1
"Sony Xperia Arc",	"LT15i",	"@device", #-- selected = 2
"Sony Xperia Pro",	"MK16i",	"@device", #-- selected = 3
"Sony Xperia Neo",	"MT15i",	"@device", #-- selected = 4
"Sony Xperia Neo V",	"MT11i",	"@device", #-- selected = 5
"Sony Xperia Neo L",	"MT25i",	"@device",	#-- selected = 6
"Sony Xperia Ray",	"ST18i",	"@device", #-- selected = 7

[COLOR="Red"]);[/COLOR]

selectbox(
#-- Title
"Basic Apps and Customization",

#-- Sub Title
"Choose stuff you want to have in ROM",

#-- Icon
"@choose",

#-- Will be saved in /tmp/aroma/patch.prop
"patch2.prop",
#-----------------------+-----------------[ Selectbox ]---------------------------+---------------#
# TITLE | SUBTITLE | Initial Value #
#-----------------------+---------------------------------------------------------+---------------#

"System applications",	"",	2,	#-- Group 1. key = "selected.1"
"Xperia GO",	"Xperia GO apps",	0,	#-- selected.1 = 1
"Xperia T",	"Xperia T apps",	0,	#-- selected.1 = 2
"Launcher",	"",	2,	#-- Group 2. key = "selected.2"
"Xperia T Jelly Bean",	"Xperia T Jelly Bean Launcher",	0,	#-- selected.2 = 1
"Atom launcher",	"Super Fast launcher",	0,	#-- selected.2 = 2
"Xperia T Advance",	"Xperia T launcher + Advanced Settings and themes",	0,	#-- selected.2 = 3
"Apex",	"AOSP style Launcher",	0,	#-- selected.2 = 4
"Kernel Optimization",	"",	2,	#-- Group 3. key = "selected.3"
"Performance",	"Optimize rom for Performance Kernel",	0,	#-- selected.3 = 1
"Battery/Stock",	"Optimize rom for Battery/Stock Kernel",	0,	#-- selected.3 = 2
"Sound Engine",	"",	2,	#-- Group 4. key = "selected.4"
"Walkman V7.5 by ThillinaC",	"Modded Walkman by ThillinaC",	0, #-- selected.4 = 1
"Play music with Acid MOD",	"Play Music+Acid MOD 3.0 Bass Edition",	0, #-- selected.4 = 2
"Bootanimation",	"",	2,	#-- Group 5. key = "selected.5"
"Revolution ICS HD",	"Revolution ICS HD bootanimation",	0, #-- selected.5 = 1
"Xperia T Green",	"Xperia T bootanimation",	0 #-- selected.5 = 2

#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);

checkbox(
#-- Title
"Mods",

#-- Sub Title
"Choose mods you want to have in ROM",

#-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png
"@choose",

#-- Will be saved in /tmp/aroma/customize.prop
"patch.prop",

#-----------------------------------------------------[ Checkbox Without Group ]----------------------------------------------#
# TITLE | SUBTITLE | Initial Value #
#-----------------------+-------------------------------------------------------------------------------------+---------------#

"Mods",	"",	2,	#-- Group 1. key = "item.1.x"
"Timescape",	"Sony's Timescape"	0,	#-- item.1.1
"Facebook Inside Xperia",	"Xperia Facebook Integration",	0,	#-- item.1.2
"Advanced options",	"",	2,	#-- Group 3. key = "item.3.x"
"Factory Reset/Wipe Data",	"Wipes /data directory, restores default settings",	0,	#-- item.3.1
"Wipe cache",	"Wipes cache partition to refresh your device",	0,	#-- item.3.2
"Battery stats wipe",	"Wipes battery stats to improve battery life",	0,	#-- item.3.3
"Wipe dalvik",	"Wipes dalvik cache",	0	#-- item.3.4

);

##
#
# Next Screen is Installation UI
#
ini_set("text_next", "Install");

##
# READY TO INSTALL
#
viewbox(
#-- Title
"Ready for install",

#-- Text
"All were prepared for install.\n\n"+
"Press <b>Install</b> for begining.\n\n"+
"If you want to change, press <b>Back</b>\n\n"+
"Press Menu -> Leave installation, to exit.",

#-- Icon
"@install"
);

ini_set("text_next", "Next");

##
# INSTALLATION PROCESS
#
setvar("retstatus",
install(
#-- Title
"Installation",

#-- Installation Process message
"Installing <b>"+ini_get("rom_name")+"</b>.\n\n"+
"",

#-- Installation Icon
"@install",

#-- Installation Finish Message
"<b>"+ini_get("rom_name")+"</b> has been successfully installed. Press finish to exit the installation."
)
);

ini_set("text_next", "Finish");

##
# FINISH
#
# You can use return value or "reboot_it" variable to retrive checkbox value
# Example:
# if (checkviewbox(....)=="1" then
# ... checked ...
# endif;
#
checkviewbox(
#-- Title
"Done",

#-- Text
"<b>"+ini_get("rom_name")+"</b> has been succesfully installed.\n\n",

#-- Icon
"@welcome",

#-- Checkbox Text
"Reboot Revolutionized Xperia!",

#-- Initial Checkbox value ( 0=unchecked, 1=checked ) - (Optional, default:0)
"1",

#-- Save checked value in variable "reboot_it" (Optional)
"reboot_it"
);

if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;