Hi Zak,
I hope the zip file below satisfies most of your questions. I will include something similar in future Oxygen releases
Charles
1-how to print to a console instead a msgbox?
Set up a console using Windows kernel functions
2-how to make the above program to a dll to be called from other programming language such as thinbasic or vb6 as an example ?
Create functions with Aliases and `export` word. Also provide a `finish` procedure.
3-is it possible to attach an icon to the generated exe ?
Not yet. I have further work to do on this.
4-is it neccessary to use terminate, the code can run without using terminate but does it have unseen function?
"Terminate" is automatic unless the binary needs to be persistent such a DLL or a function provider in a thinBasic script. Terminate frees libraries and memory blocks used by Oxygen.
6 Heat!
If there was a law against cruelty to computers, this recursive fibo function would surely be illegal. It requires a huge amount of processing power and when you raise the agony to 50 I think the stack overflows.
Bookmarks