Archive: Please: Test my plugin!


Please: Test my plugin!
This is my first plugin, made with DEv-C++. It's call FloatOp...
and alternative to IntOp instruction of NSIS.
Any comments will be fine...
NOTE: Source code not include it, yet ;)


Name "My Plugin"
OutFile "test.exe"
XPStyle "on"

Function .onInit
FloatOp::Add "1.2" "1.8" .r0 ; $0 returns "3"
FloatOp::Substract $0 "1" .r1 ; $1 returns "2"
FloatOp::Multiplie $1 "6.4" .r2 ; $2 returns "12.8000"
FloatOp::Divide $2 "4" .r3 ; $3 returns "3.2000"
FloatOp::GetDLLVersion .r4
MessageBox MB_OK "Returns: $3 $\r$\nPlugin version: $4"
Quit
FunctionEnd

Section "-boo"

SectionEnd

BTW: Thanks to all the people who help me.... :D

Plugin updated
Hello guys!
I updated my plugin. Is in spanish but you'll get the idea.
Please, tested in your OS.
Since is using atof (VC++ runtime function) it will need MSVCRT.DLL (Win95 users: You must have Win95 OS-2 or IE 4.x installed; IE 5.x just to be sure).

Functions:
Autor -> Returns the author :rolleyes:
GetDLLVersion -> plugin version
Suma -> Add numbers
Resta -> Substract numbers
Multiplica -> Multiplie numbers
Divide -> Divide numbers

See examples....


Congratulations! :)

Works fine here.


Thanks :)
Also need Win95 users opinion... just to be sure.


I am win98se if you want


Please n0On3! :)


I give the win98se seal to the plugin :)