Question about serial

I have a questions about the code , i can start working with arduino, but i have a problem i need to stranlate this PIC code for Arduino
what would be the command that replaces hserout in arduino?. I need to send strings different values ??chains serial port. In this case for labels

CICLO: ADCIN CAN_0, VAR_A 'Leer Canal 0, guardar lectura en 'VAR_A
ENT = (VAR_A * 5) / 255 'Calcular valor entero
RES = (VAR_A * 5)//255 'Calcular residuo codificado
DECI = (RES * 100) / 255 'Calcular valor decimal

hserout ["<l n=",34,"FIE",34,">",10,13,"<s n=",34,"Lab_A",34," V=",34,#ENT,".",#DECI,34,"/>",10,13,"<s n=",34,"Lab_B",34," V=",34,#ENT,".",#DECI,34,"/>",10,13, "<s n=",34,"Lab_C",34," V=",34,#ENT,".",#DECI,34,"/>","", 10,13]

PAUSE 3000
'*****************************************************************
GoTo CICLO 'Ir a CICLO para realizar de modo indefinido
'la lectura del potenciómetro
'*****************************************************************
End 'Fin del Programa

what would be the command that replaces serout i

Serial.print?

Also, please don't use goto in your Arduino sketch.

PIC code or PICAXE?

Here's a start

void loop () {

   int ENT = 1;   // just plug in some vals to allow it to compile
   int DECI = 2;
   
   Serial.print ("<l n=\"FIE\">\n");
   Serial.print ("<s n=\"Lab_A\" V=\"");
   Serial.print (ENT);
   Serial.print (".");
   Serial.print (DECI);
   Serial.println ("\"/>");
   delay (3000);

}

34 is a double quote, use " in a string
10,13 is a CR/LF, use \n with Serial.print() or nothing with Serial.println()

There is a way to do this with one line of code but it's not worth the agro for you at this point I think.


Rob