Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and appears to be fixed. Will keep monitoring.


devel / comp.lang.xharbour / Re: What ami I missing?

SubjectAuthor
* What ami I missing?Richard Latta
+- What ami I missing?Dan
`- What ami I missing?dlzc

1
What ami I missing?

<25a8b33c-f327-49d2-8f17-bbe3fb52bd9an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10538&group=comp.lang.xharbour#10538

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a37:b442:0:b0:69a:fc75:ca52 with SMTP id d63-20020a37b442000000b0069afc75ca52mr4090604qkf.730.1649787136652;
Tue, 12 Apr 2022 11:12:16 -0700 (PDT)
X-Received: by 2002:a37:797:0:b0:69b:f57c:954d with SMTP id
145-20020a370797000000b0069bf57c954dmr4222306qkh.594.1649787136485; Tue, 12
Apr 2022 11:12:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 12 Apr 2022 11:12:16 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:547:8180:1300:f5f4:7738:873f:2343;
posting-account=e5gJ4woAAADQJPHjvJqRVa8MFzO6fcFI
NNTP-Posting-Host: 2601:547:8180:1300:f5f4:7738:873f:2343
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <25a8b33c-f327-49d2-8f17-bbe3fb52bd9an@googlegroups.com>
Subject: What ami I missing?
From: wr.now.2...@gmail.com (Richard Latta)
Injection-Date: Tue, 12 Apr 2022 18:12:16 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Richard Latta - Tue, 12 Apr 2022 18:12 UTC

I am using Xprompt on Windows 7
My code is as follows:

Request dbfntx
set defaultrdd("dbfntx")
local mmpn,mmpi,mmpt,mcsp

proc main()
sele 1
use g:\f7_\llm____
do whil .t.
do whil !bof()
local subs(x,1,1) := T
goto bott
mmpn := mpn
mcsp := csp
mmpi := mpi
mmpt := mpt

local mpn := mmpn
repl all csp with mcsp,mpi with mmpi,mpt with mmpt

local subs(x,1,1) := T
if bof()
rele all like m*
exit
retu
else
skip -1
endi
endd
endd
retu

Any assistance would be appreciated.

Re: What ami I missing?

<t35sjj$sqm$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10539&group=comp.lang.xharbour#10539

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: webmas...@appliserver.com (Dan)
Newsgroups: comp.lang.xharbour
Subject: Re: What ami I missing?
Date: Wed, 13 Apr 2022 09:03:13 +0200
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <t35sjj$sqm$1@dont-email.me>
References: <25a8b33c-f327-49d2-8f17-bbe3fb52bd9an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Apr 2022 07:03:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1f4033702a4ac369cfc33f3455d6a0ae";
logging-data="29526"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FSlYYr0fDEGLLgaK7n7/F"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:gu9SbbSHvObTkcL+DphJZG53ly4=
In-Reply-To: <25a8b33c-f327-49d2-8f17-bbe3fb52bd9an@googlegroups.com>
 by: Dan - Wed, 13 Apr 2022 07:03 UTC

Il 12/04/2022 20:12, Richard Latta ha scritto:
> I am using Xprompt on Windows 7
> My code is as follows:
>
> Request dbfntx
> set defaultrdd("dbfntx")
> local mmpn,mmpi,mmpt,mcsp

Local declaration can't be put after any statement
>
> proc main()
> sele 1
> use g:\f7_\llm____
> do whil .t.

this seems an infinite loop. How do you exit?

> do whil !bof()
> local subs(x,1,1) := T
> goto bott
> mmpn := mpn
> mcsp := csp
> mmpi := mpi
> mmpt := mpt
>
> local mpn := mmpn
> repl all csp with mcsp,mpi with mmpi,mpt with mmpt
>
> local subs(x,1,1) := T
> if bof()
> rele all like m*
> exit
> retu
> else
> skip -1
> endi
> endd
> endd
> retu
>
> Any assistance would be appreciated.

Re: What ami I missing?

<3f721650-f6ef-4a93-a6f6-f13903fc3e0en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10540&group=comp.lang.xharbour#10540

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:45aa:b0:680:9ec6:ed42 with SMTP id bp42-20020a05620a45aa00b006809ec6ed42mr7034505qkb.179.1649860511608;
Wed, 13 Apr 2022 07:35:11 -0700 (PDT)
X-Received: by 2002:a05:620a:4142:b0:67d:15ab:bece with SMTP id
k2-20020a05620a414200b0067d15abbecemr7106422qko.686.1649860511458; Wed, 13
Apr 2022 07:35:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 13 Apr 2022 07:35:11 -0700 (PDT)
In-Reply-To: <25a8b33c-f327-49d2-8f17-bbe3fb52bd9an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.107.209.13; posting-account=7bF0GwoAAABMFHX6V4fON4-1F6LFJ834
NNTP-Posting-Host: 68.107.209.13
References: <25a8b33c-f327-49d2-8f17-bbe3fb52bd9an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3f721650-f6ef-4a93-a6f6-f13903fc3e0en@googlegroups.com>
Subject: Re: What ami I missing?
From: dlz...@cox.net (dlzc)
Injection-Date: Wed, 13 Apr 2022 14:35:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 65
 by: dlzc - Wed, 13 Apr 2022 14:35 UTC

On Tuesday, April 12, 2022 at 11:12:17 AM UTC-7, wr.now...@gmail.com wrote:
> I am using Xprompt on Windows 7
> My code is as follows:
>
> Request dbfntx
[...]
> local mmpn,mmpi,mmpt,mcsp
>
> proc main()
[> set defaultrdd("dbfntx") > sele 1 ]
> use g:\f7_\llm____
> do whil .t.
.... you have just opened the file, you are likely at BOF.
[> goto bott ... syntax error? goto expects a record number.
> go bott]

> do whil !bof()
[...] statement moved up
> local subs(x,1,1) := T
.... neither 'x' nor 'T' have been defined
.... you cannot make a function (the LHS of the :=) local.

> mmpn := mpn
> mcsp := csp
> mmpi := mpi
> mmpt := mpt
>
> local mpn := mmpn
What the hell are you trying to do with the above statement? "LOCAL" has a meaning, it defines a symbolic name, and optionally assigns it a value. You have already used 'mpn' about 5 lines before. And if 'mpn' is a field name in your database, you have created another memory variable with the same name. Now you will have to reference the DBF field with llm____->mpn

> repl all csp with mcsp,mpi with mmpi,mpt with mmpt
>
> local subs(x,1,1) := T
.... same crap

> if bof()
.... recommend you issue CLOSE ALL

> rele all like m*
.... includes DBF field names, right?

> exit "Dan: THIS is why it would not be an infinite loop, if it did not have other errors."
> retu
.... only makes sense at the end of a function. The following "else" (just below) ends the true condition processing.

> else
> skip -1
> endi
> endd
> endd
.... this entire "do while .t." and second "endd" loop are pointless.
> retu
>
> Any assistance would be appreciated.

What are you trying to do?

What did you think you were doing with 'local subs(x,1,1) := T'

David A. Smith

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor