Class TCasScriptMatrixSet

Unit

Declaration

type TCasScriptMatrixSet = class(TCasScriptFunction)

Description

This item has no description.

Hierarchy

Overview

Methods

Public class function ShortName: string; override;
Public class function ArgumentMustBeAssignable(const Index: Integer): boolean; override;

Description

Methods

Public class function ShortName: string; override;

This item has no description. Showing description inherited from TCasScriptFunction.ShortName.

Short function name, for the parser. This is the name of the function for use in expressions like "function_name(arg_1, arg_2 ... , arg_n)".

This can be an empty string ('') if no explicit name for this function exists. This is useful for operators, which are implemented just like normal functions (a descendant of TCasScriptFunction), but with a special support from parser (e.g. to turn "x + b" into a call to the TCasScriptAdd function).

Public class function ArgumentMustBeAssignable(const Index: Integer): boolean; override;

This item has no description. Showing description inherited from TCasScriptFunction.ArgumentMustBeAssignable.

Which arguments should be assignable by this function.

Default implementation in TCasScriptFunction just returns False always. If you're making a function that changes it's argument (like assignment operator, or vector_set, array_set and such) you want to override this.

This is actually checked by CheckArguments, called from constructors.


Generated by PasDoc 0.16.0-snapshot.