Difference between revisions of "Extensions.Persistence.Load"

From emotive
Jump to navigation Jump to search
 
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
The '''Load''' activity is used for loading the value of a previously stored OTX variable from persistent storage. If the variable cannot be retrieved, the value of the variable shall be unchanged.
+
The '''Load''' activity is used for loading the value of a previously stored OTX variable from persistent storage. If the variable cannot be retrieved, the value of the variable will be unchanged.
  
 
== Properties ==
 
== Properties ==

Latest revision as of 06:12, 4 December 2019

Classification

Name Load
Short Description Loads the value of a previously stored OTX variable
Class Action
Extension OTX Persistence extension
Group Persistence Relates Actions
Exceptions -
Checker Rules Persistence_Chk001
Standard Compliant Yes

OTL Syntax

Persistence.Load(BooleanVariable isLoaded, Variable value);

Description

The Load activity is used for loading the value of a previously stored OTX variable from persistent storage. If the variable cannot be retrieved, the value of the variable will be unchanged.

Properties

Name Data Type Class Default Cardinality Description
IsLoaded Boolean Variable - [0..1] Optional return value, if the OTX variable was previously stored and can be loaded (true) or not (false).
Value - Variable - [1..1] The Variable to be retrieved from the storage.

OTL Examples

/// Local Declarations

Float Float1;
Boolean IsLoaded1 = true;

/// Flow

Persistence.Load(IsLoaded1, Float1);

See also

Save