|
|||
|
Hello,
Please try the below test code: function main() local cSearch := "12345789-123456789-" ? rat( "7", cSearch ) ? rat( "7", cSearch, 10 ) inkey(0) return NIL Here I get: 16 16 so the starting position of the search seems to be ignored. Ella |
|
|
||||
|
||||
|
|
|
|||
|
Dear ella.stern:
<ella.stern@xharbour.com> wrote in message news:818d42ea-b1e3-4b33-8162-96a198d6dfad@i20g2000prf.googlegroups.com... > Hello, > > Please try the below test code: > > function main() > local cSearch := "12345789-123456789-" > ? rat( "7", cSearch ) > ? rat( "7", cSearch, 10 ) > inkey(0) > return NIL > > Here I get: > 16 > 16 > > so the starting position of the search seems to be ignored. What xHarbour version are you running? David A. Smith |
|
|||
|
N:dlzc D:aol T:com (dlzc) wrote:
> Dear ella.stern: > > <ella.stern@xharbour.com> wrote in message > news:818d42ea-b1e3-4b33-8162-96a198d6dfad@i20g2000prf.googlegroups.com... >> Hello, >> >> Please try the below test code: >> >> function main() >> local cSearch := "12345789-123456789-" >> ? rat( "7", cSearch ) >> ? rat( "7", cSearch, 10 ) >> inkey(0) >> return NIL >> >> Here I get: >> 16 >> 16 >> >> so the starting position of the search seems to be ignored. > > What xHarbour version are you running? > > David A. Smith > > I'm running rev 6220, and get the same results. As a matter of fact I get the same 16 no matter what number I put as the starting position - whether it be -5 or 0 or 25 or 100. |
|
|||
|
Dear Tim Jacob:
On Dec 22, 6:54*am, Tim Jacob <tja...@nospam.jollyfarmer.com> wrote: > N:dlzcD:aol T:com (dlzc) wrote: > > <ella.st...@xharbour.com> wrote in message > >news:818d42ea-b1e3-4b33-8162-96a198d6dfad@i20g2000prf.googlegroups.com.... > >> Please try the below test code: > > >> function main() > >> * local cSearch := "12345789-123456789-" > >> * ? rat( "7", cSearch ) > >> * ? rat( "7", cSearch, 10 ) > >> * inkey(0) > >> return NIL > > >> Here I get: > >> 16 > >> 16 > > >> so the starting position of the search seems to be > >> ignored. > > > What xHarbour version are you running? > > I'm running rev 6220, and get the same results. *As a > matter of fact I get the same 16 no matter what > number I put as the starting position - whether it be > -5 or 0 or 25 or 100. It was a bug in June: http://groups.google.com/group/comp....0d6149965c297b Apparently was either never reported: http://www.xharbour.com/support/bugreporter/ .... or was ignored when reported. Someone care to report this? David A. Smith |
|
|||
|
dlzc wrote:
> Dear Tim Jacob: > > On Dec 22, 6:54 am, Tim Jacob <tja...@nospam.jollyfarmer.com> wrote: >> N:dlzcD:aol T:com (dlzc) wrote: >>> <ella.st...@xharbour.com> wrote in message >>> news:818d42ea-b1e3-4b33-8162-96a198d6dfad@i20g2000prf.googlegroups.com... >>>> Please try the below test code: >>>> function main() >>>> local cSearch := "12345789-123456789-" >>>> ? rat( "7", cSearch ) >>>> ? rat( "7", cSearch, 10 ) >>>> inkey(0) >>>> return NIL >>>> Here I get: >>>> 16 >>>> 16 >>>> so the starting position of the search seems to be >>>> ignored. >>> What xHarbour version are you running? >> I'm running rev 6220, and get the same results. As a >> matter of fact I get the same 16 no matter what >> number I put as the starting position - whether it be >> -5 or 0 or 25 or 100. > > It was a bug in June: > http://groups.google.com/group/comp....0d6149965c297b > > Apparently was either never reported: > http://www.xharbour.com/support/bugreporter/ > ... or was ignored when reported. Someone care to report this? > > David A. Smith Looks like it was reported Friday and verified today. http://www.xharbour.com/support/bugr...detail&bug=375 |
|
|||
|
"dlzc" <dlzc1@cox.net> ha scritto nel messaggio news:0fb95b08-19c2-4d7f-9aab-075cd9fafe35@i18g2000prf.googlegroups.com... > Someone care to report this? Please test after: 2008-12-22 20:45 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it> EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg The EMG Music page: http://www.emagsoftware.it/emgmusic |
|
|||
|
Thank you. > > Please test after: > > 2008-12-22 20:45 UTC+0100 Enrico Maria Giordano > <e.m.giord...@emagsoftware.it> > > EMG > > -- > EMAG Software Homepage: * *http://www.emagsoftware.it > The EMG's ZX-Spectrum Page:http://www.emagsoftware.it/spectrum > The Best of Spectrum Games:http://www.emagsoftware.it/tbosg > The EMG Music page: * * * *http://www.emagsoftware.it/emgmusic |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Annotate issue finding starting location of axis label | Mike Zdeb | Newsgroup comp.soft-sys.sas | 0 | 12-03-2008 02:58 PM |
| Manager Marketing Analytics Position | Tammy Miles | Newsgroup comp.soft-sys.sas | 0 | 07-18-2008 11:58 PM |
| Assistant Director position opening at Dartmouth | Heather Kim | Newsgroup comp.soft-sys.sas | 0 | 05-22-2008 03:55 PM |
| UNC-CH School of Medicine position announcement | Dale Krams | Newsgroup comp.soft-sys.sas | 0 | 02-02-2007 03:43 PM |
| Re: CALL PRXNEXT() | David L Cassell | Newsgroup comp.soft-sys.sas | 0 | 09-07-2006 05:55 AM |