Posts: 922
Threads: 15
Joined: Jun 2003
Fixed, patch is on CVS (
http://cvs.sourceforge.net/viewcvs.py/fb...ortby=date), thanks.
I may never get PRINT USING to work fully, that is one of the most hacked statements ever, loads of odds that only appear when compiling old sources.
Posts: 60
Threads: 8
Joined: Jan 2005
Quote:Fixed, patch is on CVS
Thanks!
BTW, the following code compiles in QB but not in FB:
Code:
DIM I AS INTEGER, X AS DOUBLE
I = 5
X = 1.23
PRINT I; USING "#####.##"; X
In FB you must write:
Code:
PRINT I;
PRINT USING "#####.##"; X
Not a real problem, but a slight loss in compatibility
Jean Debord
Posts: 1,272
Threads: 36
Joined: Feb 2003
What if you put in a colon, like so?
Quote:PRINT I; : PRINT USING "#####.##"; X
Posts: 60
Threads: 8
Joined: Jan 2005
Quote:What if you put in a colon, like so?
PRINT I; : PRINT USING "#####.##"; X
This works, but QB allows a single PRINT
Posts: 60
Threads: 8
Joined: Jan 2005
The math library has been updated:
* Added 3 more algorithms for nonlinear optimization (Marquardt, BFGS, Simplex)
* Split source code into more modules for smaller executables
* Added a batch file to recompile the library
* Updated the PDF documentation
The nonlinear equations solvers, which I have promised some time ago, will be added soon. I wanted to implement the optimization algorithms first because most equation solvers are derived from them.
is this a physic library ? cause i can really use one 8)
Posts: 60
Threads: 8
Joined: Jan 2005
Quote:is this a physic library ? cause i can really use one 8)
I already use these algorithms in chemical applications, so I think they can be used in physics too 8)
What is your problem exactly ?
Posts: 60
Threads: 8
Joined: Jan 2005
The library has been updated :
* Added 3 algorithms for nonlinear equations in one unknown (Bisection, Secant, Newton-Raphson)
* Added 2 algorithms for systems of nonlinear equations in several unknowns (Newton-Raphson, Broyden)
Best regards
Posts: 133
Threads: 19
Joined: Jan 2005
* BastetFurry smells the possibility for a free (as in mind and beer) competitor for programms like MathLab or Derive ^.^
color=red]Look at you, Hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?" - Shodan, AI at Citadel Station orbiting Earth[/color]
Posts: 60
Threads: 20
Joined: Jun 2002
what I mean is Physic for game, something like calculation for velocity, accel, momentum, rigid body dynamics, stuff like that....