format error

HEINRICH VENTER <>
Tue Sep 9 15:22:32 CEST 2003


We are using OTP8 at the moment (historic reasons)  The code is executing on a Sun U60.  The problem is that the code between the first output and the second ouput CAN not change the value of a bound variable!??!!  The code below is exactly as it appears, nothing deleted.
We seem to have "fixed" the problem by outputting the following

finalize_result({TransactionData, R_ResponseCode, TransactionAmount, EndBalance, Flags_2, CostingInfo}, ConfigurationData) ->
   io:format("~nTransactionAmount = ~p", [TransactionAmount]),
   io:format("~n........ Finalize Result ..........."),
   io:format("~n<<< leah:close_connection >>>"),

   io:format("x"),
   io:format("~nTransactionAmount voor leah call : ~p", [TransactionAmount]), 
   io:format("x"),

(note the two lines that output an x)
But this is a HACK at best.

-]-[einrich
Teba Bank


#####################################################################################
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.
#####################################################################################



More information about the erlang-questions mailing list