Re: Pointers

2016-10-17 Thread Bob Sneidar
My understanding has been that handles became necessary when OS systems began to do memory housekeeping. A pointer might be viable before the housekeeping, and afterwards not. Handles allowed the system to re-reference the new location of the data in memory. > On Oct 15, 2016, at 07:48 , Coli

Re: Pointers

2016-10-17 Thread Bob Sneidar
I was kidding. I gave up on Pascal when I got to building GUI's and using the system API's. I saw immediately that unless I was going to program for a living, it was all just too much to assimilate along with everything else pertaining to IT that I had to know day to day. Bob S On Oct 15, 201

Re: Pointers

2016-10-15 Thread Mike Kerner
> > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > Behalf > Of Colin Holgate > Sent: Saturday, October 15, 2016 10:49 AM > To: How to use LiveCode > Subject: Re: Pointers > > The difficulty with pointers and handles was

RE: Pointers

2016-10-15 Thread Ralph DiMola
Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Colin Holgate Sent: Saturday, October 15, 2016 10:49 AM To: How to use LiveCode Subject: Re: Pointers The difficulty with point

Re: Pointers

2016-10-15 Thread Colin Holgate
The difficulty with pointers and handles was that with one you could get straight at the value you wanted, and the other you had to dereference it first. Meaning, that you were the one who had to understand whether you were dealing with a pointer or a handle. Computers ought to take care of thos

Re: Pointers

2016-10-15 Thread Mike Kerner
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 wrote: > When I was learning Pascal, I discovered that a handle was a pointer to a > pointer. When I learned why t

Re: Pointers

2016-10-14 Thread Bob Sneidar
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 wrote: > > Livecode has imported foundation which gives users > the ability to access those libra

Re: Pointers

2016-10-10 Thread Mike Kerner
You can use something similar to pointers going one direction by using "value", and the other way by using "do". Those are not full-on pointers, but it does give you some indirection. While sometimes it would be nice to have regular pointer syntax (but in a LC syntax way), at least you can get cl