• Clear Array

    From Hannes Kruger@hanneskruger1970@gmail.com to comp.lang.clarion on Wed Apr 1 08:49:53 2020
    From Newsgroup: comp.lang.clarion

    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
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Paul Attryde@clackmannan@Hotmail.com to comp.lang.clarion on Wed Apr 1 18:39:43 2020
    From Newsgroup: comp.lang.clarion

    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


    --- Synchronet 3.21d-Linux NewsLink 1.2