newObjects-logo.gif (1024 bytes) ScriptManager2 reference
BOOL SCPHOSTCLNT::AddCode(
LPCTSTR szScriptText // Pointer to the null terminated string containing the script code
);

Adds script code (text) to the initialized script engine.

Returns TRUE on success FALSE if failed

 

Remarks:

Code must contain full "closed" script blocks. In opther words you can not add the first half of a function and then the second with later call to this method. You can call this method many times. Thus realization of the includes or another needed fetures can be realized

See also:

Script Manager2 AddText method

newObjects Copyright newObjects 2001-2005