*** SHOWDEBUG

  Format:

	SHOWDEBUG

  Usage:

	This command is used to show the debug window (so you can
	track the current scripts progress). Helpfull when things
	dont seem to work right.

  Examples:

	SHOWDEBUG


*** HIDEDEBUG

  Format:

	HIDEDEBUG

  Usage:
	
	This is the oposite of the SHOWDEBUG command. This will hide
	the debug window if it is visable.

  Examples:
	
	HIDEDEBUG


*** DEBUG

  Format:

	DEBUG [var]

  Usage:

	The DEBUG command is used to add the text or variable [var] to
	the debug window. Make sure to use SHOWDEBUG at some point to
	see the results. (NOTE: in the example the SHOWDEBUG command
	comes after the DEBUG commands, this is just to show that you
	dont need to have the debug window open to send information to
	it)

  Examples:

	QUESTION What is your name?
	DEBUG Next line is the contents of the dialogbox
	DEBUG dialog
	SHOWDEBUG

*** REM

  Format:

	REM [Text]

  Usage:

	To document your script. Any thing after REM is considered a
	remark, and is only used to make the script more readable.

  Example:

	REM This script
	REM does nothing at all

*** LABEL

  Format:

	LABEL [label name]

  Usage:

	This command is used with the GOTO command for things like
	looping and decision making. See GOTO

  Example:

	LABEL Test


*** GOTO

  Format:
	
	GOTO [label name]

  Usage:
	
	This is the second half of the LABEL command. This command
	moves to the label specified in [label name]

  Example:

	GOTO Test
	DEBUG This will _not_ go to the debug window
	LABEL Test
	DEBUG This _will_ go to the debug window
	SHOWDEBUG


*** YESNO


  Format:

	YESNO [text]

  Usage:

	This will popup a yes/no dialog with the label [text], if you
	select no, the DIALOG variable will be 'NO' and if you select
	yes the DIALOG variable will be 'YES' (see example). If you need
	to answer multiple YESNO questions, make sure and add the result
	to a temp variable because DIALOG is overwritten after each use.

  Example:

	YESNO Select No
	DEBUG Next Line Is Result Of No Response
	DEBUG DIALOG
	YESNO Select Yes
	DEBUG Next Line Is Result Of Yes Response
	DEBUG DIALOG
	SHOWDEBUG


*** INFO

  Format:

	INFO [text]

  Usage:

	This will popup a dialog box with the label of [text]. This is
	usefull to return info to the user such as 'Script Error' or
	other usefull stuff.

  Example:

	INFO This is an info box


*** VBKEY

  Format:

	VBKEY [text]

  Usage:
	
	This send keystrokes to buzz the same way you would type them
	normaly. Anything in buzz that has keyboard shortcuts can be
	scripted. This is where the power is in buzzscript. After the
	examples is a key for non alphanumeric keys.

  Example #1:

	REM This will enter 1-a on 9 rows then return back to the
	REM top of the row with a page up key
	REM The page up key could have been added to the first line
	REM but for the example this seemed clearer	
	VBKEY 123456789a
	VBKEY {PGUP}

  Example #2:

	REM The first line is important (not to this script but in 
	REM general) 4 home keys in a row will always bring the cursor
	REM to the top left of the pattern (just a usefull tip)
	VBKEY {HOME}{HOME}{HOME}{HOME}
	VBKEY ^{BS}{TAB}4~

	REM The second line changes the current pattern length to 4
	REM it works from left to right controll-backspace, tab, 4
	REM then enter (you can do this manualy in a pattern to see
	REM it better)

  VBKEY Command Chart:

	KEY			CODE
        ----------------------- -----------------------
	Backspace		{BS}	
	Break			{BREAK}
	Caps Lock		{CAPSLOCK}
	Clear			{CLEAR}
	Delete or Del		{DEL}
	End			{END}
	Enter (keypad)		{ENTER}
	Enter (regular)		~
	Escape			{ESCAPE}
	Help			{HELP}
	Home			{HOME}
	Insert			{INSERT}
	Num Lock		{NUMLOCK}
	Page Down		{PGDN}
	Page Up			{PGUP}
	Return			{RETURN}
	Scroll Lock		{SCROLLLOCK}
	Tab			{TAB}
	F1-F15			{F1} - {F15}
	Left Arrow		{LEFT}
	Right Arrow		{RIGHT}
	Up Arrow		{UP}
	Down Arrow		{DOWN}
	
	COMBINE KEYS		CODE
	----------------------- -----------------------
	Shift			+ (plus sign)
	Controll		^ (caret)
	Alt			% (percent sign)


