Receive data from Arduino UNO R3

Hello:

Arduino UNO R3 connect via USB. I have a very simple fact that input code something works.

byte Datos;

void setup() 
{
        Serial.begin(9600);     
}

void loop() {
              if (Serial.available()) 
              {
                  Datos = Serial.read();
                  if (Datos == 'A') 
                  {
                    Serial.println("Vida: Ha llegado variable A: ");
                  } 
                  
                  if (Datos == 'B')
                  {
                    Serial.println("Balas: Ha llegado variable B: ");
                  }
                  
                  if (Datos == 'C')
                  {
                    Serial.println("Mana: Ha llegado variable C: ");
                  }
                }
                
                delay(100);
             }

I intend to connect a 16x2 LCD display for now I'll settle view the data in the "Serial Monitor" in Arduino IDE 1.0.5.

I made a small application in C # to send data to Arduino. Three variables. To distinguish each, first send a byte 'A', behind him a decimal numeric values ??shown thereupon send 'B' with other numerical data to execute code in B above and the same for 'C' .

If I send this secuantia from C #:

A100B10C100

In the serial monitor shows this:

Vida: Ha llegado variable A:
Balas: Ha llegado variable B:
Mana: Ha llegado variable C:

Should appear:

Vida: Ha llegado variable A:
Vida: 100
Balas: Ha llegado variable B:
Balas: 10
Mana: Ha llegado variable C:
Mana: 100

How do I get to capture data in each corresponding numbers if?

I hope I have explained well.

A greeting.

if (Datos == 'A') 
                  {
                    Serial.println("Vida: Ha llegado variable A: ");
                  }

add the serial prints to print the variable:

if (Datos == 'A') 
                  {
                    Serial.println("Vida: Ha llegado variable A: ");
                    Serial.println("Vida: ");
                    Serial.print(Datos);
                  }

Hello:

Not exactly what I want. If from my program done in C # Shipping this:

A100B10C100

'A' is for the "if". 100 is a decimal value that is constantly changing.
'B' is for the second "if" and 10 is the decimal value.
'C' is the third "if" and 100 is its value also varies.

View

Numbers must presentarce as numbers. these numbers vary every 0.1 seconds "Delay (100)."

Greetings.

simple define a char array and input all the Serial.read()'s in it and then access the 10 and 100 etc by addressing the respective index in the array so if you send A100B10 then char[1] and char[2] and char[3] has the value 100 collectively assuming you are not using any <> markers to know when the data entered and ended transmission.