Passa al contenuto principale

SetCommonVar

Structure

SetCommonVar(iVar: Integer; sVal: String)

Type

Procedure

Description

This procedure can be used to set a text value to one of 5 'common' variables that can be used between scripts (or simply within one script). These text variables are already declared within IndySoft, so a variable can be set in one script and then read within another. An example usable would be to set a variable to '1' in one script upon a certain condition then read this flag in a second script and perform additional operations.

Parameters: 2

iVar = Number of the variable, 1-5

sVal = Value to be set to the variable |