itemOffset still not working

Bob Sneidar bobsneidar at iotecdigital.com
Mon Oct 17 13:07:15 EDT 2016


Woot! Also, I think I will get more involved in the dev cycle this time. I am so hesitant to develop along 2 lines because my project is live. But I think I can work it out.

Bob S


On Sep 26, 2016, at 04:06 , Peter TB Brett <peter.brett at livecode.com<mailto:peter.brett at livecode.com>> wrote:

On 23/09/2016 23:16, Bob Sneidar wrote:
put rContactRecord ["contacttype"] into tContactType -- verified is
"|it|" set the itemdelimiter to "|" set wholematches to true put
itemoffset(pType, tContactType) into tOffset -- verified pType is
"it" tOffset contains 0

I also used literals as in put itemoffset("it","|it|") into tOffset
tOffset still contains 0.

I tries using commas with the default itemdelimiter that doesn't
work. I replaced "|" with cr and used lineOffset that doesn't work.

Finally, I DELETED THE FIRST VERTICAL BAR AND THAT WORKED!!!!!

So this bug is about having an empty first item/line. In this case
offset will always return 0. Not good.

Yes I have submitted a bug report. I will update it, but hopefully I
can keep this from biting anyone else in the butt. It is also going
to make it really difficult to do LIKE queries on list columns.
Hopefully this gets fixed soon, because I depend on this kind of list
queries a LOT.

Hi Bob,

Your bug report is http://quality.livecode.com/show_bug.cgi?id=18343.
We've already got a fix for it, but unfortunately the fix wasn't quite
in time for the 8.1.1 cut off.  It will be included in 8.1.2.

                                     Peter

--
Dr Peter Brett <peter.brett at livecode.com<mailto:peter.brett at livecode.com>>
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list