Announcement

Collapse
No announcement yet.

Error 100

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Amos Vryhof
    Guest replied
    I'll try clearing the elements that way. The only problem with
    that is that it leaves the memory allocated but empty. That
    *could* run me in to problems. I'll test, and if everything
    works out good, I will keep it.

    Maybe I could handle this problem by adding optional disk swap
    routines to my program. Then I would have two powerful memory
    management routines in my progem. (Flat Real Mode, and Disk Swap)



    ------------------
    Amos

    Leave a comment:


  • Matthias Kuhn
    replied
    Hi Amos,

    I´ve had a similar problem and the best way was to set all
    elements to 0 or "" to clear the memory.

    e.g.

    for i%=1 to elements
    array%(i%)=0
    or
    array$(i%)=""
    next i%

    Hope this helps.

    Regards Matthias Kuhn


    ------------------

    Leave a comment:


  • Amos Vryhof
    Guest started a topic Error 100

    Error 100

    I am working with a pretty large and complex program using a lot
    of dynamic arrays. I have integrated Erik Olsen's BozoL into
    the program, and use a Dynamic array that can be 1000 elements in
    size to hold the program. When I am loading a new program I can
    not ERASE, DIM, or REDIM the array before loading a new program
    without getting Runtime Error 100. I looked for this in the
    help system, but there is no reference to it.

    Does anyone know what this error code is?

    The reason I need to clear the array is so I can run more than
    one program per session in BozoL.

    If you want to see my code, go to http://disvr.cjb.net/projects/scon.html

    And download it. The problem is in scon\working\bozunit.bas

    Thanks,

    Amos

    ------------------
    Amos
Working...
X