Re: every character of theVar, as string
Re: every character of theVar, as string
- Subject: Re: every character of theVar, as string
- From: david <email@hidden>
- Date: Sat, 10 May 2003 19:02:38 -0400
On Saturday, May 10, 2003, at 06:23 PM, Jeffrey Mattox wrote:
In my ASS project (but this question is more applicable to AS in
general), I get a field from an AppleWorks database record thusly:
set theVar to (get |Name| of theRecord) -- an AppleWorks text field
Later, I have these lines (my "working form"):
-- theRow is a new row at the end of a data source
set text item delimiters to ""
contents of data cell "x" of theRow to (every character of theVar)
as string
I got there by trial and error. I don't understand why I cannot use
other forms, such as these (they all fail, resulting in an empty > cell):
contents of data cell "x" of theRow to theVar
contents of data cell "x" of theRow to theVar as string
contents of data cell "x" of theRow to theVar as text
Could somebody enlighten me as to what my working form is actually
doing to theVar?
if you haven't read this it may be of value to you:
Macintosh HD:Applications:AppleWorks 6:AppleWorks Essentials:Scripts
Support:AppleScript Usage Notes
your path may be different, but it will give you the idea what to look
for.
david in maine
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.