Functions

Top  Previous  Next

MScript Functions
 

Function

Stands For

Description

@acc()

Accumulate

Accumulation

@accfa()

Accumulate From ADOM

Accumulation from ADOM

@accfs()

Accumulate From String

Accumulation from String

@bool()

Bool

Convert to Boolean type

@cdata()

CDATA

Enclosing the text with "<[CDATA[" and "]]>"

@cfgparam()

Configuration Parameter

The value of a configuration parameter

@chr()

Character

Character of the given code

@chrcode()

Character Code

Character code of the given character

@decr()

Decrypt

Decrypting encrypted strings

@do..()

Do

Conditional execution

@dq()

Double Quote

Doubling the quote characters

@dspaging()

Data Source Paging

Setting the paging parameters of data sources

@echo()

Echo

Printing to the system console to debug

@encr()

Encrypt

Encrypting strings

@escape()

Escape

Escaping special characters

@exit()

Exit

Exit MScript

@exists()

Exists

Check existing symbols

@filepath()

File Path

File Path

@fmtdate()

Format Date

Format Date/Time

@fmtnum()

Format Number

Format number

@incrdate()

Increase Date

Increase or decrease Date/Time

@ismodified()

Is Field Modified

Checking the modified status of a process block field

@isnull()

Is Null

Check null values

@isnum()

Is Num

Checking number values

@lcase()

Lower Case

Convert string characters to lower case

@len()

Length

Length

@lpos()

Last Position

Find the last position of substring in a string

@msg()

Message

Create message ADOM

@nl()

New Line

New Line Characters

@not()

Not

The opposite of a Boolean expression

@now()

Now

Current time in milliseconds

@num()

Num

Convert to Number type

@parsedate()

Parse Date

Parse Date/Time

@parsenum()

Parse Number

Parse number

@peek()

Peek From Stack

Peek from Stack

@pop()

Pop From Stack

Pop from Stack

@pos()

Position

Find the position of substring in a string

@push()

Push To Stack

Push a new value to Stack

@repl()

Replace

Replace the substrings in a string

@res()

Resource

Get a resource

@round()

Round

Rounding up the remainder part of the decimal numbers

@rstr()

Reverse Substring

Extract a substring with position and length from a string. (In reverse order)

@set()

Set

Assign value

@shellexec()

Shell Execute

Execute command on the operation system

@sstr()

Substring

Extract a substring with position and length from a string.

@sstra()

Substring After

Return the substring existing after the reference substring.

@sstral()

Substring After Last

Return the substring existing after the last occurrence of the reference substring.

@sstrb()

Substring Before

Return the substring before the reference substring.

@sstrbl()

Substring Before Last

Return the substring existing before the last occurrence of the reference substring.

@sysparam

System Parameter

The value of a system parameter

@trim()

Trim

Remove the space characters from the both ends

@triml()

Trim Left

Remove the space characters from the left end

@trimr()

Trim Right

Remove the space characters from the right end

@ucase()

Upper Case

Convert string characters to upper case

@vof()

Value Of

Return the value of an expression

@vore()

Value Of Regular Expr.

Return the value of Regular Expression Match

@vov()

Value Of Value

Returns the value of the expression value