JCL Help:TEasyEvaluator.AddVar@string@TFloat32

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Adds a variable.


Pascal

 public procedure AddVar(const AName: string; var AVar: TFloat32); overload;
public procedure AddVar(const AName: string; var AVar: TFloat64); overload;
public procedure AddVar(const AName: string; var AVar: TFloat80); overload;


Parameters

Parameters Description
const AName: string Identifier of variable to add.
var AVar: TFloat32 Location of variable to add.


Description

Adds a variable to the internal context. Whenever the variable is found in an expression, its current value will be inserted.


About

Donator

Barry Kelly


Notes

An assumption that may be made by optimizing compilers is that functions don't modify variables, and that functions may be called in any order.
Any variables added using these methods will override identifiers of the same name in external contexts added through ExtContextSet.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page