[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CALCMEMORY()
 To get/set the calculator static memory.
------------------------------------------------------------------------------

 Syntax

      CALCMEMORY( [<nNewMemory>] )  -> nOldMemory

 Arguments

      <nNewMemory> is an optional numeric parameter containing the
      new value for the calculator memory functions (M+,M-,M*,M/,MR,MC).

 Returns

      CALCMEMORY() returns the current static memory value.

 Description

      You may use CALCMEMORY() to get/set the calculator static memory
      value.

 Examples

     ** Example - adding to memory all sales

        //upon pressing ALT_M, the value+tax will be added to memory.

        SetKey(K_ALT_M,{|cProc,n1,c1,nValue| ;
               If(cProc="CALCULATOR",CalcMemory( CalcMemory() +
               (nValue * 1.0775) ),NIL)})

        Calculator()


 Files: CALC.LIB

 Author: Touchstone Business Creations          CompuServe ID: 73670,2561
         28613 River Glen Ct. #1
         Menifee, CA 92584-8987 USA

         (909) 679-3364

 Owner : (c) Copyright, 1991,92,93 Touchstone Business Creations

See Also: CALCULATOR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson