NOP Design Home Page
Documentation
TOC/Index
Search
Downloads
Function List
SIML Functions are listed alphabetically. Click on a function name to bring up the details for that function. If you do not know the function name you are looking for, try using the search feature above.



\
Line Continuation Character

#
Comment

AddHeader
Adds a HTTP header to the response

AppendFile
AppendFile ContentVariable To

As
SIML Language Preposition or Reserved word

AsciiChar
Returns the character corresponding to number

AsciiValue
Returns the ASCII numeric value for character

AtEndOfList
Checks to see if the list pointer is at the end of the list

BindColumn
Links a column from a database select statement to a SIML variable.

BindParameter
Links a parameter from a stored procedure or select statement to a local SIML variable

Call
The call function runs a predefined function within a SIML program

CallExternal
Calls a predefined function from an external operating system shared object or DLL

CaptureProgramOutput
Runs a program, capturing the output into a string variable

Case
See 'Select'

Ceiling
Ceiling function: smallest integral value not less than argument

Character
Retrieves a character from a string

Commit
Commits a database session.

Connect
Establish a connection to a database, file, or native type

ContentType
Sets the content-type of the output

Convert
Convert a SIML variable to a different type

Cookie
Reads a cookie from the client/WWW Server

CopyFile
Copys a text file from one location to another

CreateArray
CreateArray aMyArray

CreateConstant
Creates a SIML variable constant

CreateFileHash
Creates a SHA1 or MD5 hash of a file

CreateGlobal
Create a globally scoped variable

CreateGlobalConstant
Creates a globally scoped constant

CreateHash
Creates a SHA1 or MD5 hash of a string

CreateList
Creates a SIML list variable

CurrentItem
Returns the current item of a SIML list variable

DataType
DataType strVariable

DateTime
Returns the current date and time

Decrement
Decrement variable

Default
SIML Language Preposition or Reserved word

Defined
Checks if a specific SIML variable or function is defined

DeleteFile
Removes a file from disk

Disconnect
Disconnects an open connection

DocumentRoot
The current web (virtual) server document root

Else
See "If"

ElseIf
See "If"

EnableTracing
Turns on additional debugging messages

End
Ends SIML command sequence

EndIf
See "If"

EndSelect
See 'Select'

Environment: SmartSystemsErrorTemplate
Set this environment variable to change the Smart Systems error template

ExecuteStatement
Executes a statement on an open connection

False
Boolean False, Integer 0

FileExists
Checks if a file exists on disk

FileSize
Determines the file size of a disk file

FileUpload
Retrieves name of temporary file from HTML form file upload

FindItem
FindItem "item" In MyList

First
SIML Language Preposition or Reserved word

Floor
Floor function: largest integral value not less than argument

For
Loop a predetermined number of times

ForEach
Loop through each element of an array/list

FormatNumber
Formats floating point or integer numbers with fixed precision

From
SIML Language Preposition or Reserved word

GetColumn
Retrieves data from a column in a rowset

GetColumncount
Retrieve the number of columns in a rowset

GetColumnname
Retrieve the name of a column from a rowset

GetColumnnullability
Determine if a rowset column is nullable

GetColumnprecision
Determine the numeric precision of a rowset colun

GetColumnsize
Determine the size of a rowset column

GetColumntype
Determine the data-type of a rowset column

GetDate
Get a date or time component

GetEnvironment
Retrieves data from the environment

GetLastError
Retrieves the last logged error on a database connection, rowset or statement

GetRowCount
GetRowCount myDbRowset

GetRowset
Retrieves a result rowset from a query on a connection

Goto
Jumps to a specific location in the source

HtmlEncode
Converts string to HTML entities

If
Branching-- If...Then

Implode
Returns a string containing a string representation of all the array elements in the same order, with the glue string between each element.

ImplodeXml
Returns a string containing an XML representation of all the associative array elements formatted as XML

In
SIML Language Preposition or Reserved word

IncludeFile
Loads a file from disk as part of the executing source

Increment
Increment variable

InsertAfter
Inserts an element into a SIML list variable after the current item

InsertBefore
Inserts an element into a SIML list variable before the current item

Interpret
Interprets a string as source

IsArray
Determines if variable is an array / list

IsInteger
Is this (defined) variable currently an integer?

IsList
Determines if variable is an array / list

IsNull
Checks a bound variable for 'NULL' condition

IsNumber
Is this (defined) variable currently a floating point number?

IsString
Is this (defined) variable currently a string?

IsXmlDocument
IsXmlDocument myDocument

IsXmlNode
IsXmlNode myDocument

KeyExists
Does specified key (indicee) exist in specified array?

Label
Labels a goto jump point

Last
SIML Language Preposition or Reserved word

LastLocation
Finds the last location of a substring in a string

Left
Retrieves a number of characters from the left side of a string

Length
Get string length

LoadFile
Loads the contents of a text file into a string variable

LoadModule
Loads a pre-compiled external shared object

LoadUrl
Loads contents of a Uniform Resource Locator to a variable

Location
Finds the location of a substring in a string

Loop
End of a loop-- see While, For

Lowercase
Converts a string into lowercase

<# ... #>
Multi-line comment

<SIML ...>
Defines a function

Next
SIML Language Preposition or Reserved word

NumberItems
Returns the number of items in a SIML list (Alias for NumberOfItems)

