Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #1587 > unrolled thread
| Started by | Bill Tillick <wtillick@gmail.com> |
|---|---|
| First post | 2011-07-03 20:57 -0700 |
| Last post | 2011-07-07 20:59 -0700 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
VO2.8 error - ACCESS/ASSIGN method..... Bill Tillick <wtillick@gmail.com> - 2011-07-03 20:57 -0700
Re: VO2.8 error - ACCESS/ASSIGN method..... "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-07-04 01:14 -0700
Re: VO2.8 error - ACCESS/ASSIGN method..... Massimo Bighelli <info@arcasistemi.it> - 2011-07-04 18:38 +0200
Re: VO2.8 error - ACCESS/ASSIGN method..... "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-07-04 22:07 +0000
Re: VO2.8 error - ACCESS/ASSIGN method..... Bill Tillick <wtillick@gmail.com> - 2011-07-07 20:59 -0700
| From | Bill Tillick <wtillick@gmail.com> |
|---|---|
| Date | 2011-07-03 20:57 -0700 |
| Subject | VO2.8 error - ACCESS/ASSIGN method..... |
| Message-ID | <c4058b21-f660-4206-8977-0c99814d2b09@b39g2000prd.googlegroups.com> |
Help please: I cannot figure out to deal with the cause of this new error in VO2.8 when compiling a VO2.5 program (It never was a problem on 2.5!) - "ACCESS/ASSIGN method has same name as PROTECTED or HIDDEN ivar xxxxx: 51565" where the 'offending' code is such as: ASSIGN address2 (uValue) CLASS CreaDB SELF:FIELDPUT(#address2, uValue) RETURN address2 := uValue or access SHORTNAME() class AllowsUpdate return self:FieldGet(#SHORTNAME) How did you folks solve this problem when moving to 2.8? Thanks, Bill
[toc] | [next] | [standalone]
| From | "richard.townsendrose" <richard.townsendrose@gmail.com> |
|---|---|
| Date | 2011-07-04 01:14 -0700 |
| Message-ID | <a37ac59b-71bf-48d6-a536-cca15f351f62@u30g2000vby.googlegroups.com> |
| In reply to | #1587 |
Bill in the windows gui editopr, you need to set the property "NO ACCESS/ ASSIGN" to Yes richard
[toc] | [prev] | [next] | [standalone]
| From | Massimo Bighelli <info@arcasistemi.it> |
|---|---|
| Date | 2011-07-04 18:38 +0200 |
| Message-ID | <iusq9t$fpn$2@speranza.aioe.org> |
| In reply to | #1587 |
Bill, use different names for your class instance and tour ACCESS i.e. ACCESS myVar CLASS XXX return SELF:_myVar and in your class declaration PROTECT _myVar AS ... Massimo Il 04/07/2011 05:57, Bill Tillick ha scritto: > Help please: I cannot figure out to deal with the cause of this new > error in VO2.8 when compiling a VO2.5 program (It never was a problem > on 2.5!) - > "ACCESS/ASSIGN method has same name as PROTECTED or HIDDEN ivar xxxxx: > 51565" > where the 'offending' code is such as: > > ASSIGN address2 (uValue) CLASS CreaDB > SELF:FIELDPUT(#address2, uValue) > RETURN address2 := uValue > > or > access SHORTNAME() class AllowsUpdate > return self:FieldGet(#SHORTNAME) > > How did you folks solve this problem when moving to 2.8? > > Thanks, > Bill
[toc] | [prev] | [next] | [standalone]
| From | "Geoff Schaller" <geoffx@softwarexobjectives.com.au> |
|---|---|
| Date | 2011-07-04 22:07 +0000 |
| Message-ID | <4e12398d$0$2126$c30e37c6@exi-reader.telstra.net> |
| In reply to | #1587 |
Bill, As Richard suggests, turn off the accesses and assigns to the window. These are grossly wasteful. Most people do not access a server field from the window and it just generates wasteful code. It was part of VO's original framework that hardly anyone ever really used. Geoff "Bill Tillick" <wtillick@gmail.com> wrote in message news:c4058b21-f660-4206-8977-0c99814d2b09@b39g2000prd.googlegroups.com: > Help please: I cannot figure out to deal with the cause of this new > error in VO2.8 when compiling a VO2.5 program (It never was a problem > on 2.5!) - > "ACCESS/ASSIGN method has same name as PROTECTED or HIDDEN ivar xxxxx: > 51565" > where the 'offending' code is such as: > > ASSIGN address2 (uValue) CLASS CreaDB > SELF:FIELDPUT(#address2, uValue) > RETURN address2 := uValue > > or > access SHORTNAME() class AllowsUpdate > return self:FieldGet(#SHORTNAME) > > How did you folks solve this problem when moving to 2.8? > > Thanks, > Bill
[toc] | [prev] | [next] | [standalone]
| From | Bill Tillick <wtillick@gmail.com> |
|---|---|
| Date | 2011-07-07 20:59 -0700 |
| Message-ID | <e9f7f0f8-3eda-43e2-a466-1fac2852303a@e35g2000yqc.googlegroups.com> |
| In reply to | #1596 |
Thanks, Folks. Richard, Geoff - I missed seeing that setting in the editor, so will chase it down now. (Ah yes, most of my settings show Auto, so will attend to that asap.) Massimo - I have just been away for a couple of days R&R (sort of) and managed a few hours on the laptop in which I arrived at the equivalent of your suggestion, so am pleased to have that approach confirmed. ...and for the record here, Stefan has emailed me with advice to "in the window editor make a dummy change so you trigger the editor to generate new source code. After that your errors will be gone." Thanks again, and regards, Bill
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web