Pointers

Mike Kerner MikeKerner at roadrunner.com
Sat Oct 15 10:38:25 EDT 2016


I don't know why you would have a problem with that;
Once you understand how to use pointers, you should have no problems with
handles;

On Sat, Oct 15, 2016 at 12:05 AM, Bob Sneidar <bobsneidar at iotecdigital.com>
wrote:

> 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 <sundown at 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 at 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 at 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."



More information about the use-livecode mailing list