NumberOfItems
Returns the count of the number of items in a SIML array or list

NumberOfParameters
Returns the total number of parameters passed to the SIML script.

Of
SIML Language Preposition or Reserved word

On
SIML Language Preposition or Reserved word

Operator :=
Assignment Operator

Operator :-=
Assignment Operator

Operator :+=
Assignment Operator

Operator + (Addition)
Mathematical operator for addition.

Operator / (Division)
Mathematical operator for division

Operator = (Equal to)
Logical operator equal to

Operator > (Greater than)
Logical operator greater than

Operator >= (Greater than or equal to)
Logical operator greater than or equal to

Operator & (Logical And)
Logical operator and

Operator ! (Logical Not)
Logical operator not

Operator | (Logical Or)
Logical operator or

Operator <> (Not equal to)
Logical operator not equal to

Operator < (Less than)
Logical operator less than

Operator <= (Less than or equal to)
Logical operator less than or equal to

Operator % (Modulus)
Mathematical operator for modulus

Operator * (Multiplication)
Mathematical operator for multiplication

Operator - (Subtraction)
Mathematical operator for substraction

Optional
SIML Language Preposition or Reserved word

Or
SIML Language Preposition or Reserved word

(Order of Operations)
SIML Language Construct

Parameter
Retrieves a parameter passed in to the SIML script

ParameterCount
Counts the number of Parameters of a particular name

ParameterName
Returns the name of a script parameter

PrepareRowset
Precompiles an SQL database query into a rowset variable

PrepareStatement
Precompiles an SQL database query into a statement variable

Previous
SIML Language Preposition or Reserved word

Redirect
Redirects the web browser to a new page-- server side where possible

RelativePath
The current physical directory this script was run from

Release
Clears a variable from memory

RemoveItem
Removes the current item from a SIML list

Repeat ... Until
Repeat Until Looping Structure

ReplaceAll
Replaces all occurances of one substring with another

ReplaceItem
Replaces the current item in a SIML list

Requires
SIML Language Preposition or Reserved word

Return
Returns from a function, or ends execution

Right
Retrieves a number of characters from the right side of a string

Rollback
Rolls-back a database connection opened with manual transactions

Round
Round to nearest integer, away from zero

RunProgram
Runs a system program

Say
Outputs parameter(s) to the user

SayFile
SayFile "filename.txt"

SayLiteral
[DEPRECATED] Do not use this function, use 'Say' instead

Select
Implements a select/case (also known as switch) branching structure.

SelectItem
Moves the item pointer in a SIML list

SelectRow
Moves the row pointer in a rowset

Sendmail
Sends an email

SetCookie
Set's a cookie in the client's browser

SetEnvironment
Sets or overwrites an environment variable

SetNull
SetNull MyVariable To True

SIML Language Preposition or Reserved word
SIML Language Preposition or Reserved word

Sort
Sorts a list

Split
Splits a string based on a character into a list

SplitXml
Splits a XML content in string to an associative array

SqlEncode
Encodes a string for use in an SQL query

SubString
Retrieves a substring from a string

SuppressHeaders
Prevents standard web headers from being output

SystemLog
Log an event to the windows/unix system log

Then
See "If" or "Select"

ThisFileName
Returns the current executing source/include file name

ThisFilePath
Returns the path to the currently executing script, or included file

To
SIML Language Preposition or Reserved word

Trim
Removes leading and trailing whitespace from a string

TrimLeft
Removes leading whitespace from a string

TrimRight
Removes trailing whitespace from a string

True
Boolean True, Integer 1

Uppercase
Converts a string into uppercase

UrlDecode
Url-Decodes a string

UrlEncode
Url-encodes a string

While
Loop structure

With
SIML Language Preposition or Reserved word

WriteFile
WriteFile ContentVariable To

XmlAppendChildNode
XmlAppendChildNode xmlNode To xmlParentNode

XmlAttributeExists
bAttribExists := XmlAttributeExists "name" of xmlNode

XmlConnect
XmlConnect xmlDocument To strString As

XmlCreateChildNode
XmlCreateChildNode xmlNode As strNodeName Of xmlParentNode

XmlCreateNode
XmlCreateNode xmlNode As strNodeName

XmlGetAttributeCount
intCount := XmlGetAttributeCount xmlNode

XmlGetAttributeName
strName := XmlGetAttributeName xmlNode As intAttributeIndex

XmlGetAttributeText
XmlGetAttributeText myAttribute As

XmlGetChild
XmlGetChild xmlNode As strChildName [,intChildIndex] From xmlParent

XmlGetChildCount
intCount := XmlGetChildCount xmlNode

XmlGetNextSibling
XmlGetNextSibling xmlNode From xmlSiblingNode

XmlGetNodeName
strName := XmlGetNodeName xmlNode

XmlGetNodeText
strContents :=XmlGetNodeText xmlNode

XmlGetParent
XmlGetParent xmlNode From xmlChildNode

XmlGetPreviousSibling
XmlGetNextSibling xmlNode From xmlSiblingNode

XmlGetRootNode
XmlGetRootNode xmlNode From xmlDocument

XmlRemoveAttribute
XmlRemoveAttribute strAttributeName From xmlNode

XmlRemoveNode
XmlRemoveNode xmlNode

XmlSetAttribute
XmlSet Attribute strAttributeName As strValue Of xmlNode