Skip to content

É com uma imensa satisfação que venho demonstrar uma série de exemplos de aplicativos/app em COBOL para Windows. Tenho trabalhado com COBOL há mais de 10 anos e alguns exemplos aqui demonstrados, foram utilizados ao longo de minha jornada, nos sistemas legados das empresas que tenho atuado. Qualquer dúvida, comentário e principalmente dúvida, si…

Notifications You must be signed in to change notification settings

ronaldoottoni/Cobol

Repository files navigation

COBOL Banner

Some examples of small programs developed with the powerful COBOL language

Basic Examples - COBOL ANSI

These codes can be tested in Jdoodle, an Online COBOL compiler.

File Description Result
HelloWorld Famous example "Hello World" Resultado
Calculations Basic Arithmetic Calculations Resultado
Strings String Manipulation (Replacement - Replace) Resultado
Condicionais Conditional Examples and Custom Validation) Resultado
Function/Loop Calling Functions and Loop Resultado
Nested Loop Nested Loop Resultado
Accept e Display Data entry and processing Resultado
Crypto Encrypt and Decrypt a Word Resultado

Examples with screens and their components - COBOL Micro Focus eXtend

The codes shown below require a local compiler (I'm using Micro Focus eXtend 9.2.5) for Microsoft Windows.

Bars, Colors and Sizes

The code Barras presents several lines in different formats and sizes that can be used in the most varied types of applications using COBOL Micro Focus eXtend in a Windows environment. Code taken from the Micro Focus eXtend documentation itself and was translated and adapted for this repository.

Resultado

Web Browser

The Code Browser demonstrates that it is possible to develop your own web browser using the Micro Focus eXtend tools. Code taken from the Micro Focus eXtend documentation itself and was translated and adapted for this repository.

Browser

Checkbox Component

The code Checkbox demonstrates a simple use of the CheckBox component where the simulation of the final price of a vehicle changes according to the selected options. Code taken from the Micro Focus eXtend documentation itself and was translated and adapted for this repository.

CheckBox

Radio Button Component

The code Radiobtn demonstrates a simple use of the Radio Button component where the simulations where would you be simulating the selection of an ice cream flavor. Code taken from the Micro Focus eXtend documentation itself and was translated and adapted for this repository.

Radiobtn

Grid Component

The code Gridctl demonstrates an interesting use of the Grid Control component where we can manipulate the grid, changing the column size, the row size, Selecting an entire column, selecting an entire row, changing the value inside the Cell, an animated Bitmap, Pop Up menu by clicking right-click and click directly on the Grid's animated icon. This component is widely used in the most varied types of applications and the component's potential goes far beyond what this example presents. Code taken from the Micro Focus eXtend documentation itself and was translated and adapted for this repository.

Gridctl

About

É com uma imensa satisfação que venho demonstrar uma série de exemplos de aplicativos/app em COBOL para Windows. Tenho trabalhado com COBOL há mais de 10 anos e alguns exemplos aqui demonstrados, foram utilizados ao longo de minha jornada, nos sistemas legados das empresas que tenho atuado. Qualquer dúvida, comentário e principalmente dúvida, si…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages