Contents Links Search
 

RPN Scripts

RPN Documentation

Submit Script

Conversion
   Conversions
   Convert
   Euro
   Euro_Calculator
   Soundex
Engineering
   Feet_&_Inch
   Units
   Water
Entertainment
   Master_Mind
   Sticks!
Finance
   Annuity
   Euro_Calculator
   TVM_Financial_Functions
Math
   3D_Vectors_v1.2
   Base
   Base_Conversions
   Complex_Arithmetic
   Complex_Math
   Discrete_Math
   EBBases
   Fractions
   Fractions
   Least
   Logs_&_Powers
   Misc
   Regressions
   Scientific
   Scientific_Functions
   Scientific_Programmable
   Simple_Complex_Math
   Standard_Normal_Distribution
   Trig
Misc
   Health
   Husband's_Calculator
Physics
   Angle_of_View
   Depth_of_Field
   Physics_Functions
Time
   Clock
   Julian
   Multiple_Timer
   Stop5Watch
   Stopwatch
   Timer
Utility
   Board_Foot_Calculator
   Calendar_Functions
   Checkbook_II
   MiniG
   Stack_Handling_and_Saving
   WindChill

Timer
Russ Webb - email


summary
Script for timing things and getting the time/date.

instructions

code
RPN.2.b \Timer
[h]#'100';
[d]#'12';
[s]#'60';
[n]Vv0<(#'86400'v+:v);
[S]TsTmCs*ThCsCs**++;
"Timer"
"Hour.Min"ThVvCd>(vCd-:v)Ch*Tm+Ch/;
~
"Month.Day"TMCh*TD+Ch/;
~
"Go: start/reset timer"TtXa CSXb;
"m.s: elapse time in min sec" 
CSxb-CnV v#'0.5'+Cs/w vCs%Ch/+;
"s.100: elapse time in \sec.100ths" Ttxa-Ch/;

top
Nth Lab
©1996 - 2001 all rights reserved
August 03, 2001
contact