well, if file is a folderitem, then you are passing a string into a
folderitem. That's not possible. And I dont know what the compiler makes of
the ( ) around the string. You should do :
File=GetFolderitem("C:\myfile.txt")

Maarten


On 15/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi.

I am writing a program with Mac OSX, and I am able to create a file using
:

  file=Volume(1).Child(<folder>).Child(<file>)

However, I also want to write the same file when compiling for Windows32
systems (98/Me/XP). (my beta tester has a windows xp system...)

I have tried using

  if TargetWin32 then
    file=("c:\myfile.txt")
  end if

However, it fails.  Any idea of what I am doing wrong?

Regards

Michael

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to