format error

Joe Armstrong <>
Thu Sep 11 11:33:17 CEST 2003


  Hi, I tried to reproduce your  problem but failed, some of the lines
you omitted might be relevant to your problem.

  Can you post a short complete module that reproduces the problem?

  Even if you  don't intend to upgrade to the  "latest version" of OTP
(you may have good reasons not  to do this) you could possibly compile
up the latest version of OTP  and see if the error manifests itself in
the new system.

  Cheers

/Joe




On Tue, 9 Sep 2003, HEINRICH VENTER wrote:

> 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