view TL1/test/t3.tl1 @ 180:c3145f913f3d default tip

possible features
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 04 May 2019 11:17:42 +0900
parents 6ef317714ae8
children
line wrap: on
line source

% ** SPRITE TEST PROGRAM **
PROC WAIT
FUNC TIME
%--- MAIN ---
VAR MMI,MMJ,MMK
BEGIN
  WRITE(1:ASCII($A))
  MMI:=1 MMJ:=2 MMK:=3
  WAIT(4,5)
  WRITE(1:MMI,CRLF)
END
%-- PROCEDURE WAIT --
WAIT(WWA,WWB)
VAR WWJ,WWK
BEGIN
  WWJ:=4
  WWK:=TIME(6,7)
  WRITE(1:MMI,WWJ,WWA,WWB,WWK,CRLF)
END
%-- PROCEDURE TIME --
TIME(TTA,TTB)
VAR TTK,TTJ
BEGIN
  TTK:=5
  WRITE(1:MMI,TTK,TTA,TTB,CRLF)
  RETURN TTK
END