Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Time_Add(lib) — Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Time_Add  —  C Library Procedures

NAME

Time_Add, Time_Subtract, Time_Multiply, Time_Divide − time arithmetic operations

SYNOPSIS

#include <spriteTime.h>
 Time_Add(a, b, resultPtr)
 Time_Subtract(a, b, resultPtr)
 Time_Multiply(a, c, resultPtr)
 Time_Divide(a, c, resultPtr)

ARGUMENTS

Time a   (in)

Time b   (in) Time values to be operated on. 

int c   (in) An integer factor used to modify a time. 

Time ∗resultPtr   (out) The result of the operation. 

DESCRIPTION

These procedures perform the following arithmetic operations on Time values. 

Add:∗resultPtr = a + b;
Subtract:∗resultPtr = a - b;
Multiply:∗resultPtr = a X c;
Divide:∗resultPtr = a / c;

An in parameter can be specified as the the out parameter. 

KEYWORDS

time

Sprite version 1.0  —  November 27, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026