Write a program that is constructed in Basic 4GL? - Progress

Write a program that is constructed in Basic 4GL?



The program consists of some words that need to be known before the constructs:

- Keywords: are the words that instruct the compiler to perform the function written in the library.

- The keywords are unique and can’t be used in any other forms to represent it.

- The keywords are the combination of both uppercase and lowercase letters.

- Statements: are used as a complete instruction that is being written in Progress programming language and they usually consists of keywords and verbs.

- The examples of statements are as follows:

- DEFINE, REPEAT, DISPLAY, and END. These are also called as verbs.

- Phrases: are collection of keywords and values that are used to modify the Progress language and executes the statements.

- The example is as follows:

DEFINE VARIABLE cnt AS INTEGER.
REPEAT cnt = 1 TO 15:
DISPLAY "Welcome to Progress!"
WITH CENTERED.
END.
Post your comment