Re: Changes to Euphoria
- Posted by ken mortenson <kenneth_john at ?ahoo?com> May 29, 2008
- 679 views
Jeremy Cowgar wrote: > for a = 1 to length(lines) do .... > > Now you are evaluating the length of lines over and over and over again. > Granted, > length is stored in the sequence but some other calculation. length(lines) is part of initialization. Only an inexperienced coder would put it inside the loop. To be explicit... LineLength=length(lines) Loop if (a>LineLength) Exit End Loop Yes, we have an explicit var instead of an implicit one. I don't have a problem with that.