Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Protozoa are small, and bacteria are small, but viruses are smaller than the both put together."


devel / comp.lang.clipper.visual-objects / DECLARING A REAL8 VARIABLE DOES NOT WORK

SubjectAuthor
* DECLARING A REAL8 VARIABLE DOES NOT WORKjuan.chava...@gmail.com
`* Re: DECLARING A REAL8 VARIABLE DOES NOT WORKPhil McGuinness
 `- Re: DECLARING A REAL8 VARIABLE DOES NOT WORKjuan.chava...@gmail.com

1
DECLARING A REAL8 VARIABLE DOES NOT WORK

<73cf49f5-e761-42e9-8fcc-8ee1dcdddc94n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:198a:b0:3e3:7e4f:ca7d with SMTP id u10-20020a05622a198a00b003e37e4fca7dmr2408393qtc.8.1679780290023;
Sat, 25 Mar 2023 14:38:10 -0700 (PDT)
X-Received: by 2002:a05:6902:1586:b0:98e:6280:74ca with SMTP id
k6-20020a056902158600b0098e628074camr4065852ybu.1.1679780289782; Sat, 25 Mar
2023 14:38:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.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: Sat, 25 Mar 2023 14:38:09 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=201.196.125.42; posting-account=jiHOGgkAAABCxwUt38dlP3qbJWSyxTmI
NNTP-Posting-Host: 201.196.125.42
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <73cf49f5-e761-42e9-8fcc-8ee1dcdddc94n@googlegroups.com>
Subject: DECLARING A REAL8 VARIABLE DOES NOT WORK
From: juan.chavarria.grillo@gmail.com (juan.chava...@gmail.com)
Injection-Date: Sat, 25 Mar 2023 21:38:10 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1536
 by: juan.chava...@gmail. - Sat, 25 Mar 2023 21:38 UTC

greetings:
I am adding some values into a viariable declared as REAL8.
But when the value es greater than 9,999,999,999 it's NTRIM(value) turn to ***********
For example:

LOCAL suma AS REAL 8, y as USUAL, i,n as INT
suma:=REAL8(0) // I tried with REAL8(0) but the problem persists
FOR i=1 to n
y:=somefunction()
IF UsualType(y)=FLOAT.or.UsualType(y)=LONGINT
suma:=suma+y
WarningBox{,"SUMA",+NTRIM(suma)}:show()
ENDIF
NEXT i
Thanks for any help
Juan

Re: DECLARING A REAL8 VARIABLE DOES NOT WORK

<01ffd193-b6a1-462a-a971-9ac1467a6db4n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:198a:b0:3e3:7e4f:ca7d with SMTP id u10-20020a05622a198a00b003e37e4fca7dmr3512855qtc.8.1679881384972;
Sun, 26 Mar 2023 18:43:04 -0700 (PDT)
X-Received: by 2002:a05:6902:709:b0:ad2:3839:f49 with SMTP id
k9-20020a056902070900b00ad238390f49mr8269208ybt.5.1679881384738; Sun, 26 Mar
2023 18:43:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.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: Sun, 26 Mar 2023 18:43:04 -0700 (PDT)
In-Reply-To: <73cf49f5-e761-42e9-8fcc-8ee1dcdddc94n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=220.233.174.33; posting-account=fRzZsQoAAADwaaqj-H-lyUfDBtpEL68c
NNTP-Posting-Host: 220.233.174.33
References: <73cf49f5-e761-42e9-8fcc-8ee1dcdddc94n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <01ffd193-b6a1-462a-a971-9ac1467a6db4n@googlegroups.com>
Subject: Re: DECLARING A REAL8 VARIABLE DOES NOT WORK
From: mcguinnesssherlock@gmail.com (Phil McGuinness)
Injection-Date: Mon, 27 Mar 2023 01:43:04 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1256
 by: Phil McGuinness - Mon, 27 Mar 2023 01:43 UTC

Why not use a FLOAT

REAL8 has some inconsistent behavious for business $.C work

Phil

Re: DECLARING A REAL8 VARIABLE DOES NOT WORK

<c030ff2f-d66d-4cfa-8d36-289feece534cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ad4:58e6:0:b0:56f:6e1b:fac1 with SMTP id di6-20020ad458e6000000b0056f6e1bfac1mr2525627qvb.2.1679969814568;
Mon, 27 Mar 2023 19:16:54 -0700 (PDT)
X-Received: by 2002:a05:6902:1102:b0:b2f:bdc9:2cdc with SMTP id
o2-20020a056902110200b00b2fbdc92cdcmr9131104ybu.7.1679969814281; Mon, 27 Mar
2023 19:16:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.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: Mon, 27 Mar 2023 19:16:53 -0700 (PDT)
In-Reply-To: <01ffd193-b6a1-462a-a971-9ac1467a6db4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=201.196.125.42; posting-account=jiHOGgkAAABCxwUt38dlP3qbJWSyxTmI
NNTP-Posting-Host: 201.196.125.42
References: <73cf49f5-e761-42e9-8fcc-8ee1dcdddc94n@googlegroups.com> <01ffd193-b6a1-462a-a971-9ac1467a6db4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c030ff2f-d66d-4cfa-8d36-289feece534cn@googlegroups.com>
Subject: Re: DECLARING A REAL8 VARIABLE DOES NOT WORK
From: juan.chavarria.grillo@gmail.com (juan.chava...@gmail.com)
Injection-Date: Tue, 28 Mar 2023 02:16:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1730
 by: juan.chava...@gmail. - Tue, 28 Mar 2023 02:16 UTC

El domingo, 26 de marzo de 2023 a la(s) 19:43:05 UTC-6, Phil McGuinness escribió:
> Why not use a FLOAT
>
> REAL8 has some inconsistent behavious for business $.C work
>
> Phil
Thanks for your advice. I will consider it.
I have to tell you that finally I found that the problem was with the SetDigit() function.
I incressed its value from the default (10) to 15 and the problem was solved. :)
Thank you very much.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor