home *** CD-ROM | disk | FTP | other *** search
- --------------------------------------------------------------------------
- Version 1.32 SupremeAsk 02/25/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
-
- 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.
-
- Examples: SASK "Continue? (Y/N)" yn
-
- 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: For the C versions, instead of using double quotes, you must use
- single quotes (').
-
- Note 3: 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.31:
-
- The C versions are now also being distributed, and are on the disk as
- SASK2.EXE and SASK3.EXE. SASK2 is the version optimized for
- 80186/80286/80386/80486 processors, though not suitable for running under
- OS/2. SASK3 is the 8086/808 processor version.
-
- The C versions are slightly bigger in size, but take up less memory, and
- tend to run a bit faster. The choice of which version (Pascal or C) to use
- is left up to you.
-
- There was only one small error in the program, thus the reason for not
- updating it for over two years. When you typed SASK by itself to get the
- calling syntax, the program told you that ERRORLEVEL was set from the KeyList
- from right to left. This was WRONG. It is actually from left to right.
- ---------------------------------------------------------------------------
- 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 $5.00 to the address below:
-
- SupremeSoft
- 105 Deerfield Drive
- Easton, CT 06612
-
-
- Corporate/Academic Site Licenses are available.
- ---------------------------------------------------------------------------
- SupremeSoft is a Trademark of SupremeSoft in Easton CT.
- SupremeAsk is a Trademark of SupremeSoft.
- ASK is a Registered Trademark of Norton Computing.
- ---------------------------------------------------------------------------
-