Replacing GlobalNames with Global Values

hh hh at hyperhh.de
Mon Feb 11 23:08:37 EST 2019


> Roger G. wrote:
> Let’s say that I have 3 globals:
> gGlobal1 = 10.1, gGlobal2 = 20.2 and gGlobal3 = 30.3
> I have an expression like gGlobal1*gGlobal2/gGlobal3
> I want to transform this to the expression 10.1*20.2/30.3. 

As everything in LC is a string:

put gGlobal1 &"*"& gGlobal2 &"/"& gGlobal3



More information about the use-livecode mailing list