Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3781
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: new errors with SP4 |
| Date | 2012-07-15 21:55 +0200 |
| Message-ID | <a6gln1F5mdU1@mid.individual.net> (permalink) |
| References | <7406c0bc-0082-4685-b7de-837fa0606898@googlegroups.com> |
Bonjour Jean-Luc, > ... (usually, method without return) This Error was already mentioned by VO 2.8 with the more strict compiler. It's nothing new of SP4 > But I also get specific error I can't correct: > ACCESS/ASSIGN method has same name as PROTECTED or HIDDEN ivar EMP_WP Since VO 2.8 same names are no longer allowed. Also nothing new. This error mostly occurs by recompiling imported VO 2.7-aefs I'm naming the Protect variables as follows: The Protect has a beginning underscore and the Assign/Access method the same name as the variable, but without underscore. See the sample below. (old Ivo Wessels trick) CLASS ccEtikett INHERIT CustomControl PROTECT _nIndex, _nReiheNr, _nSpalteNr AS DWORD // ACCESS nIndex CLASS ccEtikett RETURN _nIndex ASSIGN nIndex(uValue) CLASS ccEtikettSELF:_nIndex := uValue RETURN _nIndex By the way, HWND, CFILTRE,CHERCHE are usable as varable names, if you follow the suggestion with the underscore Good Luck Urs
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
new errors with SP4 igsoftsprl.be@gmail.com - 2012-07-15 11:39 -0700
Re: new errors with SP4 Martin Hock <martintheodorfritz@gmail.com> - 2012-07-15 12:55 -0700
Re: new errors with SP4 Jean-Luc Stassen <igsoftsprl.be@gmail.com> - 2012-07-15 13:39 -0700
Re: new errors with SP4 "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2012-07-15 21:55 +0200
csiph-web