PROMPT[TX="Enter LEAD as the length of Lead In/Out lines. The minimum
distance for lead In/Out lines is .125" , VN="LEAD", DV=1]
//
// check LEAD variable
//
WHILE(#LEAD<.125)// Be sure it is .125 and bigger!
PAUSE[TX="ERROR: The LEAD In/Out length must be .125 and bigger!",
PT=1] // Include box cancel option
#LEAD=1000000 // this resets LEAD variable to an unknown
value
ENDW
The above is a portion of a mcl file that prompts
you for a value for the variable "LEAD"
Then it does a WHILE/END loop to check to see if the LEAD is
less then .125.
That works to a point.
The point being that the PAUSE does not display a box
on the screen saying
ERROR: The LEAD In/Out length must be .125 and bigger! OK Cancel
Instead you get a box saying,
Enter the value for LEAD:
at which point if you enter say .125 the macro carries on.
If you enter less then .125 the
Enter the value for LEAD: box keeps coming up.
My question here is, why does it not show the PAUSE box
with the explanation of the lead in/out line being too small?
Regards,
Michael Senack
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================