Content


NTL
Core
CFunctionRnd

CFunctionRnd


Class provides implementation of the rnd() function which return random floating point value in 0..1 range. It is being used by expression runners.

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

class CFunctionRnd :public virtual CFunction
{
public:
    // IFunction methods 
    bool Run() override;

    CFunctionRnd(IErrorListener *error_listener);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/General/FunctionRnd.h