return

Top  Previous  Next

Scripts > Class elements and c++ instructions > Interpreted C++ instructions > return

 

Syntax

 

return <expression>  ;

 

Description

 

Use the return statement to exit from the current function back to the calling routine, returning a value.

As well productions, as element functions as token actions can return values.

 

Remark: the type of the returned value must be compatible with the type declared in the according field of the script.

 



This page belongs to the TextTransformer Documentation

Home  Content  German