RESULT macro

Specifies the type of data a macro or custom function returns. Use RESULT to make sure your macros, custom functions, or subroutines return values of the correct data type.

Syntax

RESULT(type_num)

Type_num    is a number specifying the data type.

Type_num

Type of returned data

1

Number

2

Text

4

Logical

8

Reference

16

Error

64

Array

 

 

Examples

The following function specifies that a custom function's return value can be a number or a logical value (4+1=5):

RESULT(5)

Related Functions

ARGUMENT   Passes an argument to a macro

RETURN   Ends the currently running macro

Return to index