;------------------------------------------------------------------------------------------------------------------------------------------ #DefineFunction udfAskLine (strAL_Title, strAL_Prompt, strAL_Default, intAL_Format) Return AskLine (strAL_Title, strAL_Prompt, strAL_Default, intAL_Format) :CANCEL Return "" ; Return empty string if dialog has been cancelled resp. closed by escape key. #EndFunction ;------------------------------------------------------------------------------------------------------------------------------------------ strAL_Title = "" ; Title of the dialog box. strAL_Prompt = "" ; Question to be put to the user. strAL_Default = "" ; Default answer. intAL_Format = 0 ; Format as ANSI string. intAL_Format = 1 ; Format as Unicode string. intAL_Format = 2 ; Format as hex string, with four hex bytes per Unicode character. strAL_Result = udfAskLine (strAL_Title, strAL_Prompt, strAL_Default, intAL_Format) :CANCEL Exit