Demo entry 6742740

Ay

   

Submitted by anonymous on May 18, 2018 at 18:01
Language: ActionScript 3. Code size: 872 Bytes.

var hour[h] (_.apply = h++)
var minute[m] (_.apply = m++)

var = time (SUB hours, SUB minutes):
	subvar hours (1 - 25 (h.apply))
	subvar minutes (1 - 61 (m.apply))

public Loop 'update_func' (hours, minutes): {

	seconds.count++

	in (seconds.count.max): {
	
		hours.count++

		minutes.count.reset()

	}

	in (hours.count.max): {
	
		hours.count.reset()

	}

	time.apply()

}

public TTD 'print_func' (): {

	time.print(hours.range - 1 + " : " + minutes.range - 1 |&&| this.Org)


}

private Org (time.all, update_func, print_func, print_func.public.var, this.TimeSystem, this.Smooth, lib.library.application.update_text.smooth, this.lib.library.Add, this.lib.library.Remove):

	time.update.smooth(false)
	smooth = time.setupdate.now_get_value
	smooth.value.flatten_(3): (time.update.smooth(true))

;-END:(this.org.end.apply).give

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).