JCL Help:TEasyEvaluator.AddConst@string@TFloat32

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Adds a constant.


Pascal

 public procedure AddConst(const AName: string; AConst: TFloat32); overload;
public procedure AddConst(const AName: string; AConst: TFloat64); overload;
public procedure AddConst(const AName: string; AConst: TFloat80); overload;


Parameters

Parameters Description
const AName: string Identifier for the constant.
AConst: TFloat32 Value of constant.


Description

Adds a constant to the internal context. Constants are different from variables because sub-expressions made entirely from constants may be evaluated only once (at compile time), and that value used for all subsequent evaluations.


About

Donator

Barry Kelly


Notes

Any constants 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