Unusual behaviour [Valentina with LIVECODE API, Converting BitSets to ArraySets]
wtng
wtng at pacific.net.sg
Wed Jun 20 01:09:22 CDT 2012
Friends,
Background: I have a simple test table called pricelist with 4 columns and
only 12 records.
In my card script, I have already set up my table reference to be the global
variable tblPricelist.
My problem arises as I am trying out the functions to change a bitset to
arrayset.
When I do this:
global tblPricelist -- table pricelist
put VTable_SelectAllRecords (tblPricelist) into tBitSetRef
put VArraySet_FromBitSet (tBitSetRef) into tArySetRef
it executes silently in the background, apparently no problem.
BUT, when I do this (efDisplay is a Livecode text field):
global tblPricelist -- table pricelist
put VTable_SelectAllRecords (tblPricelist) into tBitSetRef
put VArraySet_FromBitSet (tBitSetRef) into tArySetRef
put "done" into field efDisplay
the execution HANGS! In fact, ANY command I execute after I use the
VArraySet_FromBitSet() function causes my script to hang.
Am I missing something here?
Sincerely
Ng Wee Tong (surname is "Ng".J)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20120620/87053ce9/attachment.html>
More information about the Valentina
mailing list