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


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

Re: Calling by reference - Cavo28SP4

From Jamal <nospam@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Calling by reference - Cavo28SP4
Date 2020-12-24 15:23 -0500
Organization Aioe.org NNTP Server
Message-ID <f546b3ea-6026-b1c2-fdde-1f2d60405100@example.com> (permalink)
References <b68ebaac-b05d-4875-bce7-db953e846985n@googlegroups.com> <a06132ee-1804-37f8-3a77-3ddc92029819@example.com> <rruhjt$1pf1$1@gioia.aioe.org> <ca33bae1-6f3a-40cd-818d-c702ddc86240n@googlegroups.com>

Show all headers | View raw


I see, just Robert said VO does not seem to check for the passed 
variable type. I never pass variables by reference; I think as you can 
see it's bug prone and you end with a corrupted return value.

Jamal

On 12/23/2020 6:47 AM, georg...@gmail.com wrote:
> Thank you for the answer Jamal,
> 
> Warnings are set on All and Warnings as Errors is checked on each application.
> However, I found an error with calling by reference.
> 
> The compiler does not give an error if you have a variable of type int, for example, and call it by reference in a function in which it is described as real8.
> Any idea about that?
> 
> Merry Christmas,
> 
> George
> 

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