Is it possible to have a with / End With statement such in Pascal I am a bit lazy Thanks
S scrat Active Member Licensed User Longtime User Oct 20, 2011 #1 Is it possible to have a with / End With statement such in Pascal I am a bit lazy Thanks
RandomCoder Well-Known Member Licensed User Longtime User Oct 21, 2011 #2 I second this request (in fact I also asked for it in B4PPC), but not because I'm lazy, I just think that it looks tidier Regards, RandomCoder
I second this request (in fact I also asked for it in B4PPC), but not because I'm lazy, I just think that it looks tidier Regards, RandomCoder
S Smee Well-Known Member Licensed User Longtime User Oct 22, 2011 #3 RandomCoder said: I second this request (in fact I also asked for it in B4PPC), but not because I'm lazy, I just think that it looks tidier Click to expand... Thirded!
RandomCoder said: I second this request (in fact I also asked for it in B4PPC), but not because I'm lazy, I just think that it looks tidier Click to expand... Thirded!
NeoTechni Well-Known Member Licensed User Longtime User Oct 22, 2011 #4 Agreed. I love this in VB6. How to do it in the pre-processor: If a variable starts with a . instead of a name, just but the with'd variable in front.
Agreed. I love this in VB6. How to do it in the pre-processor: If a variable starts with a . instead of a name, just but the with'd variable in front.
Z zouriteman Member Licensed User Longtime User Oct 24, 2011 #5 also +1 it is nice WITH .... END WITH , to prefix without repetition. The VB6 formula is very good , replacing ListView1.Top = 123 ListView1.Left = 11 by with ListView1 .Top = 123 .Left = 11 end with
also +1 it is nice WITH .... END WITH , to prefix without repetition. The VB6 formula is very good , replacing ListView1.Top = 123 ListView1.Left = 11 by with ListView1 .Top = 123 .Left = 11 end with