On 4/23/2016 11:52 AM, Sannyasin Brahmanathaswami wrote:
Interesting but this still doesn’t work
ommand postChildrenAndParents pChildrenField
set the itemdelimiter to tab
--put item 2 of target into pID # doesn’t work but his does:
put item 2 of value( the selectedline of the target) into pID
put getChildren(pID) into tChildren
It will work, but the two statements above aren't equivalent. "Target"
returns the entire content of the field. Since you want to capture only
the selected line, you'd need to isolate that as in the second example.
Using "target" it would be something like this:
put item 2 of line (the hilitedline of the target) of target into pID
Since that's more convoluted than the second method, there's probably no
reason to bother changing it.
--
Jacqueline Landman Gay | [email protected]
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode