Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Use of the with statement is not recommended
Thu, Dec 22 2016 8:26 PMPermanent Link


Fri, Dec 23 2016 2:24 AMPermanent Link

Michael Dreher

Yes, in JavaScript ambiguity arises with "with" because of different JS implementations. For "with" in the WebBuilder Pascal I assume an unique name lookup. Problems in the translated JS could be resolved in theorie (by expanding the shortened names to fully qualified names, and a renaming scheme). While I personally do not like using "with" (because of the implicite context it's harder to read and understand), I don't see a problem in the pascal code.

Michael Dreher