Saving File In BASIC Comes Into WP As Garbage

DocumentID: 650137
Revision Date: 29-Feb-96 8:28:57 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: I can duplicate this problem consistently on three different computers. I created a two-line BASIC file in WP5.1: 10 REM "This is a test." 20 END I saved it as a DOS text file and loaded it into BASIC. It looks fine. I then saved it in BASIC and returned to WP5.1. I retrieved it through DOS text #2 (CR/LF as [HRt]). It retrieved as garbage with control codes. I tried simply typing the DOS Text file at DOS and then retrieving it as DOS Text into 5.1. It came in clean. This man is fairly upset. I have a fax showing both the original and the trashed versions if that helps. I also have my own files which duplicate the situation if you cannot. Solutions: A normal save in Basic stores files in an encrypted file format. Have the customer instead save the file as (save "filename" ,A) . The A means ascii file format. This information is in any Basic manual. If the customer uses this option and the file still doesn't come into WP then write up another STR on this or come and contact me about this answer. This is not a WordPerfect problem but is merely that the customer isn't using Basic correctly with WordPerfect.

Answer:

Details:

Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.