Displaying 2 results from an estimated 2 matches for "resulttext".
2002 Sep 10
3
capturing the result of print in a variable?
I'd like to capture the results of a print() command so that I
can put the results in a tktext widget. I know I can redirect
the output to a file with sink. I'm looking for something like
that, but where I can redirect the output into a variable. Is
there a way to do that?
Mike
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 Apr 06
1
Call completion/error codes and extensions.conf call flow
...iority X within the same
context where X is represented by "+X".
METHOD 2:
Simply set a channel variable with the result code. I'd suggest
handing out two different variables: one with the numeric response,
and one with the "human-readable" response. $RESULTCODE and
$RESULTTEXT might work. This way, the existing routines of Goto and
GotoIf can be used, and large numbers of errors can be handled in
generic ways. Plus, I'll say that I prefer this method since it
doesn't involve relative jumps (+X) which I really dislike for
generic use.
Other items that nee...