|
|
General HydroStatics
Ship Stability Software |
|
Command of the Week
(New or interesting aspects of GHS that you may not know about) |
|
DISK /HOLDREPORT (review)
|
|
It is possible to have two streams of output,
both of them containing plots.
The /HOLDREPORT parameter on the DISK command suspends output to the main report file and declares that subsequent output be sent to the file it names. Output continues to the DISK file until DISK /OFF is encountered, and at that point the output stream automatically reverts to the original report file. An application for this would be writing a secondary output file of notes and plots designed to be more easily scanned for critical information. Here is a macro that does just that. |
|
macro note
disk notes.dat /append /holdreport ra /area \ Case {ncase} starts on page {np} \ Least stability margin={limmarg} (Limit {limnum}) disk off / |
|
To see the whole run file demonstrating this idea, click here. The extension of the secondary filename is .DAT in this example, which makes a special kind of file formatted to be easily processed by a program, not for presentable reports. However, it is usable as an informal note file, and fortunately the PRINT command nicely renders the plot information as graphics. As the example run file stands, the note report includes every case. One "IF" command in MACRO NOTE could eliminate all the cases that pass and show only failing ones. |
|
Questions, comments, or requests?
Contact Creative Systems, Inc. USA phone: 360-385-6212 Fax: 360-385-6213 Office hours: 7:00 am - 4:00 pm Pacific Time, Monday - Friday Mailing address: PO Box 1910 Port Townsend, WA 98368 USA Click here for an index to this and previous COWs |