ASK or ASKN

Ask the user a question and skip over part of the install.txt file if the answer is NO.

 

Parameter 1: Destination label to continue processing commands at with a NO answer.

Parameter 2: [ASK] or [ASKN]

Parameter 3: Question text to be displayed for the user.

 

 The label specified in Parameter 1 is used on a line by itself preceeded by a colon (:) to indicate the continuation point.

Example:

,[MSGBOX],This is the beginning of the install.txt file.

FIRSTTEST,[ASK],Answer NO if you want me to go to FIRSTTEST.

,[MSGBOX],You answered YES to the FIRSTTEST question.

SECONDtest,[ASK],Answer this one NO to go to SECONDTEST.

:FIRSTTEST

,[MSGBOX],I have just passed the FIRSTTEST mark.

:SEcOnDTesT

,[MSGBOX],I have just passed the SECONDTEST mark.

 

(Destination labels are not case sensitive.)

 

Back to the Installation Script Index