ThePentiumGuy
Well-known member
hey,
does vb.net ever bother you about 2 lines of code that are exactly the same, but it only bothers you with one of them?
for example, these 2 lines are in the same place
except, the first one is givng an error becuase of the slash ((xrot * Math.PI) / 180))) <-- saying, "Expression expected"...
ive checked it, WORD FOR WORD, CHARACTRER FOR CHARACTER
i tried compiling agian... still the same error...my friend told me it probably has something to do with hidden characters...
does anyone know whats goin on here???
-pent
[edit]i took out an "enter" so that its easier to compare the code ... and yet it still double spaces the code [/edit]
[edit]I removed formatting from the code and wrapped the lines. - Derek[/edit]
does vb.net ever bother you about 2 lines of code that are exactly the same, but it only bothers you with one of them?
for example, these 2 lines are in the same place
Code:
game.LookAt = Vector3.TransformCoordinate([color=#0000ff]New[/color] Vector3(0, 0, 1),
Matrix.Multiply(Matrix.RotationY((yrot * Math.PI) / 180), Matrix.RotationX((xrot * Math.PI) / 180)))
game.LookAt = Vector3.TransformCoordinate([color=#0000ff]New[/color] Vector3(0, 0, 1),
Matrix.Multiply(Matrix.RotationY((yrot * Math.PI) / 180), Matrix.RotationX((xrot * Math.PI) / 180)))
except, the first one is givng an error becuase of the slash ((xrot * Math.PI) / 180))) <-- saying, "Expression expected"...
ive checked it, WORD FOR WORD, CHARACTRER FOR CHARACTER
i tried compiling agian... still the same error...my friend told me it probably has something to do with hidden characters...
does anyone know whats goin on here???
-pent
[edit]i took out an "enter" so that its easier to compare the code ... and yet it still double spaces the code [/edit]
[edit]I removed formatting from the code and wrapped the lines. - Derek[/edit]
Last edited by a moderator: