Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Loop until user enters 0.
DEFINE DATA LOCAL
1 NUM (N)
END-DEFINE
DO
INPUT 'Enter number (0 to quit): ' NUM
IF NUM = 0
EXIT
ENDIF
WRITE 'You entered: ' NUM
END-DO
ENDNatural Scripting refers to the use of the Natural programming language (from Software AG) to create applications, automate business logic, and interact with databases, especially within mainframe and enterprise environments.
Origin & Creator
Developed by Software AG in the 1970s as a high-level language to simplify application development on mainframe and later client-server systems.
Industrial Note
Commonly used in banking, insurance, and logistics industries for large-scale transaction processing, often interfacing with Adabas or other enterprise databases.