Functions

Top  Previous  Next

The List of the CScript functions

 

Function

Stands For

Description

%()

HTML Code

Native HTML Code

%acc()

Accumulate

String of number accumulation

%access-control()

Access Control

MoreMotion AF Access Control definition

%accfs()

Accumulate From String

Accumulation from a string

%attr()

Set Attribute

Define attributes for HTML elements

%bool()

Bool

Converts to Boolean

%cdata()

CDATA

Encloses a text with "<[CDATA[" and "]]>".

%chr()

Character

Returns the character of the given character code.

%chrcode()

Character Code

Returns the character code of the given character.

%check-name-assigned()

Check Name Assigned

Checks if a new name is assigned to an element

%check-required-props()

Check Required Props

Checks the values are assigned to the required properties

%crehi()

Create Hidden Input

Creates a hidden input field

<cti:define>

Define

Defines a custom CScript function

%config()

Config

Transfers the given definition to the MoreMotion AF Configuration

%decfmt()

Decimal Format

Defines a decimal format

%define()

Define

Defines a custom CScript function

%do..()

Do

Conditional Execution

%echo()

Echo

Echoes the given text with a message dialog.

%error()

Error

Reports a compile error

%escape()

Escape

Escapes special XML characters

%exists()

Exists

Checks the existence of a symbol

%fmtdate()

Format Date

Formats given date

%fmtnum()

Format Number

Formats given number

%fname()

File Name

Formats given file name

%incrdate()

Increase Date

Increases/decreases date data

%isnull()

Is Null

Checks if the given has a null value

%isnum()

Is Number

Checks if given value is a number

%js-props()

Javascript Properties

Defines parameters for the Javascript functions

%lcase()

Lower Case

Converts the given string to lowercase

%len()

Length

Returns the length of the given string

%lpos()

Last Position

Returns the last position of a sub-string

%nl()

New Line

Returns a new line character

%not()

Not

Returns the opposite of a Boolean expression

%now()

Now

Returns current time in milliseconds

%num()

Num

Converts to Number

%pop()

Pop From Stack

Pops from Stack

%pos()

Position

Returns the position of a substring in a string

%process-list()

Process List

Returns the process list definitions

%push()

Push To Stack

Pushes to Stack

%regds()

Register Data Source

Defines a data source explicitly
Deprecated!: "Use Page Data Requests" Property

%repl()

Replace

Replaces substrings in a string

%round()

Round

Rounds up the remainder part of the decimal numbers

%rstr()

Reverse Substring

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

%set()

Set

Assigns values to symbols

%sstr()

Substring

Extracts a substring with position and length from a string.

%sstra()

Substring After

Extracts the substring existing after the reference substring.

%sstral()

Substring After Last

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

%sstrb()

Substring Before

Extracts the substring before the reference substring.

%sstrbl()

Substring Before Last

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

%style()

Set CSS Style

Set CSS styles for the HTML elements

%trim()

Trim

Removes the space characters from the both ends

%triml()

Trim Left

Removes the space characters from the left end

%trimr()

Trim Right

Removes the space characters from the right end

%ucase()

Upper Case

Converts string characters to upper case

%vof()

Value Of

Returns the value of an expression

%vofd()

Value Of (Delayed)

Evaluates the given expression at the end of page compilation and returns the result.

%voq()

Value Of (Quoted)

Encloses the given string within quotes if necessary.

%vov()

Value Of Value

Returns the value of the expression value