*** SETSTRING

  Format:
	
	SETSTRING [variable] [string]

  Usage:
	
	Use this for setting values to variables (both numeric and text)
	Buzzscript will decide if a variable is text or numeric depending
	on how its used and what type of information it holds.

  Example:

	SETSTRING TempVar This is text in a variable
	DEBUG TempVar
	SHOWDEBUG


*** COMBINE

  Format:

	COMBING [variable] [variable/string]

  Usage:

	This adds 2 strings and stores the result in [variable]

  Example:

	SETSTRING TempOne This is text
	COMBINE TempOne in a variable
	DEBUG TempOne
	REM Returns "This is textin a variable" (notice no space)

	SETSTRING NumOne 100
	COMBINE NumOne 50
	DEBUG NumOne
	REM Returns "10050" (does not mathmaticly add)

	SHOWDEBUG



Case "WRITEARRAYTOCOLUMN"
Case "WRITEARRAYTONOTECOLUMN"
Case "UPDATEPATTERN"
Case "GETPARAM"
Case "SETTPB"
Case "SETBPM"
Case "CONVERTTOENGLISH"
Case "DELETEFILE"
Case "SETSTEP"
Case "CONVERTTOKEYS"
Case "GOTOCOLUMN"
Case "FINDCOLUMN"
Case "FINDVOLUME"
Case "FINDNEXTCOLUMN"
Case "GOTOROW"
Case "SETJUMP"
Case "ENTERPARAM"
Case "LEFTCOMBINE"
Case "LEFT"
Case "SUBSTRING"
Case "LENGTH"
Case "TRIM"
Case "LEFTTRIM"
Case "RIGHTTRIM"
Case "RIGHT"
Case "FILEBROWSE"
Case "COMPARE"
Case "ISGREATER"
Case "ISLESS"
Case "ISEQUAL"
Case "ISNOTEQUAL"
Case "HOSTACTIVATE"
Case "ACTIVATE"
Case "ADDSPACE"
Case "APPACTIVATE"
Case "PAUSE"
Case "GOSUB"
Case "RETURN"
Case "INFO"
Case "RUNAPP"
Case "RUNANDWAIT"
Case "SAVE!VARS"
Case "CALLSUBSCRIPT"
Case "LOAD!VARS"
Case "QUESTION"
Case "ENDSCRIPT"
Case "COS"
Case "SIN"
Case "TAN"
Case "LOG"
Case "ADD"
Case "SUBTRACT"
Case "MULTIPLY"
Case "DIVIDE"
Case "SETACTIVESCREEN"
Case "DEC"
Case "HEX"
Case "RIGHTCLICK"
Case "PRESSBUTTON"
Case "SENDMESSAGE"
Case "KEY"
Case "DUMPVARS"
Case "SAVE"
Case "ANCHOR"
Case "SLOWMO"
Case "DROPNOTE"
Case "RAISENOTE"
Case "COPY"
Case "PASTE"
Case "CUT"
Case "BLOCKSTART"
Case "BLOCKEND"
Case "UNSELECT"
Case "INTERPOLATE"
Case "SETNOTEJUMP"
Case "ADDTRACK"
Case "COPYPATTERN"
Case "ADDPATTERN"
Case "DELPATTERN", "DELETEPATTERN"

' BUZZSCRIPT WINDOWING 1.0 API
'
Case "WINDOW_CREATE"
Case "ENVELOPE_CREATE"
Case "BUTTON_CREATE"
Case "LABEL_CREATE"
Case "TEXTFIELD_CREATE"
Case "TEXTAREA_CREATE"
Case "TEXTPASSWORD_CREATE"
Case "IMAGE_CREATE"
Case "LISTBOX_CREATE"
Case "TEXTFIELD_SETSTRING"
Case "TEXTAREA_SETSTRING"
Case "TEXTPASSWORD_SETSTRING"
Case "TEXTFIELD_GETSTRING"
Case "TEXTAREA_GETSTRING"
Case "TEXTPASSWORD_GETSTRING"
Case "LISTBOX_GETSTRING"
Case "LISTBOX_ADDSTRING"
Case "LISTBOX_REMOVESTRING"
Case "LISTBOX_CLEAR"

