First things first, im new to using a language where you have to specify the difference between integers and real numbers (yes its been that long :-s )
Im currently coding a matrix editor for DBPro and everything is going great, or was until the real number issue raised its head.
If I enter:
scale#=0.1 , scale# reports a value of 0.1
however if i enter:
scale#=variable_a/variable_b or just simply
scale#=100/500 , everything starts to go pear shaped because scale# reports back as zero.
I need to have a scale in the code so that matrix sizes can be scaled up/down to make design possible (the matrices are being line drawn for ease of editing then heights, textures etc transposed onto a real matrix later on). Sounds wonkey but try the snippet to see what I mean
Any suggestions are greatly appreciated.