Line Counting in QUIZ
Jeff Hoffman
wonicon at optusnet.com.au
Tue Oct 24 07:24:23 CDT 2006
Adam
You could write to disk file, You may have to prefix a skip with " " (eg "
" skip " " skip " " skip) to make sure you get at least a single character
per line.
If this is just a once off, then use an editor or o/s script to add a line
number.
If something more permanent is required then define a file that will read
the disk file you just wrote then you can add the line number.
Jeff
At 10:46 AM 24/10/2006, you wrote:
>Hi there,
>It is about 2 years since I have coded in Powerhouse, but due to the
>need to get some data out of the old system, I am asking for some
>assistance.
>
>I have an existing .qzs file that I need to run, but need to put
>additional information including a 'line number' at the beginning of
>each line, including blank lines.
>I have added the other information, and expanded out each 'skip 3' into
>3 individual 'skip' instructions with the appropriate information being
>displayed.
>
>The problem is I don't know how to add a 'line number' to it. How can I
>increment a count for each line?
>
>Your assistance would be most helpful.
>
>Thanks
>
>
>
>Adam Robertson
>Division of Information Technology
>Charles Sturt University
>Leeds Parade
>Orange NSW 2800
>Phone: 02 6365 7967
>Fax: 02 6365 7629
>Mobile: 0439 310 793
>arobertson at csu.edu.au
>www.csu.edu.au
>
>The Commonwealth Register of Institutions and Courses for Overseas
>Students (CRICOS) Provider Number is 00005F for Charles Sturt University
>and the Charles Sturt University Language Centre.
>
>
>--
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l at lists.sowder.com
>Subscribe: "subscribe" in message body to
>powerh-l-request at lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to
>powerh-l-request at lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>Add 'site:lists.sowder.com powerh-l' to your search terms to search the
>list archive at Google.
More information about the powerh-l
mailing list