Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shadowing
#10
(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. Smile
[Image: box.jpg]

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)
Reply


Messages In This Thread
Shadowing - by MasterGy - 10-21-2022, 06:31 PM
RE: Shadowing - by bplus - 10-21-2022, 06:54 PM
RE: Shadowing - by Pete - 10-21-2022, 07:02 PM
RE: Shadowing - by James D Jarvis - 10-22-2022, 12:05 AM
RE: Shadowing - by OldMoses - 10-22-2022, 01:10 AM
RE: Shadowing - by james2464 - 10-22-2022, 05:17 PM
RE: Shadowing - by MasterGy - 10-22-2022, 05:41 PM
RE: Shadowing - by james2464 - 10-22-2022, 06:32 PM
RE: Shadowing - by Pete - 10-22-2022, 06:00 PM
RE: Shadowing - by bplus - 10-22-2022, 06:26 PM
RE: Shadowing - by OldMoses - 10-23-2022, 01:27 AM
RE: Shadowing - by bplus - 10-22-2022, 06:38 PM
RE: Shadowing - by james2464 - 10-22-2022, 06:49 PM
RE: Shadowing - by MasterGy - 10-27-2022, 07:14 AM
RE: Shadowing - by bplus - 10-27-2022, 10:16 AM
RE: Shadowing - by mnrvovrfc - 10-27-2022, 07:03 PM



Users browsing this thread: 1 Guest(s)