Re: SLush and File Writing
Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Swami Venkataramani wrote:
> I wrote a program that writes a string to file (which already
> exists). However, when I added this program as a Slush command and added this
> Slush command to the .startup file, it does not write to the file anymore. I
> tried using the DSFile class too, and still it doesn't work...
>
> Some sample code:
>
> DSFile dfile = new DSFile ("mode.txt");
Just a nitpick. You probably want to use java.io.File instead of
com.dalsemi.fs.DSFile to avoid compatibility and portability problems.
--
--
Bryan Armstrong
bryan.armstrong-6tN4nzCoH/[email protected]
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini