Something... else...

Miscellaneous Forums/General Discussion/Something... else...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've yet to try it but did poke around the site a bit. The only thing that I thought was a bit off was the fact that the automatic type conversion doesn't behave the way most languages do but instead converts the type of the object on the right to the type of the object on the left.

That just seems foolish since you might have some code which looks like this

float2 = int + float1

Now float1 is getting converted to an int and you've just introduced an error (or at least a degree of imprecision) into your code. Type conversion should always convert numerics into the type of the most precise numeral in the expression.