Error 100

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

    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
  • Matthias Kuhn
    Member
    • Mar 1999
    • 214

    #2
    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


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

    Comment

    • Amos Vryhof

      #3
      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

      Comment

      Working...
      X