WinDev lets you return whatever you like from a procedure or method; you don't have to declare the return type ahead of time. In fact you can return varying data types from the same method.