Convert seconds to compound duration: Difference between revisions

m
(Added uBasic/4tH version)
Line 1,046:
 
_Compound Param(3)
Local(21)
 
d@ = a@/b@ ' Get main compountcomponent
a@ = a@%b@ ' Leave the rest
 
If d@ > 0 Then ' Print the week compoundcomponent
Print d@;
Proc c@
Line 1,072:
 
0 OK, 0:94</pre>
 
=={{header|VBScript}}==
<lang vb>
374

edits