3D printer firmwaqre error

Hi, thanks for add to forum. I am trying to edit firmware to set height of printer nozzle, but get the following error message when I try to compile the sketch. ' exit status 1 expected constructor, deconstructor to type conversion before numeric constant'
This is my first attempt ar any sort of programming so I will need to be shown the way. I will add a screenshot. Many thanks... the line I am trying to edit is the one that says-
" #define manual_z_home_pos 292"

Post code, not screenshots.
Use code tags.

the line I am trying to edit is the one that says-
" #define manual_z_home_pos 292"

A #define statement defines a name and a value. One name, one value.

Your statement defines the name Z_MAX_POS and the value "MANUAL Z_HOME_POS 292".

Does that value make any sense to you? It makes no sense to me.

the figure 292 is the distance between the print nozzle and the bed.....

Helensdad:
the figure 292 is the distance between the print nozzle and the bed.....

So what?

Look for where Z_MAX_POS appears in your code (after the #define statement). Substitute "MANUAL Z_HOME_POS 292" for "Z_MAX_POS" in that statement. Does the statement still make sense?

The value MIGHT be "MANUAL Z_HOME_POS+292". Or it might be "292".

Only you have any idea what the #define statement looked like before you fat-fingered it, or what you think the new statement is supposed to mean?

Cheers, love the'fat fingered it' expression, it is now part of my vocabulary! Just a thought, does the machine in question have to be connected to the computer? I was trying to edit the file before connecting the printer ready for upload later...

does the machine in question have to be connected to the computer?

No. You can write programs, and verify them, without the Arduino being connected. To upload, though, the Arduino needs to be connected.