Thread: Tipo de Dato
View Single Post
  #5  
Old 08/12/2007
BetoAlonso BetoAlonso is offline
Miembro
 
Join Date: Jul 2003
Posts: 113
Rep Power: 24
BetoAlonso Va por buen camino
Wink

gracias JAchguate por tu respuesta.

te pongo el codigo ke tengo :

Code:
        C := ApdComPort1.GetChar;
        case C of
        #0:S := S + '0';
        #1:S := S + '1';
        #2:S := S + '2';
        #3:S := S + '3';
        #4:S := S + '4';
        #5:S := S + '5';
        #6:S := S + '6';
        #7:S := S + '7';
        #8:S := S + '8';
        #9:S := S + '9';
        end;
Hasta aki todo bien mi problema es ke C puede llegar a ser #99 y te imaginas hacer un case hasta #99?

Lo ke deseo es saber si hay alguna manera de transformar el valor de C por ejemplo #6 ke sea solo 6.

espero haberme hecho entender.
Reply With Quote