A quick extender for some of the common needs I've seen lately
You will need WinRAR (
http://www.rarlabs.com/) to extract either of these files.
This one contains a dll that you can use to extend smallbasic. There is a bit of duplication with the built-in small basic Math object. I took all of the math functions from Extended Color Basic and stuck them into a PDGMath class. Of particular note is the Exp function, which is the inverse of the Log function.
I also created another class called PDGFile which has a GetCurrentDirectory function.
This needs to be placed into a lib subfolder of the small basic installed directory (C:\Program Files\Microsoft\Small Basic\lib). You will likely need to create the lib directory.
None of the functions is error checking, so buyer beware.
http://www.playdeez.com/smallbasic/pdgsbutilities.rarThis one is the C# source code for the extension:
http://www.playdeez.com/smallbasic/pdgsbutilities_src.rarEnjoy!