On 2 May 2007, at 07:27, Rubber Chicken Software Co. wrote:

> In RB I like dimming at the top. I get a chunk of code where I see
> everything I'm going to use in this subroutine. But in C++, I like  
> this syntax:
>
> for (long i = 0; i < thisSize; i++) {
> ...
> }
>
> A loop counter just isn't useful anywhere besides within a loop. And
> I feel this is a clean way (inline) to dim something while not adding
> intrusive lines of code.

The same thing can be done in RB

For i as Integer = 0 to 10
  //your code goes here
Next

Jim Graham
_______________________________________________
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