Re: how test for empty sub-sequence?
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Jan 29, 2000
- 730 views
Joe, Well, my problem wasn't an EMPTY sub-sequence, it was a sub-sequence that had text in it instead of a number. I had different modules filling the variable in question at different times, with one filling it with the font size from an editor, and another earlier module just testing the variables structure with some dummy text put into it, and my program was bombing when it read the text and expected a number. Dan -----Original Message----- >Dan, >Can you post a little bit of the code that's giving you trouble? >Joe > ><snip> > >Joe, > >I guess I must have a different problem than I thought, 'cause that didn't >fix it. Drat. Now I have to think more about what the actual problem might >be. I will save your example in my personal FAQ for future use, though. :) > >Dan > ><snip> > >>How can I test a sequence to see if a sub-sequence is empty or not? >> >>Dan Moyer