unquoted

unquoted string

Rule "unquoted" gives this warning when it finds a string literal without quotes.

Strings "w1" and "w2" are not quoted:

DEFINE VARIABLE RADIO-SET-2 AS INTEGER
VIEW-AS RADIO-SET VERTICAL
RADIO-BUTTONS w1, 0, w2, 1, "w3", 2
SIZE 19 BY 2 NO-UNDO.

Progress will create a file named "logfile" in the current directory:

DEFINE VARIABLE logfile AS CHARACTER INITIAL "c:\temp\errorlog.txt".
OUTPUT TO logfile.

the risc:

The OUTPUT TO example shows a possible bug, the RADIO-SET example shows strings that should have been translatable.

How to suppress these warnings:

You can put the directive {&_proparse_ prolint-nowarn(unquoted)} directly before
the IF statement. See also: suppress warnings.