Title: Mensaje
Tal vez, lo que te coinvenga es generar el fuente de un RPG con el string, y compilarlo, si no hay errores ejecutarlo. 
 
 

Pedro Pinedo Hernandez
Analista-Programador
Grupo Amcor Flexibles Hispania S.L. 
Planta: Tobepal Logro�o
Departamento de Inform�tica / IT Department
tfno.:+34 941 28 60 90 - 941 03 01 39
fax: +34 941 20 75 43
26006 Logro�o
Spain
[EMAIL PROTECTED]
(quitar nospam del dominio, para enviar)

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Nicol�s Machado
Enviado el: jueves, 11 de noviembre de 2004 13:35
Para: [EMAIL PROTECTED]
Asunto: Parsear un texto ...

buenos dias, hago la siguiente consulta por si alguien tiene algun pedazo de codigo que pueda "regalarme".
 
voy a tener un string que va a contener algo parecido a esto:
"( &F01 * 10 ) +  &F02 * 20 + ( &F03 * 30 )"
 
de eso voy a necesitar reemplazar los &Fxx por sus valores, pero ademas para validar la sentencia voy a necesitar parsear el texto.
Alguien tiene alguna rutina , o ejemplo de como poder hacer esto ??
 
Desde ya muchas gracias
Saludos
 
 
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004


_______________________________________________________

AMCOR FLEXIBLES - LEADING THROUGH INNOVATION
_______________________________________________________

CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify AMCOR FLEXIBLES immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of AMCOR FLEXIBLES.

Responder a