I posted this in the Program support, but it seemed to stump the repliers. Anyone have any suggestions?

So, I am new to the whole TI-Basic programming because my work needed me to write a program to solve some really basic functions (the current programs they use are in Excel on PDAs, but they are really simple minded and it scared them off. So, I wrote this program to do all their calculations, however I am running into an Error: Syntax.

```
"INPUT SECTION
Input "Begin Station?",A
Input "Begin Eleva.?",B
Input "End Station?",C
Input "End Eleva.?",D
Input "Target Station?",X
Input "Target Eleva.?",Y
"INPUT SECTION
"SLOPE FORMULA
IF C=A
THEN
0→Q
ELSE
((D-B)/(C-A))→Q
(Q*100)→S
"SLOPE FORMULA
"TARGET STATION
IF X=0
THEN
X→T
ELSE
{MISSING FORMULA}
"TARGET STATION
"TARGET ELEVATION
IF C=0
THEN
C→E
ELSE
(B-(Q*(A-X)))→E
"TARGET ELEVATION
"OUTPUT
DISP "SLOPE IN PERCENT:",S
DISP "TARGET ELEVATION:",E
DISP "TARGET STATION:",T
"OUTPUT
```

Everything goes swimmingly until this part: Inpu**t "End Eleva.?",D It**pops up with Error: Syntax, which I click "Goto" and the error just shows the line. I have tried changing the variable, but that did nothing.

Can anyone give me any advice on how to fix this?