A man was standing in the driveway when IBM computer expert Carolyn Moynihan, a bag of groceries in hand, walked up the back steps to her home near Georgetown after work Wednesday, according to friends and relatives.

Suddenly, the man was behind Moynihan with a gun at her back, ordering her to go inside.

Minutes later, three shots were fired and Moynihan, 48, the wife of industrialist Robert Justin Funkhouser, was on the back porch screaming.

"She was on the back deck right outside her door," said Alan Hallberg, a Georgetown University student whose bedroom window overlooks Moynihan's back yard. "She was having trouble standing, leaning against the house screaming. Then I heard her husband yell, 'Get back inside! Lie down! I'm calling the police!' "

Yesterday, Moynihan was listed in fair condition at Georgetown University Hospital with gunshot wounds in the left side of her neck, left shoulder and left eye. A family member said she was in danger of losing the eye.

The robbery and shooting, which occurred shortly after 6 p.m. at Moynihan's home, 1924 35th St. NW, shocked neighbors of the normally quiet community of Burleith on the northern edge of Georgetown.

"We don't have any crime around here," said Andrew May, who lives two doors away from Moynihan. "It's hard to believe anyone would walk into someone's back yard and do such a thing," he said.

Police said yesterday that no arrest has been made in the incident.

Moynihan has worked for IBM since 1961 as an advisory marketing support representative "with a large wealth of experience in marketing and technical support," a company spokesman said. She works in IBM's Advanced Education Center, 1801 K St. NW.

According to her stepson, Randy Funkhouser, about five years ago she married Robert Justin Funkhouser, son of a one-time Republican gubernatorial and Senate candidate from West Virginia, Raymond Joseph Funkhouser.

Robert Funkhouser is president of a holding company that oversees investment of the family's fortune, which came primarily from Raymond Funkhouser's ownership of the O'Sullivan Rubber and Heel Co., bought for about $3 million from J.P. Morgan during the Great Depression, Randy Funkhouser said.

At one time, he said, his father and grandfather owned or partly owned as many as 26 corporations.

According to Randy Funkhouser, who trains and breeds horses at the family's O'Sullivan Farm near Charleston, W.Va., his father had just awakened from a short nap and was upstairs putting on his contact lenses when the shooting occurred.

He said the robber followed Moynihan into the house and then they went to the living room. A police radio broadcast made shortly after the shooting said the man stole three rings from Moynihan, then demanded her purse.

Randy Funkhouser said that when Moynihan reached into her handbag to retrieve her IBM security card before giving the handbag to the robber, the man apparently thought she might be hiding a weapon and became nervous.

The police radio broadcast quoted the man as having ordered, "Throw it away on the floor!" shortly before he opened fire.

The man shot her once while they were in the living room, according to Randy Funkhouser. He said Moynihan then ran to the back of the house, where the robber pursued her into the kitchen and shot her twice before fleeing out the back door.

He said his father ran downstairs to help Moynihan after he heard the shots and the family's dog barking.