I have written a small utility that operates on uncompiled (ASCII) models only. What I would like to be able to do is to make the program test if the model does indeed contain uncompiled data. So far the only idea I've been able to come up with is to check the length of the first line of data and if it's greater than an arbitrary value to reject the file.
Obviously this approach is fraught with potential problems. Is there a better test I can perform in code that will detect all compiled models?
Thanks in advance.
TR





Retour en haut







