[q-lang-users] Another Simple Question
Brought to you by:
agraef
From: Larry G. <lg...@ac...> - 2004-10-31 22:03:42
|
People: I pretty much copied this from the help screen: def F = fopen c:\test\mytest.txt "w" ; fwrites F "Hello, world." ; fclose F; Why does it give me this error in Qpad? % C:\Program Files\QPAD\TEST\Filew01.q Error Filew01.q, line 1: parse error at or near symbol `:' Error Filew01.q, line 2: parse error at or near symbol `;' Error Filew01.q, line 3: parse error at or near symbol `;' The error message is not too helpful. Should the filename be in double quotes? Are there some simple, complete, examples of file I/O? Larry Gregg |