I thought that's the way it worked too but I tried what you said and got an
empty string, so I'd say Alex's problem is definitely a bug.

I've also found that zero is a valid line number.  If your put a string
into line zero of a field, the string will go before the first line.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Sun, Jan 26, 2014 at 8:56 PM, J. Landman Gay <[email protected]>wrote:

> On 1/26/14, 7:39 PM, Alex Tweedly wrote:
>
>  i.e. if the field contains only 1 line, then setting liststyle of line 2
>> to -1 also sets the value for line 1.
>>
>
> I'm not sure this is a bug as much as it's the way line numbering works.
> If there is only a single line in a field, getting line 2 to -1 of it
> returns the text of line 1, because that's the last line.
>
> --
> 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
>
_______________________________________________
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

Reply via email to