File - Append

new BookmarkLockedFalling
veneff
New Member
*

veneff Avatar

Posts: 29

mikeukmid
Guest

Guest Avatar

Post by mikeukmid on Jan 8, 2009 9:12:02 GMT -5

veneff Avatar
What is wrong with this statement?

OPEN "ShoppersDebugFile.txt" FOR APPEND AS #DebugFile

It generates this error:
Compile Error
Syntax error - OPEN "ShoppersDebugFile.txt" FOR APPEND AS #DebugFile

Thanks!
Vance


Looks like a bug, RunBASIC doesn't like APPEND, try (lowercase) append instead.

Mike.
veneff
New Member
*

veneff Avatar

Posts: 29

JackWebb
Junior Member
**

JackWebb Avatar

Posts: 69

Post by JackWebb on Jan 9, 2009 1:41:07 GMT -5

veneff Avatar
Thanks Mike!

I wonder what other key words can't be capitalized?

Vance


I typically capitalize all of my basic keywords, statements and functions (QuickBasic style) and I haven't had a problem so far. But I've harldy touched all of the language. I did have one append in a guestbook program I wrote but it was lower case to my surprise. Pure dumb luck..

Jack
Live to code, code to live!