(10-22-2022, 05:41 PM)MasterGy Wrote:(10-22-2022, 05:17 PM)james2464 Wrote: Amazing what can be done with QB64
I was reading the code and trying to see what the least understandable portion is (to me), and I believe this is it:
Code: (Select All)side(t2) = Val(Mid$("024623673175105445670123", 1 + t * 4 + t2, 1))
I looked up mid$ on the wiki and it's about selecting part of a string. That makes this even more interesting...
Anyway thanks for sharing this. Great work.
Thanks for the comments!
I invented it to draw the cube. This is what the number line "024623673175105445670123" means. It must be interpreted with 4 essays.
So...sort of like READ and DATA but selecting the data from a string of data using variables to adjust where the data is within the string?
Very interesting invention! Almost like a data keyboard, the mid$ allows you to press different keys and you just start by listing them all.
(I might have misunderstood but that's what it seems like it's doing)