SLush and File Writing
Swami Venkataramani <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
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");
FileOutputStream dfileStream = new FileOutputStream (dfile);
PrintWriter writer = new PrintWriter(dfileStream);
writer.println(message);
writer.close ();
Any help is appreciated.
Thanks,
Swami.
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini