"Ext" is another
SBM
application object containing extensions to ChaiScript's built-in functions.
These functions provide features or conversions not available in core
ChaiScript. "Ext" contains merely functions, not data. For example,
the extension function Ext.AcquireLock() provides a resource lock for multiple
threads running a script at the same time.
The following "Ext" functions are available with
SBM ModScript.
- Ext.AcquireLock( [msTimeout] )
- Ext.AppendTextFile( fileName, contents )
- Ext.CmdLineWait( cmdLine )
- Ext.CreateAppRecord( tableId [, recType] )
- Ext.CreateAppRecordList( tableId )
- Ext.CreateProjectBasedRecord( tableId )
- Ext.CreateVarRecord( tableId )
- Ext.DateToDbLong( dateVariant )
- Ext.DbLongToDate( dateInt )
- Ext.EncodeHTML( Variant v )
- Ext.EncodeJavaScript( Variant v )
- Ext.EncodeURL( urlString )
- Ext.FileExists( fileName )
- Ext.GetCharacterSet( )
- Ext.GetCompatibilityVersion( )
- Ext.HasLock( )
- Ext.IsStringValidUTF8( string s )
- Ext.LoadString( String ID, optional parameters )
- Ext.LockIsAvailable( )
- Ext.LogErrorMsg( msg )
- Ext.LogInfoMsg( msg )
- Ext.LogWarningMsg( msg )
- Ext.NewTask( appName, arg1, arg2, ... )
- Ext.NewTaskWait( appName, arg1, arg2, ... )
- Ext.OutputStreamExists()
- Ext.PrimaryTableId( applicationPrefixOrId )
- Ext.ReadTextFile( fileName )
- Ext.ReleaseLock()
- Ext.SetCompatibilityVersion( majorVersion, minorVersion )
- Ext.SetCookie( sNameValuePair)
- Ext.SetCookieExists()
- Ext.ShellHasProp( propName )
- Ext.Sleep( milliseconds )
- Ext.SolutionIdForPrefix( applicationPrefix )
- Ext.SolutionIdForTable( tableDbNameOrId )
- Ext.TableDatabaseName( tableDispNameOrId )
- Ext.TableDisplayName( tableDbNameOrId )
- Ext.TableId( tableDbOrDispName [, nameType] )
- Ext.TableId( Variant v [, nameType] )
- Ext.TableSingularName( tableDbNameOrId )
- Ext.TeamTrackDLLName()
- Ext.UnencodeURL( urlString )
- Ext.WriteStream( str )
- Ext.WriteTextFile( fileName, contents )
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.