Posts: 780
Threads: 49
Joined: Dec 2001
I don't see what the fuss is really. I mean forget the bad coding practice of using same variable names, it's also just plain stoopid.
Vic, whats the status on those string bugs nath pointed out? We want to finish the game
Posts: 922
Threads: 15
Joined: Jun 2003
Fixed, i wasn't padding the fix-len string with null's when assigning them with smaller strings.
I'm trying to get that stupid DIM array(somenonconstant) to work, if i finish it today, i will upload the new version..
Z!re: dim bleh as integer: bleh% = expression is fixed, it should be working before, i had to correct just one line in the middle of the ~730 needed JUST to handle variables and arrays.
Now multiple arrays with same name and different types? No thanks, enough of backward compatible crap.
Changelog:
Quote:[fixed] RTRIM$ would fail with fixed-len strings as str_assign was not padding them nulls (v1ctor)
[fixed] DATE$ was allocating 2 chars less than needed (v1c)
[fixed] EXIT were not checking if was inside a compound stmt or a proc, an access violation would happen (v1c)
[fixed] vars explicity declared with full type weren't be found when used with a prefix of same type (v1c)
[fixed] emit was pushing words to stack and cleaning 4 bytes when converting to/from fpoint vars to/from short vars (v1c)
[fixed] ERASE was accepting any kind of vars, including scalars and non-dynamic arrays (v1c)
Posts: 6,419
Threads: 74
Joined: Mar 2002
We should pay v1ctor for his work
Good job, man.
Posts: 3,279
Threads: 170
Joined: Nov 2003
I'm sure that whoever takes a product commercial using FreeBASIC will have the balls to pay some royalties. I know I will, and I may just have a use for FreeBASIC commercially very soon.
I'd knock on wood, but my desk is particle board.
Posts: 31
Threads: 3
Joined: Dec 2004
check out what the thing does (v0.07) on this file:
http://badjas.killerz-web.com/BOMBER29.BAS
Posts: 979
Threads: 27
Joined: Aug 2001
I'd put a donation-box on the main page. And I'd be willing to hunt for a publisher when the documentation is complete.
Posts: 602
Threads: 27
Joined: Oct 2004
Quote:check out what the thing does (v0.07) on this file:
http://badjas.killerz-web.com/BOMBER29.BAS
i suggest to call freebasic from now on THE THING.
quote="NecrosIhsan"]
[/quote]
Posts: 658
Threads: 71
Joined: Sep 2003
[syntax="QBASIC"]
'Testing...
option explicit
randomize timer
dim number as integer
dim answer as string
number=int(rnd*100)
print number
dosad
line input "Enter the number: "; answer$
select case val(answer$)
case is > number
print "The number is smaller!"
case is < number
print "The number is bigger!"
case else
print "You are th winner!"
sleep
end
end select
loop[/syntax]
Always says number is bigger -second choice. fbc ver 0.7
url]http://fbide.sourceforge.net/[/url]
Posts: 922
Threads: 15
Joined: Jun 2003
Fixed.. another bug caused by optimizations..
What you mean badjas? It generated a 512k asm file and the obj couldn't be linked into an exe coz there are functions missing - btw, w/o the fix for that bug listed by VonGodric, many "fpoint relational-operator integer" won't work right.
Are you really going to try to get that to work? I wasn't talking seriously at qb45's board, mind you.. heh
Posts: 31
Threads: 3
Joined: Dec 2004
Oh... how silly of me.. ehm. I guess that's something that godric's IDE should catch better then. Cuz this occured to me in the IDE (running via that) as a crash.
And ehm... I'm just gonna go on with trying yes, cuz it would be interesting to me to see how much power (speed) freebasic gives (so I could put in like.. 200 bombs exploding simultaneously :-D ). And I don't need to work around memory limitations anymore in case that I could still improve it (but let's forget that particular idea X-) )