Xbasic
A5_SETUP_ASK_VARS Function
Syntax
OutputString as C = a5_setup_ask_vars(C arguments )
Arguments
- argumentsCharacter
Filter and order expressions separated by a CR-LF.
Description
Call by functions that support command line ask variables.
Discussion
The A5_SETUP_ASK_VARS() function allows you to add "ask variable" support to your own User Defined Functions:
Example
function foo as C (filter as C, order as C)
'Create a CR-LF delimited list of arguments that potentially contain ask variables...
arguments = filter + crlf() + order
ask_var_code = a5_setup_ask_vars(arguments)
evaluate_template(ask_var_code)
if (prompt_result <> "ok") then
end
end if
'continue with the code for the 'foo' function here.
??
end functionLimitations
Desktop applications only.
See Also