Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Alexander Graham Bell is alive and well in New York, and still waiting for a dial tone.


devel / comp.lang.clipper.visual-objects / Re: Self:Delete() causes a processor stack error

SubjectAuthor
* Self:Delete() causes a processor stack errorDavid Linda
+- Re: Self:Delete() causes a processor stack errorJohnMartens
`* Re: Self:Delete() causes a processor stack errorJamal
 `* Re: Self:Delete() causes a processor stack errorDavid Linda
  `* Re: Self:Delete() causes a processor stack errorRobert van der Hulst
   `* Re: Self:Delete() causes a processor stack errorDavid Linda
    `* Re: Self:Delete() causes a processor stack errorRobert van der Hulst
     `* Re: Self:Delete() causes a processor stack errorDavid Linda
      `* Re: Self:Delete() causes a processor stack errorChris Pyrgas
       `* Re: Self:Delete() causes a processor stack errorKarl Faller
        `- Re: Self:Delete() causes a processor stack errorChris Pyrgas

1
Self:Delete() causes a processor stack error

<c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1247&group=comp.lang.clipper.visual-objects#1247

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:6214:3711:b0:534:d47e:d861 with SMTP id np17-20020a056214371100b00534d47ed861mr452623qvb.13.1674153879106;
Thu, 19 Jan 2023 10:44:39 -0800 (PST)
X-Received: by 2002:a0d:dd04:0:b0:4dc:8fc4:2ac0 with SMTP id
g4-20020a0ddd04000000b004dc8fc42ac0mr1478858ywe.117.1674153878902; Thu, 19
Jan 2023 10:44:38 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Thu, 19 Jan 2023 10:44:38 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:8b:8400:a2c0:498c:1a31:7204:e10d;
posting-account=sU18rAoAAABkmMxWPcRa-aD_FCz6Y1Ix
NNTP-Posting-Host: 2601:8b:8400:a2c0:498c:1a31:7204:e10d
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
Subject: Self:Delete() causes a processor stack error
From: dlinda2011@gmail.com (David Linda)
Injection-Date: Thu, 19 Jan 2023 18:44:39 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1496
 by: David Linda - Thu, 19 Jan 2023 18:44 UTC

I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:

Self:Delete()

I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!

Any ideas...thank you,

David

Re: Self:Delete() causes a processor stack error

<tqc3i0$1llee$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1248&group=comp.lang.clipper.visual-objects#1248

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: martens@tennishulp.info (JohnMartens)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Self:Delete() causes a processor stack error
Date: Thu, 19 Jan 2023 19:52:48 +0100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <tqc3i0$1llee$1@dont-email.me>
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Jan 2023 18:52:48 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="27885f27df94b80b988f409b243df07f";
logging-data="1758670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/A7+au9nq6fANFYfnXxbBPigqE4Sd3ml4="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:PwpGqiovdBy0L3mEj8TB7gSkgwc=
Content-Language: nl
In-Reply-To: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
 by: JohnMartens - Thu, 19 Jan 2023 18:52 UTC

Whats pahhens when you do a lokc() before the delete()
John

Op 19-1-2023 om 19:44 schreef David Linda:
> I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:
>
> Self:Delete()
>
> I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!
>
> Any ideas...thank you,
>
> David

Re: Self:Delete() causes a processor stack error

<tqd2gq$15g7$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1249&group=comp.lang.clipper.visual-objects#1249

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!aioe.org!usMzckGswq/a27BPojtwGg.user.46.165.242.75.POSTED!not-for-mail
From: nospam@example.com (Jamal)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Self:Delete() causes a processor stack error
Date: Thu, 19 Jan 2023 22:41:14 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tqd2gq$15g7$1@gioia.aioe.org>
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="38407"; posting-host="usMzckGswq/a27BPojtwGg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Jamal - Fri, 20 Jan 2023 03:41 UTC

Most likely you are calling the method in a **recursive loop**.

Need better help?

Go the X# forum at www.xsharp.eu and upload and a complete minimal AEF,
with all related files, which duplicates the issue.

I suggest you always provide the VO version, Window version, etc.

Also, if a post helps you, then say so. It's a good for others to see if
the issue is resolved in case they run into the same problem.

Jamal

On 1/19/2023 1:44 PM, David Linda wrote:
> I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:
>
> Self:Delete()
>
> I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!
>
> Any ideas...thank you,
>
> David

Re: Self:Delete() causes a processor stack error

<2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1250&group=comp.lang.clipper.visual-objects#1250

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:4792:0:b0:3b6:3c95:7351 with SMTP id k18-20020ac84792000000b003b63c957351mr521309qtq.594.1674228904846;
Fri, 20 Jan 2023 07:35:04 -0800 (PST)
X-Received: by 2002:a81:a187:0:b0:3ea:1d5a:a3ea with SMTP id
y129-20020a81a187000000b003ea1d5aa3eamr1662106ywg.306.1674228904615; Fri, 20
Jan 2023 07:35:04 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 20 Jan 2023 07:35:04 -0800 (PST)
In-Reply-To: <tqd2gq$15g7$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:8b:8400:a2c0:305e:36ee:bbea:3aab;
posting-account=sU18rAoAAABkmMxWPcRa-aD_FCz6Y1Ix
NNTP-Posting-Host: 2601:8b:8400:a2c0:305e:36ee:bbea:3aab
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com> <tqd2gq$15g7$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>
Subject: Re: Self:Delete() causes a processor stack error
From: dlinda2011@gmail.com (David Linda)
Injection-Date: Fri, 20 Jan 2023 15:35:04 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2376
 by: David Linda - Fri, 20 Jan 2023 15:35 UTC

On Thursday, January 19, 2023 at 10:41:16 PM UTC-5, Jamal wrote:
> Most likely you are calling the method in a **recursive loop**.
>
> Need better help?
>
> Go the X# forum at www.xsharp.eu and upload and a complete minimal AEF,
> with all related files, which duplicates the issue.
>
> I suggest you always provide the VO version, Window version, etc.
>
> Also, if a post helps you, then say so. It's a good for others to see if
> the issue is resolved in case they run into the same problem.
>
>
> Jamal
> On 1/19/2023 1:44 PM, David Linda wrote:
> > I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:
> >
> > Self:Delete()
> >
> > I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!
> >
> > Any ideas...thank you,
> >
> > David

I have a Delete button that contains this code:

Self:Delete()

I am using Virtalbox
windows 3.1
V.O. 1.0

Re: Self:Delete() causes a processor stack error

<c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1251&group=comp.lang.clipper.visual-objects#1251

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ae9:e88c:0:b0:706:6fc7:80be with SMTP id a134-20020ae9e88c000000b007066fc780bemr824102qkg.96.1674230417067;
Fri, 20 Jan 2023 08:00:17 -0800 (PST)
X-Received: by 2002:a81:79d0:0:b0:4fe:276a:baf4 with SMTP id
u199-20020a8179d0000000b004fe276abaf4mr439135ywc.401.1674230416775; Fri, 20
Jan 2023 08:00:16 -0800 (PST)
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 20 Jan 2023 08:00:16 -0800 (PST)
In-Reply-To: <2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=185.238.130.61; posting-account=Z1ci2QoAAADZS997NnUtDnV6mf_zpKFk
NNTP-Posting-Host: 185.238.130.61
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
<tqd2gq$15g7$1@gioia.aioe.org> <2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com>
Subject: Re: Self:Delete() causes a processor stack error
From: rjvanderhulst@gmail.com (Robert van der Hulst)
Injection-Date: Fri, 20 Jan 2023 16:00:17 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2757
 by: Robert van der Hulst - Fri, 20 Jan 2023 16:00 UTC

David,
Is the method that contains this code also called Delete ?
In that case:
- you do not need that method at all
- or you change the code to SUPER:Delete()

Robert

> On Thursday, January 19, 2023 at 10:41:16 PM UTC-5, Jamal wrote:
> > Most likely you are calling the method in a **recursive loop**.
> >
> > Need better help?
> >
> > Go the X# forum at www.xsharp.eu and upload and a complete minimal AEF,
> > with all related files, which duplicates the issue.
> >
> > I suggest you always provide the VO version, Window version, etc.
> >
> > Also, if a post helps you, then say so. It's a good for others to see if
> > the issue is resolved in case they run into the same problem.
> >
> >
> > Jamal
> > On 1/19/2023 1:44 PM, David Linda wrote:
> > > I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:
> > >
> > > Self:Delete()
> > >
> > > I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!
> > >
> > > Any ideas...thank you,
> > >
> > > David
> I have a Delete button that contains this code:
>
> Self:Delete()
>
> I am using Virtalbox
> windows 3.1
> V.O. 1.0

Re: Self:Delete() causes a processor stack error

<55b419dc-ac45-489e-8643-7762892da930n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1252&group=comp.lang.clipper.visual-objects#1252

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a0c:b208:0:b0:534:3c7d:97fc with SMTP id x8-20020a0cb208000000b005343c7d97fcmr914284qvd.11.1674231812513;
Fri, 20 Jan 2023 08:23:32 -0800 (PST)
X-Received: by 2002:a25:d57:0:b0:76c:f1a:8a81 with SMTP id 84-20020a250d57000000b0076c0f1a8a81mr976778ybn.479.1674231812274;
Fri, 20 Jan 2023 08:23:32 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 20 Jan 2023 08:23:31 -0800 (PST)
In-Reply-To: <c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:8b:8400:a2c0:305e:36ee:bbea:3aab;
posting-account=sU18rAoAAABkmMxWPcRa-aD_FCz6Y1Ix
NNTP-Posting-Host: 2601:8b:8400:a2c0:305e:36ee:bbea:3aab
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
<tqd2gq$15g7$1@gioia.aioe.org> <2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>
<c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <55b419dc-ac45-489e-8643-7762892da930n@googlegroups.com>
Subject: Re: Self:Delete() causes a processor stack error
From: dlinda2011@gmail.com (David Linda)
Injection-Date: Fri, 20 Jan 2023 16:23:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3175
 by: David Linda - Fri, 20 Jan 2023 16:23 UTC

On Friday, January 20, 2023 at 11:00:21 AM UTC-5, Robert van der Hulst wrote:
> David,
> Is the method that contains this code also called Delete ?
> In that case:
> - you do not need that method at all
> - or you change the code to SUPER:Delete()
>
> Robert
> > On Thursday, January 19, 2023 at 10:41:16 PM UTC-5, Jamal wrote:
> > > Most likely you are calling the method in a **recursive loop**.
> > >
> > > Need better help?
> > >
> > > Go the X# forum at www.xsharp.eu and upload and a complete minimal AEF,
> > > with all related files, which duplicates the issue.
> > >
> > > I suggest you always provide the VO version, Window version, etc.
> > >
> > > Also, if a post helps you, then say so. It's a good for others to see if
> > > the issue is resolved in case they run into the same problem.
> > >
> > >
> > > Jamal
> > > On 1/19/2023 1:44 PM, David Linda wrote:
> > > > I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:
> > > >
> > > > Self:Delete()
> > > >
> > > > I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!
> > > >
> > > > Any ideas...thank you,
> > > >
> > > > David
> > I have a Delete button that contains this code:
> >
> > Self:Delete()
> >
> > I am using Virtalbox
> > windows 3.1
> > V.O. 1.0

Holy Crap!

Robert it worked, But I don't understand...Self is my datawindow, super gets me to the app level, as I under stand this, which is why I don't understand. A more detailed explanation would be GREATLY appreciated.

Many thanks,

David

Re: Self:Delete() causes a processor stack error

<980ec5cf-c08a-4296-908e-947c366156f9n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1253&group=comp.lang.clipper.visual-objects#1253

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:7107:0:b0:3a9:7719:2175 with SMTP id z7-20020ac87107000000b003a977192175mr658161qto.651.1674233637584;
Fri, 20 Jan 2023 08:53:57 -0800 (PST)
X-Received: by 2002:a25:d4d6:0:b0:7af:6706:b242 with SMTP id
m205-20020a25d4d6000000b007af6706b242mr1916424ybf.555.1674233637304; Fri, 20
Jan 2023 08:53:57 -0800 (PST)
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 20 Jan 2023 08:53:57 -0800 (PST)
In-Reply-To: <55b419dc-ac45-489e-8643-7762892da930n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=185.238.130.61; posting-account=Z1ci2QoAAADZS997NnUtDnV6mf_zpKFk
NNTP-Posting-Host: 185.238.130.61
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
<tqd2gq$15g7$1@gioia.aioe.org> <2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>
<c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com> <55b419dc-ac45-489e-8643-7762892da930n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <980ec5cf-c08a-4296-908e-947c366156f9n@googlegroups.com>
Subject: Re: Self:Delete() causes a processor stack error
From: rjvanderhulst@gmail.com (Robert van der Hulst)
Injection-Date: Fri, 20 Jan 2023 16:53:57 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3493
 by: Robert van der Hulst - Fri, 20 Jan 2023 16:53 UTC

David,

You are confusing SUPER with OWNER

SUPER is the DataWindow class from which your class inherits.
OWNER is the Shellwindow class (if your window is inside a shellwindow)

Robert

> On Friday, January 20, 2023 at 11:00:21 AM UTC-5, Robert van der Hulst wrote:
> > David,
> > Is the method that contains this code also called Delete ?
> > In that case:
> > - you do not need that method at all
> > - or you change the code to SUPER:Delete()
> >
> > Robert
> > > On Thursday, January 19, 2023 at 10:41:16 PM UTC-5, Jamal wrote:
> > > > Most likely you are calling the method in a **recursive loop**.
> > > >
> > > > Need better help?
> > > >
> > > > Go the X# forum at www.xsharp.eu and upload and a complete minimal AEF,
> > > > with all related files, which duplicates the issue.
> > > >
> > > > I suggest you always provide the VO version, Window version, etc.
> > > >
> > > > Also, if a post helps you, then say so. It's a good for others to see if
> > > > the issue is resolved in case they run into the same problem.
> > > >
> > > >
> > > > Jamal
> > > > On 1/19/2023 1:44 PM, David Linda wrote:
> > > > > I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:
> > > > >
> > > > > Self:Delete()
> > > > >
> > > > > I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!
> > > > >
> > > > > Any ideas...thank you,
> > > > >
> > > > > David
> > > I have a Delete button that contains this code:
> > >
> > > Self:Delete()
> > >
> > > I am using Virtalbox
> > > windows 3.1
> > > V.O. 1.0
> Holy Crap!
>
> Robert it worked, But I don't understand...Self is my datawindow, super gets me to the app level, as I under stand this, which is why I don't understand. A more detailed explanation would be GREATLY appreciated.
>
> Many thanks,
>
> David

Re: Self:Delete() causes a processor stack error

<892ecd3f-ebe1-4c50-b0e8-df5e3cbf1c0bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1254&group=comp.lang.clipper.visual-objects#1254

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a37:b005:0:b0:706:5055:fa2c with SMTP id z5-20020a37b005000000b007065055fa2cmr539294qke.292.1674234913597;
Fri, 20 Jan 2023 09:15:13 -0800 (PST)
X-Received: by 2002:a5b:3c8:0:b0:6fe:54d5:2524 with SMTP id
t8-20020a5b03c8000000b006fe54d52524mr1552444ybp.522.1674234913396; Fri, 20
Jan 2023 09:15:13 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 20 Jan 2023 09:15:13 -0800 (PST)
In-Reply-To: <980ec5cf-c08a-4296-908e-947c366156f9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:8b:8400:a2c0:305e:36ee:bbea:3aab;
posting-account=sU18rAoAAABkmMxWPcRa-aD_FCz6Y1Ix
NNTP-Posting-Host: 2601:8b:8400:a2c0:305e:36ee:bbea:3aab
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
<tqd2gq$15g7$1@gioia.aioe.org> <2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>
<c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com> <55b419dc-ac45-489e-8643-7762892da930n@googlegroups.com>
<980ec5cf-c08a-4296-908e-947c366156f9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <892ecd3f-ebe1-4c50-b0e8-df5e3cbf1c0bn@googlegroups.com>
Subject: Re: Self:Delete() causes a processor stack error
From: dlinda2011@gmail.com (David Linda)
Injection-Date: Fri, 20 Jan 2023 17:15:13 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4015
 by: David Linda - Fri, 20 Jan 2023 17:15 UTC

On Friday, January 20, 2023 at 11:53:58 AM UTC-5, Robert van der Hulst wrote:
> David,
>
> You are confusing SUPER with OWNER
>
> SUPER is the DataWindow class from which your class inherits.
> OWNER is the Shellwindow class (if your window is inside a shellwindow)
>
> Robert
> > On Friday, January 20, 2023 at 11:00:21 AM UTC-5, Robert van der Hulst wrote:
> > > David,
> > > Is the method that contains this code also called Delete ?
> > > In that case:
> > > - you do not need that method at all
> > > - or you change the code to SUPER:Delete()
> > >
> > > Robert
> > > > On Thursday, January 19, 2023 at 10:41:16 PM UTC-5, Jamal wrote:
> > > > > Most likely you are calling the method in a **recursive loop**.
> > > > >
> > > > > Need better help?
> > > > >
> > > > > Go the X# forum at www.xsharp.eu and upload and a complete minimal AEF,
> > > > > with all related files, which duplicates the issue.
> > > > >
> > > > > I suggest you always provide the VO version, Window version, etc.
> > > > >
> > > > > Also, if a post helps you, then say so. It's a good for others to see if
> > > > > the issue is resolved in case they run into the same problem.
> > > > >
> > > > >
> > > > > Jamal
> > > > > On 1/19/2023 1:44 PM, David Linda wrote:
> > > > > > I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:
> > > > > >
> > > > > > Self:Delete()
> > > > > >
> > > > > > I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!
> > > > > >
> > > > > > Any ideas...thank you,
> > > > > >
> > > > > > David
> > > > I have a Delete button that contains this code:
> > > >
> > > > Self:Delete()
> > > >
> > > > I am using Virtalbox
> > > > windows 3.1
> > > > V.O. 1.0
> > Holy Crap!
> >
> > Robert it worked, But I don't understand...Self is my datawindow, super gets me to the app level, as I under stand this, which is why I don't understand. A more detailed explanation would be GREATLY appreciated.
> >
> > Many thanks,
> >
> > David
Oh yes...So then similarly my add code should be IF super:Append() = TRUE instead of IF Self:Append() = TRUE which is what I have now
This was also confusing because Self:Append() worked and Self:Delete did not. Thanks again

Re: Self:Delete() causes a processor stack error

<tqg8nj$q2o$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1255&group=comp.lang.clipper.visual-objects#1255

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!aioe.org!NPZwrbFgpqEpB8Xa/J0gpg.user.46.165.242.91.POSTED!not-for-mail
From: "chris (at)"@xsharp.eu (Chris Pyrgas)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Self:Delete() causes a processor stack error
Date: Sat, 21 Jan 2023 10:45:40 +0200
Organization: Aioe.org NNTP Server
Message-ID: <tqg8nj$q2o$1@gioia.aioe.org>
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
<tqd2gq$15g7$1@gioia.aioe.org>
<2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>
<c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com>
<55b419dc-ac45-489e-8643-7762892da930n@googlegroups.com>
<980ec5cf-c08a-4296-908e-947c366156f9n@googlegroups.com>
<892ecd3f-ebe1-4c50-b0e8-df5e3cbf1c0bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="26712"; posting-host="NPZwrbFgpqEpB8Xa/J0gpg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.4.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Chris Pyrgas - Sat, 21 Jan 2023 08:45 UTC

Hi David,

> On Friday, January 20, 2023 at 11:53:58 AM UTC-5, Robert van der Hulst wrote:
>> David,
>>
>> You are confusing SUPER with OWNER
>>
>> SUPER is the DataWindow class from which your class inherits.
>> OWNER is the Shellwindow class (if your window is inside a shellwindow)
>>
>> Robert
>>> On Friday, January 20, 2023 at 11:00:21 AM UTC-5, Robert van der Hulst wrote:
>>>> David,
>>>> Is the method that contains this code also called Delete ?
>>>> In that case:
>>>> - you do not need that method at all
>>>> - or you change the code to SUPER:Delete()
>>>>
>>>> Robert
>>>>> On Thursday, January 19, 2023 at 10:41:16 PM UTC-5, Jamal wrote:
>>>>>> Most likely you are calling the method in a **recursive loop**.
>>>>>>
>>>>>> Need better help?
>>>>>>
>>>>>> Go the X# forum at www.xsharp.eu and upload and a complete minimal AEF,
>>>>>> with all related files, which duplicates the issue.
>>>>>>
>>>>>> I suggest you always provide the VO version, Window version, etc.
>>>>>>
>>>>>> Also, if a post helps you, then say so. It's a good for others to see if
>>>>>> the issue is resolved in case they run into the same problem.
>>>>>>
>>>>>>
>>>>>> Jamal
>>>>>> On 1/19/2023 1:44 PM, David Linda wrote:
>>>>>>> I find this error to be very curious, I have a data window. My intention is to create a basic add, edit, delete app and the code in my delete button contains the following code:
>>>>>>>
>>>>>>> Self:Delete()
>>>>>>>
>>>>>>> I get a processor stack error. While debugging I see the delete code execute over and over until I get the error. I don't understand why the code executes over nd over, and the delete never occurs!
>>>>>>>
>>>>>>> Any ideas...thank you,
>>>>>>>
>>>>>>> David
>>>>> I have a Delete button that contains this code:
>>>>>
>>>>> Self:Delete()
>>>>>
>>>>> I am using Virtalbox
>>>>> windows 3.1
>>>>> V.O. 1.0
>>> Holy Crap!
>>>
>>> Robert it worked, But I don't understand...Self is my datawindow, super gets me to the app level, as I under stand this, which is why I don't understand. A more detailed explanation would be GREATLY appreciated.
>>>
>>> Many thanks,
>>>
>>> David
> Oh yes...So then similarly my add code should be IF super:Append() = TRUE instead of IF Self:Append() = TRUE which is what I have now
> This was also confusing because Self:Append() worked and Self:Delete did not. Thanks again

The problem with the Delete() method was that you named the method that
was calling Delete(), also "Delete", something like that:

METHOD Delete() CLASS ...
SELF:Delete()

so that code in line 2 was calling the same method itself again and
again. Using SUPER instead of SELF, you tell the compiler that you want
to call the same named method that is called one level lower in the
class hierarchy, so there's no recursive call anymore.

It's the same with Append(), if you were calling it from a same named
method like this:

METHOD Append() CLASS ...
SELF:Delete() // recursive call

then you woudl have again the same problem.

Btw, are you really using VO 1.0 and Win 3.1 (in a virtual machine) as
you mentioned in one of your previous posts?

Chris

Re: Self:Delete() causes a processor stack error

<2b3qshhqlarek0kp5g3a1fqg0asi61fpor@4ax.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1256&group=comp.lang.clipper.visual-objects#1256

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mail_withoutthat_@_drei-f_andthat_.de (Karl Faller)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Self:Delete() causes a processor stack error
Date: Sun, 22 Jan 2023 11:18:43 +0100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <2b3qshhqlarek0kp5g3a1fqg0asi61fpor@4ax.com>
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com> <tqd2gq$15g7$1@gioia.aioe.org> <2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com> <c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com> <55b419dc-ac45-489e-8643-7762892da930n@googlegroups.com> <980ec5cf-c08a-4296-908e-947c366156f9n@googlegroups.com> <892ecd3f-ebe1-4c50-b0e8-df5e3cbf1c0bn@googlegroups.com> <tqg8nj$q2o$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="917a95958c3a077d30a75749c58d22b9";
logging-data="3232762"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Rzxr1taFwDLdyF+MBY2QB"
User-Agent: ForteAgent/7.20.32.1218
Cancel-Lock: sha1:mfE5cHNnEtuHteDwh8YwlUqOHtw=
 by: Karl Faller - Sun, 22 Jan 2023 10:18 UTC

On Sat, 21 Jan 2023 10:45:40 +0200, Chris Pyrgas wrote:

>METHOD Append() CLASS ...
>SELF:Delete() // recursive call
>
>then you woudl have again the same problem.
FTR, Chris, this should be:

METHOD Append() CLASS ...
SELF:Append() // recursive call
>
Regards

Karl

Re: Self:Delete() causes a processor stack error

<tqlibe$57s$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1258&group=comp.lang.clipper.visual-objects#1258

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!aioe.org!aZuY48v5l9UgUgWn3r+lcQ.user.46.165.242.91.POSTED!not-for-mail
From: "chris (at)"@xsharp.eu (Chris Pyrgas)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Self:Delete() causes a processor stack error
Date: Mon, 23 Jan 2023 11:00:33 +0200
Organization: Aioe.org NNTP Server
Message-ID: <tqlibe$57s$1@gioia.aioe.org>
References: <c72c33ac-a391-434b-a9a2-724a053ec265n@googlegroups.com>
<tqd2gq$15g7$1@gioia.aioe.org>
<2870437d-6749-4415-b6b3-c2a706ccd8c8n@googlegroups.com>
<c33a1778-e680-48f9-ab6b-f2d8112388d1n@googlegroups.com>
<55b419dc-ac45-489e-8643-7762892da930n@googlegroups.com>
<980ec5cf-c08a-4296-908e-947c366156f9n@googlegroups.com>
<892ecd3f-ebe1-4c50-b0e8-df5e3cbf1c0bn@googlegroups.com>
<tqg8nj$q2o$1@gioia.aioe.org> <2b3qshhqlarek0kp5g3a1fqg0asi61fpor@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="5372"; posting-host="aZuY48v5l9UgUgWn3r+lcQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.4.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Chris Pyrgas - Mon, 23 Jan 2023 09:00 UTC

Thanks Karl :)

On 22/01/2023 12:18, Karl Faller wrote:
> On Sat, 21 Jan 2023 10:45:40 +0200, Chris Pyrgas wrote:
>
>> METHOD Append() CLASS ...
>> SELF:Delete() // recursive call
>>
>> then you woudl have again the same problem.
> FTR, Chris, this should be:
>
> METHOD Append() CLASS ...
> SELF:Append() // recursive call
>>
> Regards
>
> Karl
>

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor