Final Char's lost in export?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Norval Bard
Posts: 4
Joined: Tue Jun 16, 2015 6:52 pm

Final Char's lost in export?

Post by Norval Bard » Tue Jun 16, 2015 7:05 pm

Hi,
I use LC 7 to run a series of placement exams. Upon conclusion of the exam, the program exports data collected in fields to a simple text file. Recently (since upgrading to v7?) I am having a consistent and annoying problem: the last characters of any data exported from a field are truncated. So, when I might expect "spot" (i.e., that is what is in the field) the exported version is "spo". It's happening with all my exports, every single file.

Sample script: Put fld "XYZ" after last char of URL "file:blah.blah"

What am I doing wrong?
Thanks
NB

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Final Char's lost in export?

Post by Klaus » Wed Jun 17, 2015 12:08 pm

Hi Norval,

1. welcome to the forum! :D

2. CONFIRMED, Looks like a bug to me!

In the meantime use this syntax (I never used "...after last char of URL...)
Tested and works and does the same what you want :D
...
## put fld "XYZ" after last char of URL "file:blah.blah"
put fld "XYZ" after URL "file:blah.blah"
...

Best

Klaus

Post Reply