On Mar 23, 2007, at 4:42 PM, Guyren Howe wrote:

>>>> Functions should return one value.

Another comment: this allows us to set up very nice symmetric pairs  
of functions. For example:

Sub DateFromInteger(i As Integer) As Integer, Integer, Integer // 
Year, Month, Day
Sub IntegerFromDate(Year As Integer, Month As Integer, Day As  
Integer) As Integer

Dim y, m, d As Integer = DateFromInteger(IntegerFromDate(2007, 3, 23))

Again: no-one has given me a downside to this proposal.

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>

Reply via email to