Consultor Eletrônico



Kbase P90397: 4GL String Handling: "~000" (null) gets transformed to a " " (space)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Progress 8.x
Progress 9.x

SYMPTOM(s):

When trying to insert "~000" (null) into a string, it gets transformed to a " " (space)

CAUSE:

This is a known issue being investigated by Development
String "~000" gets stored in the r-code text segment as a " " (space).

FIX:

Use PUT CONTROL NULL statement to embed nulls to a string as in the following example:

PUT "This is to test".
PUT CONTROL NULL.
PUT "the null character" .

Please see "Progress Language Reference" and solution P58254 for more detailed information.