Locked lesson.
About this lesson
The syntax signature for a UDF and how it differs from a standard subroutine.
Exercise files
There are no related exercise files for this lesson.
Quick reference
User Defined Function (UDF) Syntax
Understanding UDF syntax
When to use
Use when trying to create a valid function signature.
Main Function Syntax
[Scope] Function Name ([Parameters1],…) As DataType
Hints & tips
- If Scope is omitted, it will default to Public
- The function name must not start with a number or contain special characters
- Parameters are optional
- The function must have a datatype defined
Lesson notes are only available for subscribers.