This wiki is out of date, use the continuation of this wiki instead

DLL:Log.dll

From FenixWiki

Jump to: navigation, search

Up to DLL's



Contents

[edit] Definition

Log.dll is a DLL with logarithmic functions, which aren't built into Fenix by default.

[edit] Example

Import "log.dll";

Global
    float logarithm=0.0;

Process main()
Begin
    write_float(0,160,100,4,&logarithm);
	
    While(not(key(_esc)))
        If (key(_1)) logarithm=log(1000,9); End 
        If (key(_2)) logarithm=log(1000); End
        If (key(_3)) logarithm=log2(1024); End 
        If (key(_4)) logarithm=ln(13.37); End 

        Frame;
    End
End

Used in example: import, write_float(), key(), log(), log2(), ln()

[edit] Download

[edit] Documentation


DLL's
Explosion.DLLGUI.DLLImage.DLLLCD.DLLLog.dllMPEG.DLLMixer.DLLNetwork.DLLTTF.DLL
Personal tools