Manually set the value of the @extended macro.
||The required value (integer) to set the @extended macro to.
|| [optional] Override the default return value and return this parameter.
By default, none, however, if the optional return value argument is passed, then the function will return that value.
When entering a function @extended is set to 0. Unless SetExtended() is called, then @extended will remain 0 after the function has ended. This means that in order for @extended to be set after a function, it must be explicitly set. This also means you may need to backup the status of @extended in a variable if you are testing it in a While-WEnd loop.
MsgBox(4096, "Value of @Extended is", @extended)