01-21-2026, 11:14 PM
(11-21-2025, 07:16 PM)bobalooie Wrote: Back in my VB6 days I would frequently make use of a WITH/END WITH block when I had UDTs with a lot of members. I believe it's still available in the Visual Studio flavor as well. How difficult would it be to implement this in QB64PE?I'm late to this thread but I'll be honest, I always hated WITH and when I come across code using it that I plan on working with a lot, I take them out add the actual variable names in front of the ".".
Why? Because it obfuscates the code, for me at least. I prefer to be able to know what a given line of code is doing with as little work as possible. I get that compilers might generate more "efficient" code and all that, but I haven't seen WITH improve performance in any noticable way, but removing it has made visualizing what the code is doing a lot easier for me.

