#Error code makes no sense

1 messages ยท Page 1 of 1 (latest)

hybrid cipher
#
(l.186) private float RotateHip(float hipYaw, float hypeAngleYaw) {
      var out = hipYaw;
      var out2 = hypeAngleYaw;
      var out1b = 0f;
      var out2b = 0f;

      if ((out - out2) > 180) out1b = -(360 - (out));
      else out1b = out;

      if ((out2 - out) > 180) out2b = -(360 - (out2));
      else out2b = out2;

      return out2b - out1b;
    }
clear pond
#

you think we memorize those error numbers? ๐Ÿ˜…

hybrid cipher
#
Assets\Scripts\LegController.cs(187,11): error CS1002: ; expected
Assets\Scripts\LegController.cs(187,11): error CS1513: } expected
Assets\Scripts\LegController.cs(187,15): error CS1525: Invalid expression term '='
clear pond
#

which line is that?

hybrid cipher
hybrid cipher
#

top line is 186

#

the rest should be clear

sand scroll
#

out is a reserved keyword and cannot be used as a variable name.

clear pond
hybrid cipher
#

Error code makes no sense

hybrid cipher
#

yes thanks

#

makes sense

wintry vigil
#

It even colors out as a keyword in the code...

hybrid cipher
clear pond
#

yeah, I wouldn't have noticed that without that

wintry vigil
#

You're reading Discord in an IDE?

sand scroll
#

lol
Most IDEs will color keywords differently

hybrid cipher
sand scroll
#

Unless you use Notepad it should be visible

#

Does Atom even support the full C# features

#

Code completions, errors underlined in the code directly, quick actions etc.

hybrid cipher
#

it doesnt but i still use it because it feels the best for me

#

even tho vsc is better in many ways

#

atleast for programming in c#

#

aight okay thanks yall @here for your quick help

clear pond
hybrid cipher
coral copper
#

I think