Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 26-03-2007
ivandelphi ivandelphi is offline
Registrado
 
Registrado: mar 2007
Posts: 1
Poder: 0
ivandelphi Va por buen camino
Thumbs up case???

alguien me podria decir como puedo hacerle para tratar de realizar un proble con case en delphi tengo que convertir de numero a texto bieno para no hacerlo tan largo aqui le spongo la parte del codigo en el que tengo problemas espero y alguien me pueda decir que hacer gracias!!!

case decena of
1: case uniddad of
0: begin texto7.Text:= 'Diez';end;
1: begin texto7.Text:= 'Once';end;
2: begin texto7.Text:= 'Doce';end;
3: begin texto7.Text:= 'Trece';end;
4: begin texto7.Text:= 'Catirce';end;
5: begin texto7.Text:= 'Quince';end;
6: begin texto7.Text:= 'Dieciseis';end;
7: begin texto7.Text:= 'Diecisiete';end;
8: begin texto7.Text:= 'Dieciocho';end;
9: begin texto7.Text:= 'Diecinueve';end;
end
2: begin texto7.Text:= 'Veinte';end;
3: begin texto7.Text:= 'Treinta';end;
4: begin texto7.Text:= 'Cuarenta';end;
5: begin texto7.Text:= 'Cincuenta';end;
6: begin texto7.Text:= 'Sesenta';end;
7: begin texto7.Text:= 'Setenta';end;
8: begin texto7.Text:= 'Ocheta';end;
9: begin texto7.Text:= 'Noventa';end;
end
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Optimizar con Case XXX of TIKIMORE Varios 9 10-07-2010 17:21:20
CASE o IFF en SQL dark_c SQL 3 13-01-2007 20:07:33
Uso del Case IVAND SQL 4 05-04-2006 17:39:48
Ayuda con CASE YaninaGenia Varios 2 26-06-2005 12:40:39


La franja horaria es GMT +2. Ahora son las 13:40:17.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi