Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UDG definition bug (*solved*)
#9
(04-05-2021, 08:57 PM)worcestersource Wrote: I've been scratching my head around this. I've found that if you declare the array that holds the UDGs in an (a, b) format, when you call it, the array needs to take two parts.

Code:
POKE uInteger 23675, @graphicsdata(0,0)

This may help someone in the future.

It's already been discussed in the forum (somewhere). In general for an array a(i1, i2, i3, .., iN), the first element is a(0,0,0,0,0...0), and you can use @ to get its address.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)