The beeping jogbox thread

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

  • The beeping jogbox thread

    I've been toying with this ever since Jim Jewell first posted. Using on error worked, but if you wanted to have more than one sound it caused som pauses that eliminated the usefulness of it. Today I discovered that you can add code AFTER a PROGRAM/END. The onerror goto will go to a label AFTER program end. It works, I tested it. Here is the code:

    Code:
                MODE/DCC
                ONERROR/UNEXPECTED_HIT,GOTO L1
                MOVE/POINT,0,0,8
    Your program goes here!
                MOVE/POINT,0,0,8
    Insert external object here. I use a wave from the AT&T site Matt posted. It basically says it is done, load another part.
     
                PROGRAM/END
    L1         =LABEL/
     Insert another internal object here. I have one that says there is a problem.        
     
    
    When in doubt, post code. A second set of eyes might see something you missed.
    sigpic

Related Topics

Collapse

Working...
X