Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
-
lairdpleng
Post
by lairdpleng »
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 06 Feb 2008 10:00:00 -0000
Hi. I have copied the
ReadDirectory() example from the Hollywood guide into a blank test document called rdir.hws.
Code: Select all
f$ = ()
d$ = ()
ReadDriectory("SYS:",f$,d$)
WaitLeftMouse()
When attempting to compile the script I get the following error:
Code: Select all
Unexpected symbol!
File: rdir.hws (current line: 1)
Why isn't this working?
-
Robin
- Posts: 16
- Joined: Sun Feb 14, 2010 6:29 pm
Post
by Robin »
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 6 Feb 2008 12:16:01 +0100 (CET)
Hi,
f$ = () d$ = () ReadDriectory("SYS:",f$,d$)
WaitLeftMouse()
When attempting to compile the script I get the following error:
Unexpected symbol! File: rdir.hws (current line: 1)
Why isn't this working?
f and d are tables. Tables are inited with {} not () -- Robin -
http://my.morphosi.net/
-
lairdpleng
Post
by lairdpleng »
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 06 Feb 2008 12:19:31 -0000
Hi Robin. Yes I just noticed that! Feeling pretty dim now (no pun intended)!
cheers! Clayton