CProcedureIfThen


This module has been removed in release 14.0.0. Use Script module instead.

This class implements function which can be used in ICalculator to return value depending on condition. If first argument is TRUE, the second argument will be returned. Otherwise the third argument will be returned.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CProcedureIfThen :public CProcedure
    {
    public:
        CVariable *Calculate(CVariable *parent, CVariable *args) override;
    
        CProcedureIfThen();
    };
Namespace: nitisa::scripting
Include: Nitisa/Modules/Scripting/Procedures.h