you should not mess up the execute in this as it has no relevance.

the current change in your code, to change the labels with the var is the most thing we can advice without seeing the whole executing code...

still, it probably would not minimize it anymore.

what comes to udfs, they are just like kixtart functions, just user made.

you use them the same way as readline() or box() or any other kix function.
only difference is that you need to add the udf-code... say definition-code... somewhere to kix to know what you want.
you don't have to know the inner working of an udf.
just how you call it and what it brings back...

think anyway that it's another lesson...
with udf, I see no way to shorten the current code...

j?
_________________________
!

download KiXnet