Search found 2 matches

by Pjbonovox
Apr 29, 2019 19:39
Forum: General
Topic: Floats vs Integers
Replies: 3
Views: 638

Floats vs Integers

Hi all. I'm sure this isn't the first time this has been mentioned, but I'm curious about floats vs integers and whether large integers would be better for 3D programming than single or double precision floats. I'm working on a project for DOS, and of course I'm trying to get as much speed as possib...
by Pjbonovox
Apr 22, 2019 10:08
Forum: Beginners
Topic: Unexpected behaviour of type arrays
Replies: 8
Views: 2276

Unexpected behaviour of type arrays

Greatly simplified, but for the output I'd expect 10, but get 0. What's the best way to achieve the desired outcome? TYPE athing x AS INTEGER END TYPE TYPE collection thing AS athing END TYPE DIM somethings(10) as athing DIM manythings(10) as collection somethings(0).x = 10 manythings(0) = something...

Go to advanced search