am I silly or why I don't get the picture...
why your code:
code:
if val($answer) > 0 and val($answer) < 16
$ = RunChosenApp(val($answer)) ;call the running UDF with the number of choice as parameter
endif

get $

function RunChosenApp($n)
$ = execute("run '$Choices[$n]'") ; translated : run 'appn.exe'
endfunction

can't be replaced with:
code:
if $answer > 0 and $answer < 16
run $choices[$answer]
endif

get $

isn't that just the same?

[ 13. January 2003, 16:58: Message edited by: Lonkero ]
_________________________
!

download KiXnet