Obstacle deteccting robot-Code check

int rf=11;
int rb=10;
int lf=8;
int lb=9;
int i;
//declaring pin numbers.

//rf stands for right front motor connection..rb right back.If rf is high and rb low..right motor helps robo move forward.
void setup() {
  // put your setup code here, to run once:
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
pinMode(11,OUTPUT);
pinMode(13,INPUT);
}

void loop() {
 HENRY_FORWARD;
 if(13==HIGH) //Obstacle has been detected by henry :O 
  {
   HENRY_BLINK;
   HENRY_REVERSE;
   
   HENRY_RIGHT;
  }
  
 } 
 void HENRY_REVERSE()
 {
   digitalWrite(rf,LOW);
   digitalWrite(rb,HIGH);
   digitalWrite(lf,LOW);
   digitalWrite(lb,LOW);
   delay(1250);
 }
  void HENRY_FORWARD()
  {
   digitalWrite(rf,HIGH);
   digitalWrite(rb,LOW);
   digitalWrite(lf,HIGH);
   digitalWrite(lb,LOW);
  }
  void HENRY_RIGHT()
  { 
    digitalWrite(rf,LOW);
   digitalWrite(rb,HIGH);
   digitalWrite(lf,HIGH);
   digitalWrite(lb,LOW);
   delay(1000);
  }
    
 void HENRY_BLINK()
 { 
   digitalWrite(7,HIGH);
   delay(2250);
   digitalWrite(7,LOW);
 }
    [\code]
Motors dont seem to be moving with this code..kindly check it out.
Any help much appreciated!
Have a good day :)

Note: I'm using a l293 hbridge!Hence the 4 pins 7 8 9 and 10.
Infrared sensor is connected to pin 13 to detect obstacles.

Put the code in code tags (</> above the edit window) and I will check it

Try calling your functions instead of just referring to them.

Yea.. I'm not so clear on the calling part.. When I refer to the function what is the statement for executing whatever is in the body of that function??

Done @UKHeliBob

what is the statement for executing whatever is in the body of that function??

How about

HENRY_BLINK();

for instance ?

How on Earth did you get this far without testing and discovering that the function calls were not working ? After all you seem to have managed to use other functions such as

pinMode(7,OUTPUT);

Sorry..my mistake.
Anyhow..the motors are moving forward now.
Although the infrared sensor is detecting the obstacle..
The corresponding change in rotation of motors is not happening.
I'm positive the connections are right

if(13==HIGH)

Does it ever seem likely that 13 will equal 1?

Oh no
It should be digitalRead(13).
Thanks!