Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13225

Re: Function or Object

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Function or Object
Date 2021-01-20 13:09 +0100
Message-ID <i6qksfFdiueU1@mid.individual.net> (permalink)
References <7e5c102c-6008-4dd3-85c9-21589e5b0c51n@googlegroups.com> <i6lf0mFd6g9U1@mid.individual.net> <e9a78d82-81b9-49a7-9453-a56c0f8c62b0n@googlegroups.com> <i6ndd9FonpvU1@mid.individual.net> <846e4f06-1ea8-41e8-a64f-9620af88b7abn@googlegroups.com>

Show all headers | View raw


Hi Gregory,

> I'm working on my code that is nearly 20 years old when I was much
> less advanced in object programming and there is a lot of mess to
> clean-up. :( Last question concerning above example:  If Init() does
> nothing and my class is not inherited (ie no any SUPER:Init() ) must
> it exist or may be omitted?

in VO you don't need an Init method, and I have many cases where I do
not added it intentionally.

But you should be aware that .NET needs a constructor (the Init method
in the .NET world), so you should add it for the case you like to
migrate your code later to X# (both the XPorter and the compiler have
an option to generate missing constructors).
Therefore I have started to add these methods to my VO code whenever I
touch a place where it is missing.

Wolfgang


-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Function or Object "Grzegorz R." <ramotny64@gmail.com> - 2021-01-17 03:30 -0800
  Re: Function or Object "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-01-18 13:59 +0100
    Re: Function or Object "Grzegorz R." <ramotny64@gmail.com> - 2021-01-18 08:50 -0800
      Re: Function or Object "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-01-19 07:43 +0100
        Re: Function or Object "Grzegorz R." <ramotny64@gmail.com> - 2021-01-20 03:32 -0800
          Re: Function or Object "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-01-20 13:09 +0100

csiph-web