Gilldur So if I am using string right and I want to call the procs according to the index this would work or not ?
FOR i FROM 1 TO NUM_STYLES DO
IF giStyleSelect = styleNumbers{i} THEN
SETGO goStyleEcho, styleNumbers{i};
styleFunctions{i}:="";
styleFound := TRUE;
BREAK;
ENDIF
ENDFOR the only part from this code that i need to make sure is that it will get the data styleFunctions{i}:=""; and call the proc