Collapse (?) An Array?

Andre Garzia andre at andregarzia.com
Thu Sep 1 11:13:25 CDT 2011


On Thu, Sep 1, 2011 at 12:18 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 9/1/11 9:10 AM, Scott Rossi wrote:
>
>  From what you're saying, it sounds like I need to put the remaining
>>> elements
>>>
>> of the array into a temporary variable and then replace the original
>> array.
>>
>
> If that's what you need, then it might be easier to just combine the array,
> remove the line you don't want, and then split it again. If any of your
> values are more than one line, use custom delimiters that don't appear in
> your data anywhere.
>


on foldArray @pA
  combine pA by numtochar(4)
  split pA by numtochar(4)
end foldArray

This works right???



>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> ______________________________**_________________
> use-livecode mailing list
> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



-- 
http://www.andregarzia.com All We Do Is Code.


More information about the use-livecode mailing list