Dero Virtual machines documentation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.


RETURN statement

it is used to return from a function and can be used anywhere within a function


  1. RETURN ( return nil )
  2. RETURN expression ( evaluates expression and returns value )

any return value must match with the type defined while declaring function