PRIVATE DIMX $cntlnames_post,ordmap(varstr;varstr)
...
FUNCTION fn'dlg'prgres_dialog_control_exists(cntlname$="" as s0:INPUTONLY,cntlnum=0 as f8:INPUTONLY) as f8
MAP1 func$,s,0,.LAST_ROUTINE
MAP1 key$,s,0
trace.print (2, "cntlnames") + func$ + " cntlnum=["+cntlnum+"] cntlname$=["+cntlname$+"]"
.fn = False
IF ((cntlnum = 0) AND (cntlname$ = "")) THEN
CALL dlg'prgres_error_msg("","Control Number or Name must be passed!", func$)
ELSEIF (cntlname$ # "") THEN
key$ = edit$(cntlname$, 40)
IF NOT .ISNULL($cntlnames(key$)) THEN
cntlnum = val($cntlnames(key$))
...