Re: error?
- Posted by jbrown105 at speedymail.org Oct 25, 2002
- 500 views
On 0, Kat <kat at kogeijin.com> wrote: > > Ok, if > decimalcount = 1 > (the debug screen says it is 1) > then shouldn't this line crash?: > > resultnum = resultnum[1..decimalcount-1] & "." & > resultnum[decimalcount..length(resultnum)] > > since it is the same as: > resultnum[1..0] > ? > > Kat > No. resultnum[1..0] is the empty sequence {} resultnum = resultnum[1..decimalcount-1] & "." & resultnum[decimalcount..length(resultnum)] is the same as resultnum = resultnum[1..0] & "." & resultnum[1..length(resultnum)] jbrown Linux User:190064 Linux Machine:84163 --