When I was learning Pascal, I discovered that a handle was a pointer to a pointer. When I learned why that had to be, I decided to stick with Hypercard. :-)
Bob S > On Oct 9, 2016, at 18:12 , JB <sund...@pacifier.com> wrote: > > Livecode has imported foundation which gives users > the ability to access those libraries and it was written > you can use pointers. Pointers are used in both C & > objective-C. You write them a little different but the > basic concept is the same. A pointer points to a > location in memory. A variable is an object which the > pointer points to. If variable X holds the integer 34 & > is located in the memory stack at 4217 the pointer will > simply hold that address which points you to 4217 in > memory so you can access and change the contents > of the memory at 4217 which is the object named X > and it is a variable of the type int or another type. > > To efficiently write code using pointers you need a > good understanding of them. Here is a link to one > of the best tutorials I have seen on pointers; > > http://pw1.netcom.com/~tjensen/ptr/pointers.htm > > This is written for beginners but it is so good even > many advanced programmers with a good knowledge > of pointers will benefit greatly from reading it. > > JB > > _______________________________________________ > 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