Problem Compiling
Problem Compiling
- Subject: Problem Compiling
- From: Todd Geist <email@hidden>
- Date: Sat, 18 Dec 2004 12:54:11 -0700
Hello everyone,
I copied the following routine from apple site. It will compile in Script
Editor, but not Smile and it returns an error when I try to use it inside
FileMaker 7.
on write_to_file(this_data, target_file, append_data)
try
set the target_file to the target_file as text
set the open_target_file to open for access file target_file with
write permission
if append_data is false then set eof of the open_target_file to 0
** write this_data to the open_target_file starting at eof
close access the open_target_file
return true
on error
try
close access file target_file
end try
return false
end try
end write_to_file
** this line causes the following error "Expected end of line, etc. but
found identifier."
What am I missing?
todd
--
Todd Geist
______________________________________
G e i s t i n t e r a c t i v e
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden