loanschedule.ijs

Script: ~addons/finance/finexec/basicfinance/loanschedule.ijs
Contributor: William Szuch
Updated: 2022 6 25
Depend: nil
Definitions: loaded to locale base
Status: dev
Script source: loanschedule.ijs

Loan schedule:
Using the Fold conjuctions F: and F.
No rounding.
Loan repayment are made at the end of period.
Process:
(1) Set initial values for the loan schedule calculation in setv
(2) run: setv ’’ each time a calculation is required to
    reset the initial values for the loan schedule.

Definitions

H HDR
L lshd, lshd_a
S setv
U uo
V vo

HDR n Header for loan schedule
uo m Operand to Fold conjunction

lshd (monad)

Form: explicit
Depend: nil
Show the full loan schedule.

Syntax

lshd ''

Example

  lshd ''
  <"0 lshd ''
  HDR,<"0 lshd ''
  plot 1{"1 lshd ''

lshd_a (monad)

Form: explicit
Depend: nil
Show the last result of the Fold calculations.

Syntax

lshd_a ''

Example

lshd_a ''
 <"0 lshd_a ''

setv (monad)

Form: explicit
Depend: nil
Set initial values for the loan schedule.
Required to be run before each loan calulation.

Syntax

setv ''

Example

  setv ''

vo (verb)

Form: explicit
Depend: nil
Show the full loan schedule.

Syntax

lshd ''

Example

  lshd ''