-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kem Tekinay
>Well, maybe I did something wrong, but this actually made it take longer, >and the IsNumeric function didn't work. I'll have to look into it later. I started from few to look at ElfData plug-in, but for what I understand the author suggests to not mix REALbasic strings with ElfData instance classes (if not in limited cases), especially inside loops. You should look at http://elfdata.com/plugin/advancedusage.html to see what is the better way to use the classes exported from the ElfData plug-in (which are more than one: see http://elfdata.com/plugin/technicalref/index.html for a complete list), and see which class better suit for your use. In particular, I would use the class BinaryStream to read and write from files, and I would use the class ElfDataCharSet to replace IsNumeric; in particular, the method ElfDataCharSet.Count would return the number of characters of a string that are inside the character set passed to the class constructor: if you compare that with the length of the line, you could know if the line contains just a number. I hope this can help you more. Best Regards. -- ~Alberto Paderno _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
