Conversão Cobol para Natural (usage is POINTER)

Estou convertendo um programa de Cobol para Natural e no programa Cobol tem uma definição de variável da seguinte forma: 01 WK-POINTER USAGE IS POINTER.

Como eu devo definir essa variável no Natural?

01 WK-POINTER (I4)

I am guessing that you can use the POS System Function to simulate COBOL pointers.

Usando Google Tradutor:
Eu estou supondo que você pode usar a Função do Sistema POS para simular ponteiros COBOL.

Você realmente precisa de uma tradução exata? Para que serve a variável, você pode postar o caso de uso?

Do you really need an exact translation ? What is the variable used for, can you post the use case ?

Me desculpa. Eu nao usava Pointer no COBOL e nao sei como definir essa no Natural.

Hi,
Maybe it is best that you will describe in details, what do you really want to get
by migrating from Cobol to Natural.
What was suggested to you earlier, was right, to use Pointer

Muito obrigado pela ajuda.
A princípio deu certo, vou fazer mais testes.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.