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

DLL:Log.dll

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:52, 28 July 2008 (edit)
85.144.194.29 (Talk)
(New article: DLL:log.dll)
← Previous diff
Revision as of 20:40, 28 July 2008 (edit) (undo)
85.144.194.29 (Talk)
(Example - 8 space tabs to 4 space tabs)
Next diff →
Line 14: Line 14:
Global Global
- float logarithm=13.37;+ float logarithm=13.37;
Process main() Process main()
Begin Begin
- write_float(0,160,100,4,&logarithm);+ write_float(0,160,100,4,&logarithm);
- While(not(key(_esc)))+ While(not(key(_esc)))
- If (key(_1)) logarithm=log(2.1); End + If (key(_1)) logarithm=log(2.1); End
- If (key(_2)) logarithm=log10(100); End+ If (key(_2)) logarithm=log10(100); End
- If (key(_3)) logarithm=logx(2.12,3.46); End + If (key(_3)) logarithm=logx(2.12,3.46); End
- Frame;+ Frame;
- End+ End
End End
</pre> </pre>

Revision as of 20:40, 28 July 2008

Up to DLL's



Contents

Definition

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

Example

Import "log.dll";

Global
    float logarithm=13.37;

Process main()
Begin
    write_float(0,160,100,4,&logarithm);
	
    While(not(key(_esc)))
        If (key(_1)) logarithm=log(2.1); End 
        If (key(_2)) logarithm=log10(100); End
        If (key(_3)) logarithm=logx(2.12,3.46); End 

        Frame;
    End
End

Used in example: import, write_float(), key(), log(), log10(), logx()

Download

Documentation


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