Not to mention that the next time you go to use the variable as the original datatype it can byte in you the arse.
Emmitt Dove Manager, Converting Applications Development Evergreen Packaging, Inc. [email protected] (203) 214-5683 m (203) 643-8022 o (203) 643-8086 f [email protected] From: [email protected] [mailto:[email protected]] On Behalf Of James Bentley Sent: Thursday, May 06, 2010 16:53 To: RBASE-L Mailing List Subject: [RBASE-L] - RE: TEXT TO INTEGER Jack, While what you wrote would do the conversion. It is poor programming practice to alter the defined datatype of a variable while command file is executing. Does bad thing like messing up the optimization in a while loop. Jim Bentley American Celiac Society [email protected] tel: 1-504-737-3293 _____ From: Jack Mathis <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Thu, May 6, 2010 1:11:56 PM Subject: [RBASE-L] - RE: TEXT TO INTEGER SET VAR vProperty TEXT GETPROPERTY componentID TEXTVALUE 'vProperty' SET VAR vProperty INT Jack Mathis From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle Sent: Wednesday, May 05, 2010 10:16 AM To: RBASE-L Mailing List Subject: [RBASE-L] - TEXT TO INTEGER What function do I use to change the text value of a GETPROPERTY command into Integer? Jim

