Search
Articles & Documents
Tutorials
Newsletter
CPDB.Net
Friends News
Visits
Webmaster - Infos
|
- Forum - ppCompiler
Topic # 17 |
Problem with Files |
12/01/2010 @ 16:30 by Christian
|
Hey Guyz,
I own a Tungsten E2 and I was going to try out PP. It all worked out fine, i'm using Piaf and all the Stuff I need. But now, when I was playing around with files, i had a Problem:
Code:
Code :
var:
f: file of string
begin
rewrite (f, 'myfile.txt');
write(f, 'Hello');
close(f);
end.
This Program results with the following crash (Yes, it kills my whole Palm):
MemoryMgr.c, Line:3732, Null Handle.
Could you help me, please? |
|
|
Answer n° 1 -------- 13/01/2010 @ 17:12 by Philippe
visitor |
After syntax and typo fixes, your program runs on my TX. I know that this answer does not satisfy you, but it suggests that the problem may be elsewhere. |
|
|
Answer n° 3 -------- 14/01/2010 @ 19:08 by Philippe
visitor |
Unfortunately, I have no suggestion. This is neither a question of update, nor a problem with StdioLib as the problem only occurs with files. |
|
|
Answer n° 4 -------- 19/01/2010 @ 09:56 by Christian
visitor |
I have found a solution for writing files, but now i have another question: how do i read files? The solution i found on an tutorial doesn' t work, because the "Assign"-Command apparently doesn' t exist. Is there any "OpenFile" command? |
|
|
Answer n° 5 -------- 25/01/2010 @ 08:26 by Philippe
visitor |
reset(f,'myfile.txt'); |
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|