First script character repeating...

Discussion in 'AutoCAD' started by thilliard, Feb 16, 2004.

  1. thilliard

    thilliard Guest

    Win2kpro
    Acad2002

    I have a routine that I have just recently composed that has created a new bug that I am VERY unfamiliar with.

    I have four routines that are very similar in nature.

    I use a dialog box to point to the correct routine to be using.

    When arriving at the correct routine, the routine writes a script file to a local folder and then executes the script. (All four of the routines do likewise). I however, have one of the routines that is repeating the first character in the script twice...e.g

    expert 5 filedia 0
    zoom
    Extents
    qsave
    OPEN

    ...writes Eexpert to the command line...and...

    zoom
    expert 5 filedia 0
    Extents
    qsave
    OPEN

    ...writes Zzoom to the command line...

    WHY? WHAT have I done?

    The other 3 routines react by design, but this one...has me baffled...what did I overlook?

    I have temporarily resolved my issue by starting the script with the following

    (c:reset))
    expert 5 filedia 0
    zoom
    Extents
    qsave
    OPEN

    ...which in turn writes ((c:reset)) to the command line...

    So I am functional, but not pretty, and would like to understand where I have erred...

    Thanx
     
    thilliard, Feb 16, 2004
    #1
  2. thilliard

    dean_bourke Guest

    Can we have a look at the code?

    Dean
     
    dean_bourke, Feb 16, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.