Consultor Eletrônico



Kbase P138610: Error 247 Compiling url-encode
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/16/2008
Status: Unverified

SYMPTOM(s):

error 247 compiling url-encode WebSpeed function

** Unable to understand after -- "<string>". (247)

Error is observed through workshop Editor Compile function

Workshop script lab and AppBuilder both run code without issues

FACT(s) (Environment):

All Supported Operating Systems
WebSpeed

CAUSE:

url-encode is defined in web/method/cgiutils.i, and forward-declared in web/method/proto.i (included in cgidefs.i). The program being compiled will have to have these included to be able to understand url-encode.

FIX:


1. Add %dlc%\src to propath
2. restart broker
3. Compile following in workshop editor

{web/method/cgidefs.i}.
def var u-type as char no-undo.
def var i-type as char no-undo.
u-type=url-encode(i-type,"QUERY").