Hy, I'm using Rumba Scripting engine 9.4.0. I want to create a script where I return a custom type from a function. However I get an error when try to run this with the Scripting engine: "Error on line:16 - type mismatch". According to stackoverflow the code should work
```
Type FullName
FirstName As String
LastName As String
End Type
Sub Main
Dim fullName As FullName
fullName = GetName()
MsgBox fullName.FirstName &" "& fullName.LastName
End Sub
Function GetName() As FullName
Dim temp As FullName
temp.FirstName = "John"
temp.LastName = "Doe"
GetName = temp
End Function
```
#Rumba