T tboy Member Licensed User Longtime User Jan 10, 2013 #1 Just a small request, any chance of adding With...End With Code: Copy With myObject End With
kdgarris Member Licensed User Longtime User Jan 10, 2013 #3 To avoid the dot notation within the block?
S Smee Well-Known Member Licensed User Longtime User Jan 13, 2013 #4 kdgarris said: To avoid the dot notation within the block? Click to expand... ?? With label .Color=blue .etc .etc end with
kdgarris said: To avoid the dot notation within the block? Click to expand... ?? With label .Color=blue .etc .etc end with
R Roger Garstang Well-Known Member Licensed User Longtime User Jan 15, 2013 #5 Lots of people use this, but I never really found it useful since it is just as easy to copy the variable name and paste it to each line.
Lots of people use this, but I never really found it useful since it is just as easy to copy the variable name and paste it to each line.
tunderin Member Licensed User Longtime User May 28, 2013 #7 I agree with Smee - code is more readable. Would love to see it.
kanaida Active Member Licensed User Longtime User May 31, 2013 #8 Definately agree, i was just going to ask this myself. a bonus would be the other with syntax as well, I use this all the time too: Code: Copy Dim x as MyClass x.Initialize("") with {.property1 = somevalue, .property2 = someothervalue} typically those work just like a normal with statement, except sometimes it's just a little cleaner looking to do in one line. It's not really important, but a convenient option to have if you're used to it.
Definately agree, i was just going to ask this myself. a bonus would be the other with syntax as well, I use this all the time too: Code: Copy Dim x as MyClass x.Initialize("") with {.property1 = somevalue, .property2 = someothervalue} typically those work just like a normal with statement, except sometimes it's just a little cleaner looking to do in one line. It's not really important, but a convenient option to have if you're used to it.
JakeBullet70 Well-Known Member Licensed User Longtime User Jun 4, 2013 #9 I would like to see this one too.
RandomCoder Well-Known Member Licensed User Longtime User Mar 13, 2015 #12 I've also asked for this in the past. Definite +1 from me.
T Troberg Well-Known Member Licensed User Longtime User Mar 16, 2015 #13 Roger Garstang said: Lots of people use this, but I never really found it useful since it is just as easy to copy the variable name and paste it to each line. Click to expand... Less visual clutter in the code.
Roger Garstang said: Lots of people use this, but I never really found it useful since it is just as easy to copy the variable name and paste it to each line. Click to expand... Less visual clutter in the code.