home *** CD-ROM | disk | FTP | other *** search
- -----------------------------------------------------------------------------
- Version 1.34 SupremeAsk 10/23/90
- Copyright (c) 1988-90 by SupremeSoft All Rights Reserved
- -----------------------------------------------------------------------------
-
- SASK is simply a Norton ASK clone. It has one added feature, the
- ability to import text files as the prompts. This allows you to display
- all those README files, and then request the user if they want to follow
- a certain course of action. All you have to do is add the prompt at the
- end of the README file.
-
- SASK automatically keeps track of the current display line, thus
- allowing you to display files which are more than 24 lines long. SASK
- will display "More...Press any key" at the end of each page. Naturally,
- if the display doesn't overrun one page, no such prompt is made.
-
- Calling Syntax: SASK ["Display Prompt" | filename.txt] KeyList [/D] [/K]
-
- You have the option to output a standard prompt, just as in Norton's
- ASK. To do so, just enclose the prompt in double quotes ("). (See note
- for C version), the program will then display that prompt and wait for
- one of the keys in KeyList to be entered.
-
- Returns: ERRORLEVEL set according to the key pressed, and it's
- location in the KeyList
-
- ERRORLEVEL set to 99 on any Errors including
- Ctrl-C/Ctrl-Break.
-
- Options: The inclusion of the /D switch causes SASK to display the key that
- was pressed.
-
- The inclusion of the /K switch causes SASK to flush the keyboard
- buffer before obtaining user input. In this way all type ahead is
- removed.
-
- Examples: SASK "Continue? (Y/N)" yn /D
-
- Displays <Continue? (Y/N)> and waits for either <Y>, <y>, <N>, <n>
- to be pressed. ERRORLEVEL is set as follows:
-
- <Y>,<y> ERRORLEVEL=1
- <N>,<n> ERRORLEVEL=2
- Any error ERRORLEVEL=99
-
-
- SASK readme.txt nye
-
- Displays the file README.TXT and waits for <Y>, <y>, <N>, <n>,
- <E>, <e>. ERRORLEVEL is returned as follows:
-
- <N>,<n> ERRORLEVEL=1
- <Y>,<y> ERRORLEVEL=2
- <E>,<e> ERRORLEVEL=3
- Any error ERRORLEVEL=99
-
-
-
- Note 1: To test ERRORLEVEL in batch files, make sure that you test for
- the HIGHEST possible return value FIRST! Otherwise, the batch file will
- execute the very first condition. Therefore use the following
- construct:
-
- if ERRORLEVEL=99
- if ERRORLEVEL=98
- if ERRORLEVEL=97
- .
- .
- .
- if ERRORLEVEL=1
-
-
- Check your DOS manual for further information.
-
- Note 2: Unlike Norton ASK, the program does not Beep at an incorrect key
- entry. Also, unlike ASK, the program will ALWAYS display it's copyright
- notice
- ---------------------------------------------------------------------------
- Changes since version 1.32:
-
- The C versions are no longer distributed.
-
- The two switches (/D and /K) have been included to allow the user to be a
- little more in control of the program.
- ---------------------------------------------------------------------------
- License/Warranty:
-
- There is NO warranty either expressed or implied. You use this
- program at your own risk! You may NOT hold SupremeSoft accountable for
- any damages that may occur either directly or indirectly from the use of
- this program.
-
- This program is distributed either by itself, or in a package of
- Utilities. To register SupremeAsk and to get a copy of the latest versions of
- all the Utilities send $10.00 to the address below:
-
- SupremeSoft
- 105 Deerfield Drive
- Easton, CT 06612
- Re: SASK (1.34)
-
- Corporate/Academic Site Licenses are available.
- ---------------------------------------------------------------------------
- ASK is a Registered Trademark of Norton Computing.
- ---------------------------------------------------------------------------
-