Re: Tree using wxEuphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
EUWX said...
gbonvehi said...

The void is a global variable used to store results which are not needed, that's why it doesn't use it later.
.........

This is done on the example using the sequence called items instead of individual variables.

I appreciate your and Matt Lewis' response and explanation.

I understand the need for storing the node items in the variable "item".
I don't understand why the last level of items are not stored and are in fact, "voided".

I don't really recall, but knowing me, I got lazy or something and didn't bother storing them. Or maybe I added that extra layer later on, and didn't bother.

EUWX said...

If I wanted to store them, I presume I would have to make another empty variable, otherwise the sequence might become unwieldy.

Yep, up to you.

EUWX said...

Referring still to the demo program, I was also initially confused about the use of value 0 in the sequence "item". I am used to (in other languages) creating an appropriate literal or numeric variable for storage, but I presume although the demo is using 0, it is actually storing the text items and not their 32 bit pointers - Am I right in this presumption?

You mean the way that item is initialized? 0 was used just as a placeholder to create the sequence. That gets replaced with the wxTreeItem ids. IIRC, they're not really pointers.

EUWX said...

Going back to my earlier request re Linux, I would still like to work simultaneously in Linux. I noticed that the latest Ubuntu, Edubuntu, Versions 11 and 12 can be used off a CD/DVD, and I have installed on my computer a freeware program (by Gizmo) that allows a portion of hard drive to be seen as a CD/DVD with a separate drive letter. In fact I can have 4 or more virtual CD/DVDs to speed up the CD/DVD access. I would like to know which Linux version would be easiest to use with wxEuphoria and a URL to instructions for Euphoria and wxEuphoria on your favourite Linux distro.

I tend to use Kubuntu. So, really, any Ubuntu variant should allow you to use the binaries that I've built and posted, though it's generally pretty easy to build them on Linux.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu