<http://www.realsoftware.com/feedback/viewreport.php?reportid=gvzcbkhx>
Allowing a function to return multiple values: Dim WordCounts(s As String) As Words() As String, Counts() As Integer would be immensely useful and more beginner-friendly. The semantics would be that multiple lvalues are supported in an assignment. If the number of lvalues differs from the number of return values, either the excess lvalues get 0/Nil/""/etc or the excess return values get ignored. This would render the execrable and beginner-hostile ByRef redundant. Yay! It would also simplify Events in quite a few cases eg ListBox.CompareRows Event. Regards, Guyren G Howe Relevant Logic LLC guyren-at-relevantlogic.com ~ http://relevantlogic.com REALbasic, PHP, Ruby/Rails, Python programming PostgreSQL, MySQL database design and consulting Technical writing and training _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
