- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have this code, there is a main code that calls four other subroutines. The subroutine in question generates three data files that need to be use afterwards so the main code writes out this files on unformated .BIN files but the following subroutine is not reading them. I understood that this .BIN files were available to other subroutines without the need to call them. I went on and added ask the main code to write the files on a .TXT file then call them form the following subroutine. The problem is I need too much memory already how can make this work and be memory efficient.?
thanks
thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, it would help to clarify things to know if you are writing unformatted sequential files or "TRANSPARENT" ones. Use the former. Second, make sure that you REWIND the files before you attempt to read them in your subroutine. You do not need to reopen the files in the subroutines if they are not closed in the main program.
Regards,
Keith
Regards,
Keith

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page