Memory File Problems
- The first row in a memory file is row 0. If you make mf_rowrpl() calls to fill a memory file and start at row 1, mf_disp() will display an "empty" file. This is because a NULLP is at row 0 in the memory file and mf_disp() interprets this NULLP as the END-OF-FILE marker.
- In an MFLINE structure, the length of the line does not count the null terminator '\0'.
- Video attributes cannot be stored in a memory file. All of the text in the memory file is displayed using the window attribute. Use memory screens if you need text displayed in different attributes.