Forums > Javascript

JSUI -> Coll…huh?

Jun 13 2006 | 8:12 pm

So here’s a befuddling problem. I have JSUI object that stores its data in Coll. I found the name of a coll and stored it the reference to the object in a variable. I then send several messages to the coll from the JSUI using:


This works for the "dump"
and "renumber" messages,
and I can also get it to work with "int".
dataStore.message("int", 1);

However, I’m trying to send the nsub message to send one value in a set, and it just doesn’t work. No errors, but nothing happens. I have checked with a statement just before it to make sure that dataStore is a valid resource, and it is. This doesn’t make any sense to me. Anyone care to enlighten?


Jun 13 2006 | 8:31 pm

Um…ooops. I figured it out. But in case you’ve never tried this before, here was the prob:

You have to name the message just like you do with "int", then send EACH item of the list as a seperate value, delimited with commas. So to use nsub, I had to do this

dataStore.message("nsub", 1, 3, 20039);

So yeah, then it works fine. Have a good day everyone…

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Javascript