Loading ...
Sorry, an error occurred while loading the content.

Additon of 2 numbers

Expand Messages
  • Nitin Kumar
    Hi, suppose i have number a = 10 b = 20 how can i store the sum of a and b in a ie is a = a+b possible Pls Advise !!!! Thanks Nitin ... The information
    Message 1 of 2 , Oct 1, 2002
    View Source
    • 0 Attachment
      Hi,
      suppose i have number
      a = 10
      b = 20

      how can i store the sum of a and b in a
      ie is a = a+b possible

      Pls Advise !!!!

      Thanks
      Nitin
      ----------

      -------------------------------------------------------------------------------------

      The information contained in this message is proprietary of Amdocs,

      protected from disclosure, and may be privileged.

      The information is intended to be conveyed only to the designated recipient(s)

      of the message. If the reader of this message is not the intended recipient,

      you are hereby notified that any dissemination, use, distribution or copying of

      this communication is strictly prohibited and may be unlawful.

      If you have received this communication in error, please notify us immediately

      by replying to the message and deleting it from your computer.

      Thank you.

      -------------------------------------------------------------------------------------


      [Non-text portions of this message have been removed]
    • G. Ken Holman
      ... No, once a variable is bound with a value, that value cannot be changed within the scope of the variable. If you re-open the scope you can assign a new
      Message 2 of 2 , Oct 1, 2002
      View Source
      • 0 Attachment
        At 2002-10-01 12:54 +0200, Nitin Kumar wrote:
        >suppose i have number
        >a = 10
        >b = 20
        >
        >how can i store the sum of a and b in a
        >ie is a = a+b possible

        No, once a variable is bound with a value, that value cannot be changed
        within the scope of the variable.

        If you re-open the scope you can assign a new value to the variable for the
        new scope. This is done in a recursive call, or in the context of the
        processing of another source tree node.

        I hope this helps.

        ......................... Ken

        --
        G. Ken Holman mailto:gkholman@...
        Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
        Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
        ISBN 0-13-065196-6 Definitive XSLT and XPath
        ISBN 0-13-140374-5 Definitive XSL-FO
        ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
        ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
        Next public training: 2002-12-08,2003-03-03,06
      Your message has been successfully submitted and would be delivered to recipients shortly.