Consultor Eletrônico



Kbase P120532: DEFINE VARIABLE results in compile time warning 630
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/17/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1x

SYMPTOM(s):

DEFINE VARIABLE in results in warning 630

Defining a variable with a strange format results in a compiler warning and runtime error.

For example:


DEFINE VARIABLE xxx AS CHARACTER FORM "999" INIT "*" NO-UNDO.

Results in error 830.


" ** Character * at position 1 must be digit. (630) ".

** Character <char> at position <n> must be digit. (630)

OpenEdge 10.1A02 gives a warning 630 when in OpenEdge 10.1A01, there wasn't any warning.

CHANGE:

Upgrade from OpenEdge 10.1A01 to OpenEdge 10.1A02.

CAUSE:

This is expected behavior.

FIX:

The compile time warning is an indication that a run time error will happen at deployment. So it is better to address this problem before shipping an application.