45
MANUAL DO USUÁRIO DC-2000 / PROGRAMA WINTASKGEN - Revisão 1.5
Leia o nome do cliente uma vez para cada registro.
Nº Linha
Comando
Nome
1
MAC
IN_CUST
2
LST
3
MAC
CLIE
4
SBF
CLIENTE
5
.
6
LOP
Definir IN_CUST como segue:
Nº Linha
Operador
Operand Fonte
Operand Destino
1
INP
CUSTVAR
2
END
4.3 Comandos Macro
4.3.1 ADICIONAR
Sintaxe:
Operator
Source Operand
Destination Operand
ADD
OPERAND1
OPERAND2
Descrição:
Adiciona o conteúdo da Fonte Operand ao Destino Operand e armazena
o resultado no Destino Operand. Se a Fonte Operand for uma cadeia de
caracteres, ela será incluída ao Destino Operand.
Tipo de Dados Operand:
•
OPERAND1
constante numérica, variável numérica, cadeia de caracteres constante, cadeia
de caracteres variável, cadeia de caracteres de DATA, cadeia de caracteres de
TEMPO, conteúdo de campo atual
•
OPERAND2
variável numérica, cadeia de caracteres variável
Exemplos:
1. Quando TEMPVAR for uma variável, o procedimento deverá possuir: