list.mylist.nextvalue causes strange errors: Expression 'text' is invalid. Expression contains an...


Author
Message
Sercan
Sercan
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 25, Visits: 120
I build a list, like so:

<list category1>
/ items = ("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16")
/ replace = false
</list>

<list category2>
/ items = ("17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32")
/ replace = false
</list>

<list catalogue>
</list>

<values listbuilder>
/ delaytype = -1
/ ct = 0
/ ct2 = 0
/ tester = "..."
</values>

<block listbuilder>
/ trials = [1=listbuilder]
</block>

<trial listbuilder>
/ ontrialbegin = [
    values.delaytype+=1;
    values.ct+=1;
    if(values.delaytype==4){
        values.delaytype=0;
        list.catalogue.appenditem(concat(concat(values.delaytype,"F"),list.category1.nextvalue));
        list.catalogue.appenditem(concat(concat(values.delaytype,"O"),list.category2.nextvalue))
    }else{
        list.catalogue.appenditem(concat(concat(values.delaytype,"F"),list.category1.currentvalue));
        list.catalogue.appenditem(concat(concat(values.delaytype,"O"),list.category2.currentvalue));
    }
]
/ timeout=0
/ branch=[
    if(values.ct < 16*4){
        trial.listbuilder
    }
]
</trial>


However, any subsequent call to list.catalogue.nextvalue causes an error and does not provide the next value. It says:

element: list.catalogue
attribute: nextvalue
message: Expression '2F10' is invalid. Expression contains an unknown element or property name.



It seems like Inquisit is trying to parse the list item... but I merely want to assign the item as a string to a variable. What should I do?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search