• Clear Array

    From Hannes Kruger@21:1/5 to All on Wed Apr 1 08:49:53 2020
    Good day,

    I've declared a local DIM variable as type LONG. I've tested the clear function with the following code:

    clear(array)
    stop(array[1])
    stop(array[2])
    stop(array[3])

    The result is:
    0
    0
    8117080 (This value can be anything)

    Is my usage of the CLEAR function incorrect?

    Regards,
    Hannes

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Attryde@21:1/5 to Hannes Kruger on Wed Apr 1 18:39:43 2020
    No, as far as I can see you're doing it correctly.
    What version of Clarion is this?

    Paul

    On 2020-04-01 11:49, Hannes Kruger wrote:
    Good day,

    I've declared a local DIM variable as type LONG. I've tested the clear function with the following code:

    clear(array)
    stop(array[1])
    stop(array[2])
    stop(array[3])

    The result is:
    0
    0
    8117080 (This value can be anything)

    Is my usage of the CLEAR function incorrect?

    Regards,
    Hannes


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)