Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

void

Purpose

A value that indicates that a user defined function returns no value

Description

A special value that actually has "no value"

Syntax

function name() ... return void // function with no arguments

function name(argument1, ... argumentn) ... return void // function with n arguments

Arguments

name name of the function

argument1 first parameter of the function

argumentn last parameter of the function

Example

for size = 1 to 200 step 1 loop
    clear()
    centreText( "Hello World", size )
    update()
repeat

// Centre a text string on the screen
function centreText( message, size )
    textSize( size )
    tw = textWidth( message )
    drawText( ( gWidth() - tw ) / 2, ( gHeight() - size ) / 2, size, white, message )
return void

Associated Commands

function, return, void

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.