Hi Nicolas, here are my 4 pfennige :-) (in january that amount will equal to about 2 cents. The EURO is coming !!!) 100 pfennige make one deutsch-mark)
(Where the hell is that coming from: my 2 cents ? Do do not get very far with 2 cents today, anyway...) Looks like this is more a semantic issue ;-) Wholematches in combination with lineoffset. Sounds to me that a WHOLE LINE has to match before lineoffset will return anything else than 0. Maybe i am totally wrong... (Please do not beat me in that case, thanks :-) Regards Klaus Major <[EMAIL PROTECTED]> MetaScape GmbH > > --------FIELD 1 (word families) ------------ > 1<tab>apple<tab>apples<cr> > 2<tab>bed<tab>beds<tab>bedding<cr> > 3<tab>home<tab>homes<tab>homemaker<cr> > 4<tab>make<tab>makes<tab>making<tab>made > > -------FIELD 2 (the user's word-list) ------ > apple<cr> > bed<cr> > make<cr> > sing > > # Here are the script variations I've tried, > # and what is returned when I try a match to > # to the word "make". Note that all the > # variations start with these two lines: > > put field 1 into tField1 -- the word-family list > put word 3 of field 2 into tWord -- "make" > > ----VARIATION (1) --------------- > put lineOffset(tWord, tField1) > # This returns "3" since > # "homeMAKEr" is on that > # line, BUT "4" is what > # I'm after. Fair enough, tho. > > ----VARIATION (2) -------------- > set the wholeMatches to true > put lineOffset(tWord, tField1) > # This returns "0" BUT I > # thought/expected "4"!! > > ----VARIATION (3) > set the wholeMatches to true > put wordOffset(tWord, tField1) > # This returns "14", which > # is a correct identifying > # number -- only, I want > # a line number, not a > # word number. Archives: http://www.mail-archive.com/[email protected]/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
