mod added title

aa

an enum is short for enumeration which is equivalent to a series of defined integers, but more compact. They start at 0 and increase by 1 through the list [unless you explicitly assign a value, but that is not very common]
These two statements are equivalent

enum LedStates {ON, OFF};

const int ON = 0;
const int OFF = 1;

if you want to know more, you can google 'C language enum'

OP’s original question, with title: “Quick question about a tutorial” before (s)he erased it

Hi; I am working on the state machine tutorial I found here New State machine tutorial - Education and Teaching - Arduino Forum by J. Bellavance
I came across this;

enum LedStates {ON, OFF};

I put it in the code and tried it. Code works. However, I cannot find enum here. Can some one explain what it is.

@Polliwog - you have vandalised this topic

DO NOT DO THAT AGAIN

Please take a day to let the message sink in

Hello UKHeliBob

When I deleted my post it was because at the time there were no responses and 14 views. I thought I had asked a stupid question or something. I feel you have over reacted a bit.

Polliwog:
When I deleted my post it was because at the time there were no responses and 14 views. I thought I had asked a stupid question or something. I feel you have over reacted a bit.

However many views and/or replies there were that is no reason to vandalise the topic. If you really wanted it deleted then reporting it to the mods for deletion would have been better

To answer your question about enums, they are part of the C language rather than being Arduino specific and Google would have told you more than you could ever want to know about them and their use as noted in post #1 which was made less than an hour after you posted the original question