Consultor Eletrônico



Kbase 18340: The Last Line of a File is Cut Off in WebSpeed Workshop
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/03/2004
Status: Unverified

FACT(s) (Environment):

WebSpeed 2.x
WebSpeed 3.x

CAUSE:

If the last line of a file is not trailed by the customary new line character (CR/LF), then the last line from the file may be cut off when loaded into the WebSpeed Editor or when viewed using the View option.

FIX:

Add a carriage return after the last line in the file.

FIX:

This is expected because the IMPORT statement requires a newline or linefeed character to mark the end of the physical line.

Both WebSpeed options use the IMPORT statement to read the file. The WebSpeed Editor is a Java applet and it issues a WebSpeed request to get the file. The View option is a WebSpeed program.

This behaviour is typically reported by customers that use an HTML authoring tool or an ascii editor. The file is saved without adding a return to the last line of the file.