item delimiter defaults

Roger Eller roger.e.eller at sealedair.com
Thu Nov 21 20:08:33 EST 2013


In the fashion of smarter code, or dynamic properties, why not let the
engine sort it out from a quick sampling?  If the first line of data has a
bunch of tabs, then the dynamic intemDel is tab.  If no pattern is
detected, default to comma.

~Roger
On Nov 21, 2013 7:53 PM, "Mark Wieder" <mwieder at ahsoftware.net> wrote:

> Monte-
>
> Thursday, November 21, 2013, 3:15:04 PM, you wrote:
>
>
> > On 22/11/2013, at 9:21 AM, Mark Wieder wrote:
>
> >> If anything, I'd argue that things should be the other way around:
> >> that there be *no* default itemDelimiter, and the use of items without
> >> having explicitly defined the delimiter should result in a runtime
> >> error.
>
> > Ooo.... now that would break a heap of code... :-)
>
> Yep. Probably everything I've ever written. <g>
>
> --
> -Mark Wieder
>  ahsoftware at gmail.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
>



More information about the Use-livecode mailing list