cancel
Showing results for 
Search instead for 
Did you mean: 

How to select an item from a listbox using variables through macros?

Valued Contributor
Valued Contributor

Hello, everybody!

 

The FEMAP's Users Guide shows that to select an item in a listbox or combobox is necessary to use <~...> where the "..." is the index of the item. For example, to choose the Output Set 1 is necessary to write:

 

$ ========================================

$ Manage Output Sets

{~1235}

$ ----- Output Set Manager

<@18000><~0><OK>

 

I need that this index be a variable. I tried:

 

#DEF(j,0)

$ ========================================

$ Manage Output Sets

{~1235}

$ ----- Output Set Manager

<@18000><~!j><OK>

 

But didn't work. I also tried to use <~j>, !j and j but nothing worked. Does somebody knows how to do this?

 

Fabiano