Another migration question. I have a chunk of VB6 code that seems to need some workaround for .NET. For a shortened version, this is all it is doing:
Printer.Line (lftx * stepx * fx, k * stepy * fy)-(rgtx * stepx * fx, k * stepy * fy), RGB(77, 66, 71)
Keep giving me Error ID: BC30205, End of statement expected, on minus sign.
I have added a parenthesis that encloses the contents of the command, aware that it does not completely solve the problem. Doing so a different error appears, Error ID: BC30452, Operator '-' is not defined for types '(Single, Single)' and '(Single, Single)'. I guess it can't subtract because of the commas inside the brackets...
As you may have noticed, I never written in VB6 and im not a programmer. How do I implement the same thing in .NET? Thank you for all the help