Using String Table

   Print  Previous  Next

Functions Provided For Using The String Table

The following table provides an overview of all functions the effect can use to modify the elements in an String Table:

 

Function

Description

int StringTableGetCount()

Returns the current number of elements in the String Table.

void StringTableMoveStringUp(int index)

Moves an element with its specified index up a place in the String Table.

void StringTableMoveStringDown(int index)

Moves an element with its specified index down a place in the String Table.

void StringTableInvert()

Inverts the complete String Table regarding the positions of the elements in the table.

void StringTableSwapStrings(int index1, int index2)

Swaps elements with their specified indices in the String Table.

void StringTableSetString(int index, string)

Sets a new string text for the element with the specified index.

string StringTableGetString(int index)

Returns the text as a string for the element with the specified index.

void StringTableAddString(int index, string)

Adds a new element with its text as string to the specified index.

void StringTableRemoveString(int index)        

Removes the element with the specified index from the String Table.

void StringTableSetLoop(int)

Sets the Loop Mode. Use TRUE to activate it. Use FALSE to deactivate it.

int StringTableGetLoop()

Returns TRUE, if Loop Mode is activated, otherwise FALSE.

void StringTableToggleLoop()        

Toggles the Loop Mode.

int StringTableGetShuffle()

Sets the Shuffle Mode. Use TRUE to activate it. Use FALSE to deactivate it.

void StringTableSetShuffle(int)

Returns TRUE, if Shuffle Mode is activated, otherwise FALSE.

void StringTableToggleShuffle()

Toggles the Shuffle Mode.

 

MADRIX Version: 3.6j | Script Version: 2.22
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
Print   Previous   Next