That's the beauty of LiveCode. We have all been taught that things are
hard, but LiveCode shows they need not be! I still haven't leaned!!!
On Tue, 12 Feb 2019 at 14:45, Roger Guay via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Of course!! I should have thought of this, but was making
Of course!! I should have thought of this, but was making it too hard. Thanks,
Herman!
And thanks to Monte, Terry and Mark for teaching me something new.
Roger
> On Feb 11, 2019, at 9:08 PM, hh via use-livecode
> wrote:
>
>> Roger G. wrote:
>> Let’s say that I have 3 globals:
>> gGlobal1 =
> 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 &"/"& gGlob
On 2/11/19 6:58 PM, Roger Guay via use-livecode wrote:
Granted, this may be too esoteric for me to understand, but I can’t seem to
make this do what I want to do
Let’s say that I have 3 globals: gGlobal1 = 10.1, gGlobal2 = 20.2 and gGlobal3
= 30.3
I have an expression like gGlobal1*gGlo
Something like...
put merge("[[gGlobal1]]*[[gGlobal2]]/[[gGlobal3]]") into tEquation
On 12/2/19, 1:58 pm, "use-livecode on behalf of Roger Guay via use-livecode"
wrote:
Granted, this may be too esoteric for me to understand, but I can’t seem to
make this do what I want to do
Let
Granted, this may be too esoteric for me to understand, but I can’t seem to
make this do what I want to do
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 express
Do you mean as a string?
put format(“%f*%f/cos(%f) = %f”, gGlobal1, gGlobal2, gGlobal3,
gGlobal1*gGlobal2/cos(gGlobal3))
> On 12 Feb 2019, at 8:43 am, Roger Guay via use-livecode
> wrote:
>
> Hi all,
>
> I can’t seem to come up with a succinct way of doing this:
>
> I have a mathematical ex