You are on page 1of 6

Options available for the ACCEPT statement are listed in the table below.

LINE and COLUMN AUTO Specifies the screen location of the data to be accepted. Causes the cursor to automatically skip to the next position for entering input when the current entry is complete. If this option is omitted, then the user must press the Enter key after each data entry. Changes the background/foreground colors of the screen. Available colors are listed in Figure 6.6 of the text. In MicroFocus, 78-level items may be defined in WORKING-STORAGE to allow the use of words in place of the color codes. Causes the computer to make the corresponding sound when the entry is made. Causes the data being entered to blink. Causes the entry to appear in high-intensity (boldface) mode. Prevents the entry from appearing on the screen. Causes the entry to be displayed with foreground and background colors reversed. Places the data being entered in the rightmost/leftmost positions of the field.

BACKGROUND- and FOREGROUND-COLOR

BELL and BEEP

BLINK HIGHLIGHT

SECURE REVERSE-VIDEO

RIGHT-JUSTIFY and LEFT-JUSTIFY SPACE-FILL and ZERO-FILL TRAILING SIGN UNDERLINE UPDATE

Places blanks/zeros in the high-order positions of a field.

Places the sign for any signed number after the number. Places underscores in the field. Displays the initial value of the field before the user has entered any new data.

INTRINSIC FUNCTIONS Calendar Functions (Note that all arguments in the date functions must be elementary items.) CURRENTDATE WHENCOMPILED INTEGEROF-DATE INTEGEROF-DAY DATE-OFINTEGER DAY-OFINTEGER Returns 21 characters of day and time information Returns 21 characters of compile date and time information Converts a yyyymmdd calendar date to an integer Converts a Julian yyyyddd date to an integer Converts an integer date to yyyymmdd calendar format Converts an integer date to Julian yyyyddd date format

C. INTEGER

Statistical and Numerical Analysis Functions Returns the largest integer that does not exceed the argument value Returns the integer portion of the argument Returns the largest value in a list of arguments Returns the smallest value in a list of arguments Returns the average of all values in a list of arguments Returns the pure numeric value in a simple edited report item Returns the pure numeric value in an edited report item that can be more complex Returns the average between the lowest and highest values in a list of arguments Returns the middle value from a list of arguments Returns the factorial of a number Returns the remainder obtained when argument-1 is divided by argument-2

INTEGERPART MAX MIN MEAN NUMVAL NUMVAL-C

MIDRANGE MEDIAN FACTORIAL REM

MOD

Returns the greatest integer value of the remainder obtained when argument-1 is divided by argument-2 Returns the position of the maximum value in a list Returns the position of the minimum value in a list Returns the difference between the largest value and the smallest value in a list. Returns the sum of values in a list Returns the square root of an argument Returns the natural logarithm of a number Returns the logarithm to base 10 of a number Returns the standard deviation Returns the variance Returns a random number

ORD-MAX ORD-MIN RANGE

SUM SQRT LOG LOG10 STANDARDDEVIATION VARIANCE RANDOM

D. SIN COS TAN ASIN ACOS ATAN

Trigonometric Functions Returns the sine of an argument Returns the cosine of an argument Returns the tangent of an argument Returns the arc sine of an argument Returns the arc cosine of an argument Returns the arc tangent of an argument

E. ANNUITY PRESENTVALUE F. LOWERCASE UPPERCASE LENGTH ORD CHAR REVERSE

Financial Functions Returns the value of an investment over time Returns the amount to be invested today to obtain some desired future value Character and String Functions Returns in lowercase alphabetic mode the value of an argument Returns in uppercase alphabetic mode the value of an argument Returns the length or number of positions in an argument Returns the ASCII code for a character Returns the character equivalent of an ASCII code Returns the value of an argument in reverse order

You might also like