every character of theVar, as string
every character of theVar, as string
- Subject: every character of theVar, as string
- From: Jeffrey Mattox <email@hidden>
- Date: Sat, 10 May 2003 17:23:14 -0500
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?
Jeff
_______________________________________________
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.