File Hadnling Once Again...

Blitz3D Forums/Blitz3D Beginners Area/File Hadnling Once Again...

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.

You are setting Gamma_Num to dat$(15). dat$(15) = "gamma=0.5" so converting the string "gamma=0.5" to a number may give you wierd results. You really should set Gamma_Num to equal only the numeral part of dat$(15). To do this you will need to subtract the beginning of the string from it.

Something like: dat$(15) = right$(dat$(15), Len(dat$(15) - 6)

BTW, I'm at work, so if I didnt' write that line correctly, you'll have to figure it out.