Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

time()

Purpose

Get the current system tick count

Description

Returns the current system tick value in seconds

Syntax

result = time( )

Arguments

result current system tick value in seconds

Example

loop
    clear()
    printAt( 0, 0, time() )
    wait( 3 )
    printAt( 0, 1, time() )  
    wait( 3 )
    update()
repeat

// wait for interval seconds 
function wait( interval )
    now = time()
    end = now + interval
    while end > now loop
        update()
        now = time()
    repeat
return void  

Associated Commands

clock(), setTimer(), sleep(), startTimer(), stopTimer()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.