Error expanding macro "LOW"

Hello Programmers!

I need some help regarding an error. I am using Arduino Uno 3. When I compile a program, it says:

"
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant

#define LOW 0x0

^

note: in expansion of macro 'LOW'

digitalWrite(LMB.LOW);

^

exit status 1
Error compiling for board Arduino/Genuino Uno.
"

I am confused what to do. Idea i get is that binary.h has some bug. I reinstalled arduino IDE from windows store but it didn't solve my problem. I don't know what to do next.
Need your suggestions and guidance.

Thank you in advance.

Why are you trying to #define LOW ?

Please post your complete program

No I am not defining LOW. see the upper part of statement, it says that the error is in Arduino.h file.
Anyway here's the code. I have written it very explicitly to observe every step. I am basically trying to move a car using bluetooth mobile app. yeah it's a very simple project but m stuck :D...
"
const int LMF = 6;
const int LMB = 7;
const int RMF = 5;
const int RMB = 4;

const int enL = 12;
const int enR = 13;

const int Stop = 8;

char ch;
char och = 'X';

void setup() {
// put your setup code here, to run once:

Serial.begin(9600);

pinMode(RMF, OUTPUT);
pinMode(LMF, OUTPUT);
pinMode(LMB, OUTPUT);
pinMode(RMB, OUTPUT);

pinMode(enL,OUTPUT);
pinMode(enR,OUTPUT);
pinMode(Stop,OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:

ch = Serial.read();

if(ch == 'F'){och = ch;}
if(ch == 'B'){och = ch;}
if(ch == 'L'){och = ch;}
if(ch == 'R'){och = ch;}
if(ch == 'X'){och = ch;}

Serial.println(och);

if(och == 'F'){
digitalWrite(RMF,HIGH);
digitalWrite(LMF,HIGH);
digitalWrite(enL,HIGH);
digitalWrite(enR,HIGH);
digitalWrite(RMB,LOW);
digitalWrite(LMB,LOW);
digitalWrite(Stop,LOW);
delay(300);
}
if(och == 'B'){
digitalWrite(RMB,HIGH);
digitalWrite(LMB,HIGH);
digitalWrite(enL,HIGH);
digitalWrite(enR,HIGH);
digitalWrite(LMF,LOW);
digitalWrite(RMF,LOW);
digitalWrite(Stop,LOW);
delay(300);
}
if(och == 'R'){
digitalWrite(RMF,HIGH);
digitalWrite(enR,HIGH);
digitalWrite(LMF,LOW);
digitalWrite(LMB,LOW);
digitalWrite(RMB,LOW);
digitalWrite(enL,LOW);
digitalWrite(Stop,LOW);
delay(300);
}
if(och == 'L'){
digitalWrite(LMF,HIGH);
digitalWrite(enL,HIGH);
digitalWrite(LMB,LOW);
digitalWrite(RMF,LOW);
digitalWrite(RMB,LOW);
digitalWrite(enR,LOW);
digitalWrite(Stop,LOW);
delay(300);
}
if(och == 'X'){
digitalWrite(Stop,HIGH);
digitalWrite(RMF,LOW);
digitalWrite(LMF,LOW);
digitalWrite(enL,LOW);
digitalWrite(enR,LOW);
digitalWrite(RMB,LOW);
digitalWrite(LMB,LOW);
}
}
"

The code you posted and the error you posted do not match.

The error shows that it choked when it got to a line digitalWrite(LMB.LOW) (which will get preprocessed into digitalWrite(LMB. 0x0) - which is incorrect syntax and will produce the error you got), but your code shows digitalWrite(LMB,LOW) (which is correct)

Why should this posts help? I cannot see it.
For me the error message looks like a damaged IDE

What happens when you try this minimal code?

const byte LMB = 7;

setup()
{
    pinmode(LMB, OUTPUT);
}

loop()
{
    digitalWrite(LMB, LOW);
}

I'm guessing that there are additional error messages.
Show all the messages from the compile.
And the full sketch being compiled.

--- bill