* Find_Token needs another argument @ 2011-12-23 20:55 brian.b.mcguinness 2011-12-24 2:35 ` Adam Beneschan 0 siblings, 1 reply; 3+ messages in thread From: brian.b.mcguinness @ 2011-12-23 20:55 UTC (permalink / raw) Find_Token should take a "From" argument specifying the index where the search is to start so you don't have to keep slicing the string to find multiple tokens. Given the current need for slicing, it looks as if it might be more efficient to use Index to scan for nondelimiter and delimiter chars. --- Brian ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Find_Token needs another argument 2011-12-23 20:55 Find_Token needs another argument brian.b.mcguinness @ 2011-12-24 2:35 ` Adam Beneschan 2011-12-24 18:05 ` brian.b.mcguinness 0 siblings, 1 reply; 3+ messages in thread From: Adam Beneschan @ 2011-12-24 2:35 UTC (permalink / raw) On Dec 23, 12:55 pm, "brian.b.mcguinn...@lmco.com" <brian.b.mcguinn...@lmco.com> wrote: > Find_Token should take a "From" argument specifying the index where > the search is to start so you don't have to keep slicing the string to > find multiple tokens. It's been done in Ada 2012 already. -- Adam ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Find_Token needs another argument 2011-12-24 2:35 ` Adam Beneschan @ 2011-12-24 18:05 ` brian.b.mcguinness 0 siblings, 0 replies; 3+ messages in thread From: brian.b.mcguinness @ 2011-12-24 18:05 UTC (permalink / raw) Ok, thanks. I found an Ada 2012 manual online and located the new version of Find_Token. It seems to work fine in gnat. --- Brian ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-24 18:07 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-12-23 20:55 Find_Token needs another argument brian.b.mcguinness 2011-12-24 2:35 ` Adam Beneschan 2011-12-24 18:05 ` brian.b.mcguinness
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox