Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13190

Re: Calling by reference - Cavo28SP4

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Calling by reference - Cavo28SP4
Date Mon, 21 Dec 2020 16:36:02 +0100
Lines 41
Message-ID <i4btn3F12irU1@mid.individual.net> (permalink)
References <b68ebaac-b05d-4875-bce7-db953e846985n@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
X-Trace individual.net /ni3gZLT76qL47Z65EF0WwI2gyLxXKbZsoJndq24hbNyKGiKo=
Cancel-Lock sha1:/HtAlcfinh/y/s+osUNJu27FVlY=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:13190

Show key headers only | View raw


Hi Georgi,

I'm not sure about this, but I think real8 has a something different
behavior.

If the code on both sides is yours, why you don't use the float
datatype?

Wolfgang

georg...@gmail.com wrote:

> Hello everyone,
> 
> What is the best way to find the following problems with calling by
> reference in the software:
> 
> function MyFunctioOne () as logic
>    local nVar: = 0 as int
>   
>    MyFunctioTwo (@nVar)
> or
>    MyFunctioTwo (nVar)
> 
> return (true)
> 
> function MyFunctioTwo (nVar ref real8) as logic
> ....
>    nVar: = 1234.56
> 
> return (true)
> 
> Thanks in advance for the reply!
> 
> Best regards.
> Georgi Georgiev



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Calling by reference - Cavo28SP4 "georg...@gmail.com" <georgiev.hr@gmail.com> - 2020-12-18 00:07 -0800
  Re: Calling by reference - Cavo28SP4 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-12-21 16:36 +0100
    Re: Calling by reference - Cavo28SP4 "georg...@gmail.com" <georgiev.hr@gmail.com> - 2020-12-22 04:04 -0800
  Re: Calling by reference - Cavo28SP4 Jamal <nospam@example.com> - 2020-12-22 16:24 -0500
    Re: Calling by reference - Cavo28SP4 Jamal <nospam@example.com> - 2020-12-22 23:38 -0500
      Re: Calling by reference - Cavo28SP4 "georg...@gmail.com" <georgiev.hr@gmail.com> - 2020-12-23 03:47 -0800
        Re: Calling by reference - Cavo28SP4 Robert van der Hulst <rjvanderhulst@gmail.com> - 2020-12-23 05:00 -0800
          Re: Calling by reference - Cavo28SP4 "georg...@gmail.com" <georgiev.hr@gmail.com> - 2020-12-23 06:05 -0800
        Re: Calling by reference - Cavo28SP4 Jamal <nospam@example.com> - 2020-12-24 15:23 -0500
          Re: Calling by reference - Cavo28SP4 "georg...@gmail.com" <georgiev.hr@gmail.com> - 2021-01-04 00:38 -0800

csiph-web