qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SLN# Function
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
          Financial Functions available in Professional Edition only
──────────────────────────────────────────────────────────────────────────────
 Returns the straight-line depreciation of an asset for a single period.
 Requires FINANCE.QLB (FINANCE.LIB when compiling); include FINANCE.BI.
 
    SLN# (cost#, salvage#, life#, status%)
 
    ■ cost#       Initial cost of the asset
 
    ■ salvage#    Value at the end of the useful life of the asset
 
    ■ life#       Useful life of the asset
 
    ■ status%     Variable that returns a value indicating calculation
                  failure or success:
                  0 = success
                  1 = failure
 
 See Also
    Financial Function Summary   $INCLUDE Metacommand   Quick Libraries