On Tue, 18 Nov 2014, Karl Reinl wrote:
> Salut Tobi,
> 
> played with you trie example (trietest)
>

I'm glad to hear that :-)

>
> it crash if 
> p = h.GetPrefix("texte") find nothing (p=null), even when change
> to p = h.GetPrefix("Texte")
> 
> My change is h["texte"] to h["Texte"] (source attached)

Not so glad about that...

Did it really crash (i.e. segfault or abort or ...)? When I run the project
it stops at line 25 with the error "Null object" which is to be expected
because the prefix "texte" doesn't exist anymore after your changes. If I
change line 25 to p = h.GetPrefix("Texte"), then it runs through flawlessly
here.

If it really crashes, I need to know your Gambas version / revision and your
system specs, especially your 32- or 64-bitness. It would also help if you
provided a gdb backtrace and a valgrind log of the crash. Do you know how to
do that?

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to