The problem is that you are passing a string to the axlGetParam procedure.
Because "x" is inside of double quotes, you are passing a string "x" rather than the evaluation of the variable x.
use sprintf, and I would check to make sure that x is an integer:
procedure(Text(x)
when(integerp(x)
axlGetParam(sprintf(nil "paramTextBlock:%d" x))
)
)
This should return the param or nil (when invalid input).
Originally posted in cdnusers.org by natebizu