QUIZ Long Prompts
Peter Bell
peter.bell@oa.hydro.com.au
31 Mar 1998 23:06:41 +0000
Hello Colin,
I have a solution for you with long prompts. I was able to embed the
Linefeed and Carriage Return characters into a string. Sample code was
tested and is shown below.
QUIZ> define q1 char*1 = &
QUIZ> parm prompt "LINE 1 ***************************************
LINE 2 ***************************************
LINE 3 *************************************** >> "
QUIZ> report q1
QUIZ> go
LINE 1 ***************************************
LINE 2 ***************************************
LINE 3 *************************************** >>
FROM THE EDITOR
define q1 char*1 = &
parm prompt "LINE 1 *************************************** __
LINE 2 *************************************** __
LINE 3 *************************************** >> "
The two underscore characters are the CR and LF characters that were cut
and pasted from a log file.
NOTE: I have inserted another <CR><LF> because the editor only displays 80
characters. So the line looks chopped off onscreen.
I am using VAX architecture and if you are using HP3000 I think you will be
limited to 255 characters.
regards
Peter Bell
Powerhouse Consultant
Tasmanian Hydro Electric Commission
PETER.BELL@OA.HYDRO.COM.AU
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.