Error in ALINES():
*Try this One:
x = 'a' + chr(10) + ''+ chr(10) + "c"
^Here is the ERROR for ALINES()
?alines(y,x) &&Returns 2- FALSE
*In your ARRAY you now have y(1)="a",y(2)="c".
*It should be y(1)="a",y(2)="",y(3)="C"
?memlines(x) &&Returns 3 correct!
*Now Try this one:
x = 'a' + chr(10)+chr(13) + ''+ chr(10)+chr(13) + "c"
?alines(y,x) &&Wow...returns 3- Correct
*It should be y(1)="a",y(2)="",y(3)="C"
This happens when you use EDITBOXES and MEMO fields.
Greetings
Marvin Blase (tA-logistic Software GmbH)
You'll never notice the good things if you haven't seen the bad.