I have been searching around for a = with a dash in it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have been searching around for a = with a dash in it?

I was coding one day in LUA and was following the YouTube tutorial, yet the user used a ‘=‘ sign with a dash through it ‘/‘. How do I make that value? Is there a special way to type it in? I use Google and I did not find anything... Some people were saying a Boolean operator is the same but I used ‘==‘ in my code and it did not work?

31st Jan 2019, 9:02 PM
Ivan
5 Answers
31st Jan 2019, 9:45 PM
Denise Roßberg
Denise Roßberg - avatar
+ 2
thank you Denise Roßberg i have been looking for this for a while now :)
31st Jan 2019, 9:50 PM
Ivan
+ 2
There are special fonts that will combine a != into a single inequality sign, among other things. So it's just a visual thing so the code looks nicer and the code itself doesn't change. Just google for "coding font with ligatures" or so and they will show up. I've been using Hasklig a while ago but that's mostly for Haskell. I also think they don't work in all code editors.
1st Feb 2019, 1:59 AM
Schindlabua
Schindlabua - avatar
+ 1
≠ is same as not equal to "!="
31st Jan 2019, 9:24 PM
Toni Isotalo
Toni Isotalo - avatar
0
I copied it
31st Jan 2019, 9:29 PM
Toni Isotalo
Toni Isotalo - avatar