Are you saying this would run *in* a BASIC program?
Or at TCL?


-----Original Message-----
From: Rex Gozar <rgo...@gmail.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Fri, Aug 24, 2012 12:16 pm
Subject: Re: [U2] Variable Interpolation


The OP is describing an "evaluate" function that executes code on the
fly based on variable values.  See JavaScript's eval() function for a
similar concept.

For example, maybe I have some variables like WIDGET and EVENT, and I
want to dynamically generate the label to an internal subroutine:

EVALUATE('GOSUB ':WIDGET:'.':EVENT)

rex
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to