>>> Dim Year, Month, Day As Integer = ParseDate(someValue)

>> Perhaps you just can't declare type and assign in one line:

I use single-line declare/assign WAY more than I'd use multiple return values.

> ...the syntax Lars proposed already exists...

I didn't propose any syntax, I pointed out a conflict with existing
syntax. If I were to propose a syntax, it might involve parentheses on
the left, to make things more explicit and obvious, like this:

  dim year, month, day as integer
  (year, month, day) = ParseDate

You may refer to the above as "the syntax Lars idly fantasized".

lj
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to