playMaker

Author Topic: hash table index shuffles at runtime?  (Read 594 times)

pierre nay

  • Playmaker Newbie
  • *
  • Posts: 28
  • we used a vax to render spheres
hash table index shuffles at runtime?
« on: January 22, 2021, 04:35:09 AM »
i have assigned an array of integers using hash table. I want to  get index but during runtime , the index range shuffles itself in no particular order. how do I stop this and why does it do this? please help thanks.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: hash table index shuffles at runtime?
« Reply #1 on: January 22, 2021, 06:36:16 AM »
Hi.
Hash tables work this way, (you can google why :) )

To use index you can use arrays.