images in field: pointers or copies?

2017-05-31 Thread Richard Gaskin via use-livecode
t rendered as copies of the image data, but as pointers to the source image. That would seem to imply a somewhat smaller RAM footprint than complete copies, but since they are rendered throughout the field I'm not exactly clear how much may be saved, so: @LC Staff: Any of you in a posi

Why pointers are fast

2016-10-24 Thread JB
To understand why pointers are fast you need to know a pointer stores the address to a object like a variable in memory and you need to know what that address is doing. Here is another really good lesson on pointers. http://masters-of-the-void.com The tutorial is called Masters of the Void and

Re: Why pointers are fast

2016-10-24 Thread Bob Sneidar
Nice resource. I'm going to go through that just fir kicks and grins. Bob S > On Oct 24, 2016, at 08:15 , JB wrote: > > To understand why pointers are fast you need to know > a pointer stores the address to a object like a variable > in memory and you need to know

Re: Pointers

2016-10-17 Thread Bob Sneidar
:48 , Colin Holgate wrote: > > 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 p

Re: Pointers

2016-10-17 Thread Bob Sneidar
On Oct 15, 2016, at 07:38 , Mike Kerner mailto:mikeker...@roadrunner.com>> wrote: 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; ___ use-livecode mail

Re: Pointers

2016-10-15 Thread Mike Kerner
Agreed, colin. The language and the tool should be doing the work, not me. The compiler should be doing the work, not me. On Sat, Oct 15, 2016 at 12:12 PM, Ralph DiMola wrote: > Bliss32(Dec VMS) used periods "." for pointers. Multi dots were allowed and > gave me many a head

RE: Pointers

2016-10-15 Thread Ralph DiMola
Bliss32(Dec VMS) used periods "." for pointers. Multi dots were allowed and gave me many a headache back in the day. Myvar==>The the variables value .Myvar==>Address of the variables value ..Myvar==>Address of the address to the variables value And so on... Ralph DiMola IT

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

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

Re: Pointers

2016-10-14 Thread Bob Sneidar
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.

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),

Pointers

2016-10-09 Thread JB
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 vari

Any pointers on my ZIP script on iOS?

2012-08-22 Thread William de Smet
Hi there, Can anyone give me some pointers on using revZip on iOS? I have a folder with subfolders (containing .TXT files) in "Documents" that I would like to have zipped. The structure is like this: Documents/names/name1/name1.txt Documents/names/name2/name2.txt etc This scripts d