Messages - erosolmi [ switch to compact view ]

Pages: [1] 2 3 4 5 6 7next
1
Hi jgpaiva.

Thanks for the reply.  I tend not to do in other forums what I do not like others do in mine. Nothing more.

Regarding direct link, the only one I cannot change is the one linking to mirror site because on that site there are no pages, just files.
Primary download is a download area and not a direct link. It will always be valid even if we update thinBasic (and we do very often).
But thanks for your observation: maybe I will change the mirror too.

Ciao
Eros

2
Hi Ehtyar.

thinBasic will not switch commercial at any time. That's sure.
Our work on thinBasic is 100% driver by passion. We earns our money with real life jobs that already give us more "food" than we really need  ;)
We are developing thinBasic since 2004 and released first version in 2005. You can get thinBasic history at http://www.thinbasic.com/public/products/thinBasic/help/html/whatsnew.htm
We are here to stay because (again) we develop for (real) passion.

That said, consider anyone can expand thinBasic with new keywords and functionalities developing thinBasic modules in one of the supported languages: PowerBasic, FreeBasic, C, ASM. So if there is something thinBAsic does not do directly you can create it. Many users has already done that developing 3rd party modules all free and some open source.

Anyhow, if you need more info, let me know here or join our community at http://community.thinbasic.com

Ciao
Eros

3
Hi all.

New thinBasic version 1.6.0.10 just released both stable and preview:
  • some fixes (as usual)
  • new functionalities (UNIONs, Type inherit, ...)
  • a better thinAir (thinBasic IDE)
  • new TBGL (OpenGL and much more module for thinBasic. It handle 2D, 3D, bone system, entity system, effects. A mast have.) from Petr
  • new Oxygen (machine code and macro assembler module developed using FreeBasic - full source code included) from Charles

Plus: ThinBasic Journal. thinBasic community has now a PDF magazine dedicated to thinBasic programming.
http://community.thinbasic.com/index.php?topic=1865.msg13758#msg13758

Regards
Eros


List of changes can be found in thinBasic help on-line at:
http://www.thinbasic.com/public/products/thinBasic/help/html/version_underdevelopment.htm

Download from official web site:
http://www.thinbasic.com/index.php?option=com_docman&task=cat_view&gid=18&Itemid=66
or from mirror site
http://www.thinbasic.org/public/applications/thinbasic/thinBasic_1.6.0.10.zip

4
What about a math evaluator? thinBasic has a module called EVAL that will let you evaluate math expressions at run-time also linking script variables dynamically with string expression.

See the following example:

Code: Text [Select]
  1. uses "EVAL"
  2.   uses "CONSOLE"
  3.  
  4.   '---
  5.   ' This example shows how to connect thinBasic script variable with
  6.   ' internal Eval variables in order to allow Eval to interact
  7.   ' directly with script variable
  8.   '---
  9.    
  10.   '---Some timing variable
  11.   dim t0, t1 as double = timer
  12.  
  13.   '---This string will contain math function to eval
  14.   dim MyFunction as string
  15.  
  16.   '---Define some y = f(x) ... function or whatever function
  17.   MyFunction = "y = cos(x) * 10 + 20"
  18.  
  19.   '---Now define some script variable that will be used to interact
  20.   '---with eval
  21.   dim y, x as ext
  22.  
  23.   '---Here it is the trick. Using Eval_LinkExt you link together
  24.   '---script variable with eval variables passing to eval
  25.   '---the name of the eval variable name, the pointer to a script
  26.   '---variable, and an initial value
  27.   '---From now on every change in script variable value will effect
  28.   '---the next eval execution and the other way round
  29.   Eval_linkext("y", varptr(y), 0)
  30.   Eval_linkext("x", varptr(x), 0)
  31.  
  32.   '---Define some globals
  33.   dim MaxCount  as long value 500
  34.  
  35.   '---And now go in a loop
  36.   for x = 1 to MaxCount
  37.  
  38.     '---Eval MyFunction. Remember x and y in script are linked at x, y in Eval formula
  39.     Eval(MyFunction)
  40.  
  41.     '---Write some info output
  42.     console_writeline format$(x, "0000") & " " & y
  43.  
  44.   next
  45.  
  46.   '---Measure the ending time
  47.   t1 = timer
  48.  
  49.   '---Final results    
  50.   Console_writeline "------------------------------------------------------"
  51.   Console_writeline "Total execution time for " & MaxCount & " loops: " & format$(t1-t0, "#0.00000")
  52.  
  53.   '---Stop execution
  54.   console_waitkey


Pages: [1] 2 3 4 5 6 7next
Go to full version