Re: File handling
- Posted by Irv <irv at ELLIJAY.COM> Jun 07, 1998
- 659 views
At 04:53 AM 6/7/98 -0300, Daniel wrote: >- >De: Einar Mogen <nord.staernes at ROLLAG.MAIL.TELIA.COM> >>>Besides, if you're using a GUI a system() call will flicker the screen. >> >>When you call system, one of the parameters passed is a flag telling >whether >>you want screen output or not. So the screenflicker can be avoided. (am I >>right?) > >No. The parameter is to tell the function if the system has to change video >mode before returning control to the program. If you're program runs on text >mode you can tell system you don't need a video change... else you need >it ---> flicker :( > I am puzzled. I just added a command to one of the buttons in my GUI database to delete a file: system("delete test.xxx",2) When I click that button, the file gets deleted, and there is no flicker or other problem. More surprising, if the file is not found, a neat "file not found" appears at the top of the screen without changing from mode 256, and you continue on without trouble. Ok, the truth is I have been secretly deleting your files at random every time you play my concentration game...didn't notice, did you? Bwahahaha!!! Irv