An hash array dictonary step by step
#7
(03-19-2023, 09:16 PM)TempodiBasic Wrote: @Madscijr

after copying, pasting and running your last code, I got this error


[Image: image.png]
in  which on running the line 380 gives a duplicate name error.
Looking at code in the line 380 of code of the library of Luke simply I see that it has been expanded the SHARED array m_arrLookUp...
This array has been declared at line 45 as SHARED.
This is a strange result, because running your demo the SUB ExpandArrayIfNeed has been called when I have put as input the choice 3. Write with no runtime error.

Using QB64pe v. 3.4.1 on Windows 11

Hmm. I was using QB64 2.0.2 for this, maybe there is an incompatibility? 

I went to try with QB64PE 3.6.0 and am getting compilation errors on a simple test program
Code: (Select All)
Cls
Print "hello world"
Sleep


so I will need to fix that, before I can recreate your issue. 

(I just posted a plea for help in the "help me" section...)

Stay tuned!
Reply


Messages In This Thread
RE: An hash array dictonary step by step - by madscijr - 03-20-2023, 01:35 PM



Users browsing this thread: 23 Guest(s)