Nope. try it. I'll spare everyone else the suspense. You get "1". Hello dereferencing pointers.
I also did this: put 1 into a put "a" into b put "b" into c put value(c) which gives me "a", which I half-expected, but if I put value(value(c)) I still get "1", so now I can also build handles as well as pointers. And yes, it works compiled, and on mobile. On Mon, Jul 28, 2014 at 5:08 PM, <dunb...@aol.com> wrote: > Well, it all started in 1987. > > > ("a"), and (quote & "a" & quote) are not the same thing at all. One is a > literal and the other is a variable. > > > > put 1 into a > put "a" into b > put value(b) > > > You could have just "put b". But in any case, the variable "a" was > created and loaded with a "1". Then the variable "b" was created and loaded > with the literal "a". The two never spoke to each other. > > > Is this what you meant? It is harder to read my post than understand it. > > > Craig > > > > > -----Original Message----- > From: Mike Kerner <mikeker...@roadrunner.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Sent: Mon, Jul 28, 2014 4:52 pm > Subject: [TAO] value() to obtain pointer functionality > > > If someone is going to tell me that I just forgot this, and it's well-known > behavior, I'm going to have a small cow, because I was of the impression > that we were pointer-less. Maybe not. > > put 1 into a > put "a" into b > put value(b) > > > Welcome to the Tao of LiveCode. Again. Grrrrrrrrrrrr. All those wasted > DO statements. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode