| To: | "REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>" <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | FR: Allow ByRef to be used in "For Each" variable declarations |
| From: | Daniel Stenning <d0stenning at msn dot com> |
| Date: | Thu, 17 May 2007 13:26:37 +0100 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| Thread-index: | AceYfpz124FR2gRxEdyC5AAKldQmeg== |
| Thread-topic: | FR: Allow ByRef to be used in "For Each" variable declarations |
http://www.realsoftware.com/feedback/viewreport.php?reportid=ofakdwwf For processing arrays of intrinsic types or structures it would be very useful to be able to define the For Each variable name as being a reference, so the original array element can be modified. So we could do For Each val ByRef As Integer In MyNumArray val = val +1 // increment every element in the array Next Otherwise we are forced to resort back to the boring old For/Next syntax. Sing on here to vote for this: http://www.realsoftware.com/feedback/viewreport.php?reportid=ofakdwwf _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Does any of this look familiar?, Russ Tyndall |
|---|---|
| Next by Date: | Re: Siamese twin instances ("dim r1,r2 as new regex"), Adam Shirey |
| Previous by Thread: | Handling editable cells in a listbox, Tim Jones |
| Next by Thread: | For/next and array ubounds: optimising performance, Daniel Stenning |
| Indexes: | [Date] [Thread] [Top] [All Lists] |