SE:ISDK Java version 5.01b
wrong doc show me others
ScriptEase ISDK for Java
Introduction
Integrating the ISDK/Java
The Nombas Preprocessor
Advanced Integration - Debugging
Initialization and Contexts
Working with Variables
IDENTIFYING A VARIABLE
LIST OF MEMBER SPECIFIERS
SE.MEM(String)SE.UNIMEM(String)
SE.HIDDEN_MEM(String)SE.HIDDEN_UNIMEM(String)
SE.COMPOUND_MEM(String)SE.COMPOUND_UNIMEM(String)
SE.NUM(int)
SE.STR(int)
SE.INDEX(num)
SE.STRUCT(SEMemberDesc)
SE.VALUE
SE.STOCK(JseStrID)
SE.FUNCTION_TEXT
SE.OBJECT_DATA
SE.LIBRARY_DATA
LIST OF STOCK OBJECTS
SE.GLOBAL
SE.ARGS
SE_ACTIVATION
SE.THIS
SE.SCOPE
SE.TEMP
SE.WRAPPER_TEMP
SE.NOWHERE
SE.DEFINES
SE.RETURN
SE.AT_EXIT
SE.FILENAMES
SE.STACK_INFO(depth)
SE.SI_WRAPPER
SE.SI_FUNCTION
SE.SI_FUNCNAME
SE.SI_TRAPPED
SE.SI_GLOBAL
SE.SI_THIS
SE.SI_DATA
SE.SI_FILENAME
SE.SI_LINENUM
SE.SI_ACTIVATION
SE.SI_SCOPECHAIN
SE.SI_DEPTH
SE.SERVICES
SE.SELF
EXAMINING VARIABLES
MODIFYING VARIABLES
USING SE.TEMP AND SE.WRAPPER_TEMP
SE.RETURN EXPLAINED
Script Execution Topics
Using seEval
TO_INTERPRET, INTERP_TYPE
TEXT_ARGS, STACK_ARGS
FLAGS
SE.NO_INHERIT
SE.NO_LIBRARIES
SE.NEW_GLOBALS
SE.CALL_MAIN
SE.FUNCS_ONLY
SE.EXIT_LEVEL
SE.NEW_DEFINES
SE.NO_OLD_DEFINES
SE.REPORT_ERRORS
SE.INFREQUENT_CONT
SE.START
SE.CONSTRUCTOR
SE.NAMED_PARAMS
SE.INIT_IMPLICIT_THIS
SE.INIT_IMPLICIT_PARENTS
SE.DEFAULT
PARAMS
FUNCTION GLOBALS
SCOPING
CONTINUE FUNCTION
Wrapper functions
THE FUNCTION HEADER
THE ARGUMENTS
THE RETURN
WRAPPER TABLES
WRAPPER TABLE METHODS AND OBJECT
SELIBRARY INTERFACE
THE SELIBRARYMANAGER CLASS
Lifetimes
Objects and Classes
OBJECT CLASSES
DYNAMIC OBJECTS
interface: SEGetCallback
interface: SEPutCallback
interface: SEHasPropCallback
interface: SECanPutCallback
interface: SEDeletePropCallback
interface: SEDefaultValueCallback
interface: SEOperatorOverloadCallback
inteface: SEGetByIndexCallback
interface: SEGetNameByIndexCallback
interface: SEMaxIndexCallback
FUNCTION REDIRECTION
API Function List
INITIALIZATION/CONTEXT CREATION
seInitialize
seTerminate
seCreateContext
seCreateBlankContext
seCreateFiber
seGetContextParams
seDestroyContext
seAddLibTable
seGarbageCollect
VARIABLE LOCATING
seVarParse
seGetName
seInternalizeString
seInternalizeStringHidden
seCloneInternalString
seFreeInternalString
seGetInternalString
VARIABLE READING
seGetBoolEx
seGetNumberEx
seGetPointerEx
seGetObjectEx
seGetStringEx
seFreeObject
seCloneObject
seWeakLockObject
seLockObject
seGetType
seExists
seExistsDirect
seGetAttribs
seCompare
OBJECT ACCESS ROUTINES
VARIABLE WRITING
sePutBoolEx
sePutNumberEx
sePutPointerEx
sePutObjectEx
sePutStringEx
sePutUndefinedEx
sePutNullEx
seDelete
seMakeObject
seMakeStack
sePutWrapper
seSetCallbacks
seEnableDynamicMethod
seConvert
seSetAttribs
seAssign
seMustAssign
seThrow
EXECUTING SCRIPTS
Core Customization Topics
CORE CUSTOMIZATION
JSE_MULTIPLE_GLOBAL (on)
JSE_ONE_STRING_TABLE (off, on if SE_SHARED_OBJECTS is defined)
JSE_INFREQUENT_COUNT (5000)
JSE_GET_RESOURCE (off)
JSE_SHORT_RESOURCE (off)
JSE_TRAP_NOWHERE (off)
JSE_INLINES (off)
JSE_PEEPHOLE_OPTIMIZER (on)
JSE_CACHE_GLOBAL_VARS (on)
JSE_GLOBAL_CACHE_SIZE (10)
JSE_COMPACT_LIBFUNCS (off)
JSE_REFCOUNT (off)
JSE_GC (on)
SE_OBJ_POOL_SIZE (1024, 128 if JSE_MIN_MEMORY is on)
SE_MEM_POOL_SIZE (1024, 128 if JSE_MIN_MEMORY is on)
JSE_PACK_OBJECTS (off)
JSE_PER_OBJECT_CACHE (on, off if JSE_MIN_MEMORY is on)
JSE_PER_OBJECT_MISS_CACHE (on, off if JSE_MIN_MEMORY is on)
SE_APIVARNAME_POOL_SIZE (5)
SE_STACK_SIZE (2048, 512 if JSE_MIN_MEMORY is on)
SE_MAX_STACK_INFO_DEPTH (64)
FEATURE CUSTOMIZATION
JSE_COMPILER (on)
JSE_TOOLKIT_APPSOURCE (on)
JSE_SAVE_FUNCTION_TEXT (on, off if JSE_MIN_MEMORY is on or JSE_COMPILER is off)
JSE_PROTOTYPES (on)
JSE_ALWAYS_IMPLICIT_THIS (off)
JSE_ALWAYS_IMPLICIT_PARENTS (off)
JSE_FUNCTION_ARGUMENTS (on)
JSE_AUTO_OBJECT (off)
JSE_REGEXP_LITERALS (on)
JSE_FUNCTION_LENGTHS (on)
JSE_HTML_COMMENT_STYLE (off)
SE_ECMA_RETURNS (on)
SCRIPTEASE FEATURE CUSTOMIZATION
JSE_TOKENSRC (on)
JSE_TOKENDST (on)
JSE_OBJECTDATA (on)
JSE_DYNAMIC_CALLBACKS (on)
JSE_OPERATOR_OVERLOADING (on)
JSE_ENABLE_DYNAMETH (off)
JSE_GETFILENAMELIST (off)
JSE_BREAKPOINT_TEST (off)
JSE_TASK_SCHEDULER (on)
JSE_INCLUDE (on)
JSE_DEFINE (on)
JSE_CONDITIONAL_COMPILE (on)
JSE_SECUREJSE (on)
JSE_MAIN_ARGC_ARGV (on)
JSE_TOSOURCE (on)
JSE_NAMED_PARAMS (on)
JSE_TIMEZONE_GLOBAL (off)
JSE_TOLOCALEDATE_FUNCTION (off)
JSE_MILLENIUM (off)
JSE_FLOATING_POINT (on)
DEBUGGING CUSTOMIZATION
Fibers and Threads
ScriptEase JavaScript
Basics of ScriptEase
Identifiers
Prohibited identifiers
Identifiers to avoid
Variables
Variable scope
Function identifier
Function scope
Data types
Automatic type conversion
Properties and methods of basic data types
Operators
Object operator
Mathematical operators
Bit operators
Logical operators and conditional expressions
Concatenation operator
delete operator
in operator
instanceof operator
typeof operator
Flow decisions statements
if
else
while
do {...} while
for
break
continue
switch, case, and default
goto and labels
Conditional operator
Exception handling
Functions
Function return statement
Passing information to functions
Simulated named parameters
Function property arguments[]
Function recursion
Error checking for functions
main() function
Objects
ScriptEase versus C language
Data types in C and SE
Automatic type declaration
Array representation
Automatic array allocation
Automatic and JavaScript Arrays
Literal strings
Literal strings and assignments
Literal strings and comparisons
Literal strings and parameters
Literal strings and returns
Literal Strings and switch statements
Structures
Passing variables by reference
Pointer operator * and address operator &
Case statements
Initialization code which is external to functions
Unnecessary tokens
Macros
Token replacement macros
Back quote strings
Converting existing C code to ScriptEase
Security
Internal Objects
Global object
Conversion or casting
global object methods/functions
global.defined()
global.escape()
global.eval()
global.isFinite()
global.isNaN()
global.getArrayLength()
global.getAttributes()
global.parseFloat()
global.parseInt()
global.setArrayLength()
global.setAttributes()
global.ToBoolean()
global.ToBuffer()
global.ToBytes()
global.ToInt32()
global.ToInteger()
global.ToNumber()
global.ToObject()
global.ToPrimitive
global.ToSource()
global.ToString()
global.ToUint16()
global.ToUint32()
global.unescape()
global.undefine()
Array object
Blob Object
Boolean Object
Buffer Object
Buffer object instance properties
Buffer object instance methods
Buffer()
Buffer getString()
Buffer compare()
Buffer equal()
Buffer getValue()
Buffer putString()
Buffer putValue()
Buffer subBuffer()
Buffer toString()
Buffer object static methods
Clib Object
Console I/O functions
Clib.printf()
Clib.getch()
Clib.getchar()
Clib.getche()
Clib.gets()
Clib.kbhit()
Clib.putchar()
Clib.puts()
Clib.scanf()
Clib.vprintf()
Clib.vscanf()
Time functions
Clib.asctime()
Clib.clock()
Clib.ctime()
Clib.difftime()
Clib.gmtime()
Clib.localtime()
Clib.mktime()
Clib.strftime()
Clib.time()
Script execution
Error
File I/O
Clib.fopen()
Clib.fclose()
Clib.feof()
Clib.fflush()
Clib.fgetc()
Clib.fgetpos()
Clib.fgets()
Clib.fprintf()
Clib.fputc()
Clib.fputs()
Clib.fread()
Clib.freopen()
Clib.fscanf()
Clib.fseek()
Clib.fsetpos()
Clib.ftell()
Clib.fwrite()
Clib.getc()
Clib.putc()
Clib.remove()
Clib.rename()
Clib.rewind()
Clib.tmpfile()
Clib.tmpnam()
Clib.ungetc()
Directory
Sorting
Environment variables
Character classification
Clib.isalnum()
Clib.isalpha()
Clib.isascii()
Clib.iscntrl()
Clib.isdigit()
Clib.isgraph()
Clib.islower()
Clib.isprint()
Clib.ispunct()
Clib.isspace()
Clib.isupper()
Clib.isxdigit()
String manipulation
Clib.rsprintf()
Clib.rvsprintf()
Clib.sscanf()
Clib.sprintf()
Clib.strcat()
Clib.strchr()
Clib.strcmp()
Clib.strcmpi()
Clib.strcpy()
Clib.strcspn()
Clib.stricmp()
Clib.strlen()
Clib.strlwr()
Clib.strncat()
Clib.strncmp()
Clib.strncmpi()
Clib.strncpy()
Clib.strnicmp()
Clib.strpbrk()
Clib.strrchr()
Clib.strspn()
Clib.strstr()
Clib.strstri()
Clib.strtod()
Clib.strtok()
Clib.strtol()
Clib.strupr()
Clib.toascii()
Clib.tolower()
Clib.toupper()
Clib.vsprintf()
Memory manipulation
Math
Clib.abs()
Clib.acos()
Clib.asin()
Clib.atan()
Clib.atan2()
Clib.atof()
Clib.atoi()
Clib.atol()
Clib.ceil()
Clib.cos()
Clib.cosh()
Clib.div()
Clib.exp()
Clib.fabs()
Clib.floor()
Clib.fmod()
Clib.frexp()
Clib.labs()
Clib.ldexp()
Clib.ldiv()
Clib.log()
Clib.log10()
Clib.max()
Clib.min()
Clib.modf()
Clib.pow()
Clib.rand()
Clib.sin()
Clib.sinh()
Clib.sqrt()
Clib.srand()
Clib.tan()
Clib.tanh()
Variable argument lists
Date Object
Date object instance methods
Date()
Date getDate()
Date getDay()
Date getFullYear()
Date getHours()
Date getMilliseconds()
Date getMinutes()
Date getMonth()
Date getSeconds()
Date getTime()
Date getTimezoneOffset()
Date getUTCDate()
Date getUTCDay()
Date getUTCFullYear()
Date getUTCHours()
Date getUTCMilliseconds()
Date getUTCMinutes()
Date getUTCMonth()
Date getUTCSeconds()
Date getYear()
Date setDate()
Date setFullYear()
Date setHours()
Date setMilliseconds()
Date setMinutes()
Date setMonth()
Date setSeconds()
Date setTime()
Date setUTCDate()
Date setUTCFullYear()
Date setUTCHours()
Date setUTCMilliseconds()
Date setUTCMinutes()
Date setUTCMonth()
Date setUTCSeconds()
Date setYear()
Date toDateString()
Date toGMTString()
Date toLocaleDateString()
Date toLocaleString()
Date toLocaleTimeString()
Date toString()
Date toSystem()
Date toTimeString()
Date toUTCString()
Date valueOf()
Date object static methods
Dos Object
Function Object
Math Object
Number Object
Object Object
RegExp Object
Regular expression syntax
Regular expression special characters
Regular expression summary
Regular expression repetition characters
Regular expression character classes
Regular expression anchor characters
Regular expression reference characters
Regular expression escape sequences
Regular expression replacement characters
Regular expression precedence
RegExp object instance properties
RegExp returned array properties
RegExp object instance methods
RegExp object static properties
SElib Object
SElib object static methods
SElib.baseWindowFunction()
SElib.bound()
SElib.breakWindow()
SElib.compileScript()
SElib.directory()
SElib.doWindows()
SElib.fullpath()
SElib.getObjectProperties()
SElib.inSecurity()
SElib.instance()
SElib.interpret()
SElib.interpretInNewThread()
SElib.makeWindow()
SElib.messageFilter()
SElib.multiTask()
SElib.peek()
SElib.pointer()
SElib.poke()
SElib.ShellFilterCharacter()
SElib.ShellFilterCommand()
SElib.spawn()
SElib.splitFilename()
SElib.subclassWindow()
SElib.suspend()
SElib.version()
SElib.windowList()
SElib.dynamicLink()
String Object
String as data type
String as object
String object instance properties
String object instance methods
String()
String charAt()
String charCodeAt()
String concat()
String indexOf()
String lastIndexOf()
String localeCompare()
String match()
String replace()
String search()
String slice()
String split()
String substr()
String substring()
String toLocaleLowerCase()
String toLocaleUpperCase()
String toLowerCase()
String toUpperCase()
String object static methods
Unix Object
Appendices
Appendix A: Grouped Functions
Routines for arrays
Routines for Buffers
Routines for character classification
Routines for console I/O
Routines for conversion/casting
Routines for data/variables
Routines for date/time
Routines for diagnostic/error
Routines for directory, file, and OS
Routines for DOS
Routines for execution control
Routines for file/stream I/O
Routines for general use
Routines for math
Routines for memory manipulation
Routines for miscellaneous
Routines for objects and functions
Routines for regular expressions
Routines for strings/byte arrays
Routines for variable argument lists
Routines for UNIX
Appendix B: Instance and Static Notation