Code
// this compiles:
with Runtime do
General.Powerup.Moment.Year := RTCgetYear;
endwith;
// this does not compile "Error: var or symbol expected":
with Runtime.General.Powerup.Moment do
Year := RTCgetYear;
endwith;
with Runtime do
General.Powerup.Moment.Year := RTCgetYear;
endwith;
// this does not compile "Error: var or symbol expected":
with Runtime.General.Powerup.Moment do
Year := RTCgetYear;
endwith;
with is of not much use if 2nd example can not compile. Can this be fixed?