
global functions:
	int alert(string text)
	bool convertToRCOMObject(object)
	array toStringArray(array_ref,int count)
	array toIntArray(array_ref,int count)
	array toFloatArray(array_ref,int count)
	array toDoubleArray(array_ref,int count)
	array toBoolArray(array_ref,int count)
	array toRCOMObjectArray(array_ref,int count)
	int print(string text)
	int include(string filename)

	eval(string code)
	parseInt
	parseFloat

	Crypto API, File API and Socket API from v7 also available

RCOMObject methods:
	int AddRef()
	int Release()
	string GetClassID()
	int GetInterfaceIndex(string interfaceID)
	int GetTypeInfo(int interfaceIndex, int methodID, int paramIndex)
	int _GetTypeInfo(int interfaceIndex, int methodID, int paramIndex)	
	int Invoke(msg)
	int _Invoke(msg)
	void OverrideInvoke(RCOMObject newObject)
	bool SetParent(RCOMObject parent)

msg object properties:
	int interfaceIndex
	int methodID
	array params
	retVal (will set when needed)

RCOMSystemAPI methods:
	bool IsFactoryAvailable(string factoryID)
	RCOMObject GetObjectFromFactory(string factoryID,string classID)
	bool ShutdownSystem()
	string GetApplicationDir()
	int GetCommandlineArgCount()
	string GetCommandlineArgument(int index)
	void SetNewInstanceListener(RCOMObject newInstanceListener)
	RCOMObject GetNewInstanceListener()

array methods (from v7):
  	concat
	every
	filter
	forEach
	join
	map
	push
	reverse
	slice
	some
	sort
	splice
	toString

Maths object methods (from v7):
	abs
	acos
	asin
	atan
	atan2
	ceil
	cos
	exp
	floor
	log
	max
	min
	pow
	random
	round
	sin
	sqrt
	tan

String methods:
	fromCharCode
	charCodeAt
	charAt
	concat
	indexOf
	substr
	substring
	valueOf
	lastIndexOf
	match
	replace
	search
	split
	slice
	trim
	toLowerCase
	toUpperCase

String properties:
	length

RegExp object methods:
	exec
	test
	toString

JSON object methods:
	stringify
	parse