i bit off topic, but its required for the XML project.. how do i see if another type already exists? like for example,
theres about 1000 nodes, each one is a different type of 'car' so i made a 'CarType' storage on the car nodes..
that way i can later call all the data with that 'CarType' on it.
i'm storing my xml data in types.
i have a dropdown menu that i add all these CarTypes to, so that a user can pick what catagory displayed in the other dropdown.
so to add these i do this:
this works good but because theres more then 1 care with that division, it adds a bunch of useless duplicates i need to see like this:
How do i do this?
theres about 1000 nodes, each one is a different type of 'car' so i made a 'CarType' storage on the car nodes..
that way i can later call all the data with that 'CarType' on it.
i'm storing my xml data in types.
i have a dropdown menu that i add all these CarTypes to, so that a user can pick what catagory displayed in the other dropdown.
so to add these i do this:
for allcars.car = each car WB3D_AddGadgetItem(carscatagory,allcars\division$,0,0) next
this works good but because theres more then 1 care with that division, it adds a bunch of useless duplicates i need to see like this:
for allcars.car = each car if this isnt already in the dropdown then WB3D_AddGadgetItem(shipcatagory,allships\division$,0,0) next
How do i do this?