Hi
Im try to convert delphi code to VB.NET but i dont understand the meaning of [With] keyword in Delphi. Normals is 2D array, so my question is what does the line in red below do inside the loop
Although you said issue solved, thought I'd put my two cents in. "With" is a meaningless expression to me. I hate seeing it used anywhere, it confuses me, exactly why it was confusing you. But for anyone who doesn't know what it does, it makes the following block of code work in the 'context' of whatever you specify for 'with'.
For example,
Code:
with frmMain do begin
Width:= 100;
Height:= 100;
Caption:= 'My Test';
ShowModal;
end;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.