Embedded carriage return

SOWDERS@swau.edu SOWDERS@swau.edu
Tue, 5 May 1998 11:32:25 -0500


>I'm working on a VAX platform using 7.10.F4.  I need to hard code an
>carriage return into a PORTABLE subfile.  I plan on doing this in QTP in an
>experiment to break records into smaller records.  I have seen hard coded
>carriage returns in the past but I can't really remember how it was done.
>Does anyone know the syntax to hard code a carriage return into a DEFINE or
>TEMP?  
>
>
>Example 
>DEFINE D_ESC_INT		        INT*02 = 6912
>DEFINE D_ESC			  CHAR*01 = CHARACTERS(ESC_INT)
>DEFINE D_CARRIAGE_RET CHAR*05 = ESC + ?????
>
>I think something like this will work.  I do not know what the value for an
>carriage return is.  Does anyone have this information?
>
>Mark Stewart

The carriage return is a control M. (try entering a control M instead of a carriage return
on your keyborard. It should work just fine.)

A control M is ascii decimal value 13.  Try that in your code.


Steve Sowder
sowders@swau.edu
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.