home *** CD-ROM | disk | FTP | other *** search
- IzzIt
-
- by Giff Kucsma
-
- Version 1.30
-
-
- General Information
- -------------------
-
- The program IZZIT.COM implements a number of tests, or
- inquiries, the answers to which are always either yes or no.
-
- IZZIT.COM may be useful in a situation where it is desirable
- to condition the invocation of selected steps in an application
- depending upon certain environmental factors, such as the time,
- date, day of week, or hardware configuration.
-
- Simply invoke IzzIt without any parameters to obtain a brief
- definition of the syntax for its use.
-
- The program will return a code that can be evaluated in a
- batch file as a DOS ERRORLEVEL code.
-
- If the result of the inquiry is Yes, the program
- will return a 1.
-
- If the result of the inquiry is No, the program
- will return a 0.
-
-
- If the user invokes IzzIt with missing or invalid command
- line parameters, the program will display appropriate advice,
- pause for the striking of any key before terminating and,
- upon termination, will return a 2.
-
- The requirement that a key be struck before the program
- will continue is intended to provide an opportunity to
- suspend continuation of a batch file that contains an
- incorrectly constructed IzzIt command.
-
-
- Notes on Time/Date/DayOfWeek Evaluations
- ----------------------------------------
-
-
- IzzIt implements testing for "between" conditions, such as:
-
- IZZIT BETWEEN 17:00 22:00
- IZZIT BETWEEN 4/1/1987 4/15/1987
- IZZIT BETWEEN MONDAY WEDNESDAY
-
- Note that these "between" comparisons are "inclusive".
- That is, a "yes" result will be returned if the current
- time, date, or day of the week is equal to or greater
- than the starting value, or equal to or less than the
- ending value.
-
-
- IzzIt also implements testing for "before" and "after"
- conditions, such as:
-
- IZZIT BEFORE 9:00
- IZZIT AFTER 3/31/1988
- IZZIT BEFORE FRIDAY
-
- Note that these "before" and "after" comparisons are
- "exclusive". That is, a "yes" result will be returned
- only if the current time, date, or day of the week is
- greater or less than the specified value.
-
-
-
- Notes on Time/Date/DayOfWeek Scaling
- ------------------------------------
-
- In evaluating time, IzzIt uses 24 hour, or "military"
- time notation. In evaluating "between" time conditions,
- IzzIt will adjust the specified beginning and ending time
- values to acknowledge the "wrap" that occurs at midnight,
- when the clock scale goes from 23:59 to 00:00. Therefor,
- it is permissible, and correct results will be returned,
- if you specify:
-
- IZZIT BETWEEN 21:00 04:00
-
-
-
-
- In evaluating dates, IzzIt is capable of discerning, and
- factoring into comparisons, leap years.
-
-
-
-
-
- In evaluating days of the week, IzzIt considers Monday to
- be the first day of a week. Unlike time values, no "wrap"
- is acknowledged between Sunday and Monday. Consequently,
- it can never be "after" Sunday, nor can it ever be
- "before" Monday. Also, specifying:
-
- IZZIT BETWEEN SUNDAY TUESDAY
-
- will result in an error message indicating that the
- starting day (SUNDAY) is greater than the ending day
- (TUESDAY).
-
-