Re: Rooting around in the Forum: destructors

2017-06-06 Thread Mark Waddingham via use-livecode
On 2017-06-03 18:46, Richmond Mathewson via use-livecode wrote: Not having looked at any sort of "serious" programming language since about 1989 (I don't think that VB 6 is a serious language), I find it hard to understand what a destructor is beyond a way to free memory on a system that has

Re: Rooting around in the Forum: destructors

2017-06-05 Thread Bob Sneidar via use-livecode
OOP is driven by the concept of classes and objects, and you cannot think that only means buttons and fields, user interface objects only. OOP means something quite different. Every thing you can refer to in an OOP environment MUST have a parent class. That is what I mean by, "driven". A

Re: Rooting around in the Forum: destructors

2017-06-05 Thread Bob Sneidar via use-livecode
It's a scripting language. It's not the job of Livecode to do memory management. In fact it's hardly the job of modern apps to do it. The OS manages most of that. For us, the App is the livecode engine, and not our script. Bob S > On Jun 3, 2017, at 09:46 , Richmond Mathewson via

Re: Rooting around in the Forum: destructors

2017-06-03 Thread Richmond Mathewson via use-livecode
Thanks for the explanation: although, to be honest I've never really quite worked out what the difference is between Object-oriented languages and Object-based languages (I know that LiveCode is object-based). If being an Object-based language means you have pre-made objects to play around

Re: Rooting around in the Forum: destructors

2017-06-03 Thread Mark Schonewille via use-livecode
Short answer: LiveCode doesn't have destructors because the xTalk family of languages doesn't require them. xTalk languages make the life of the developer easier by taking such tasks our of their hands. 1a) Yes, under the hood, because LiveCode is written using variants of C, which are object

Re: Rooting around in the Forum: destructors

2017-06-03 Thread Mark Wieder via use-livecode
On 06/03/2017 09:46 AM, Richmond Mathewson via use-livecode wrote: http://forums.livecode.com/viewtopic.php?f=8=29319 Having now had a brief glance at that post, Guglielmo is correct. This has nothing to do with destructors. -- Mark Wieder ahsoftw...@gmail.com

Rooting around in the Forum: destructors

2017-06-03 Thread Richmond Mathewson via use-livecode
http://forums.livecode.com/viewtopic.php?f=8=29319 Not having looked at any sort of "serious" programming language since about 1989 (I don't think that VB 6 is a serious language), I find it hard to understand what a destructor is beyond a way to free memory on a system that has constraints in