GHS Port Reference Center
Information for maritime designers, engineers and builders
Maintained by Creative Systems, Inc., Creators of GHS
Click here for information about GHS and other fine marine software.
Go to Main page

One method of having GHS remember which units were used originally and resetting them when needed.
    `Changing units several times in a run file may become confusing.  The example
    `below shows one method of having GHS remember which units were used originally
    `and resetting them when needed.
    
    
    READ FV.GF
    REPORT CHUNITS.PF
    DRAFT 5
    VCG 7
    SOLVE WEIGHT, LCG
    
    CRIT "AIR VENT" 25,2,6 /FLD
    
    VARIABLE (STRING) SAVEUNIT
    SET SAVEUNIT="{WUNIT}"
    
    UNITS MT
    LIMIT RA AT MAX TO FLD > 0.1 `meters
    
    UNITS LT
    LIMIT AREA FROM EQU TO RA0 OR FLD > 2.82  `feet
    UNITS {SAVEUNIT}
    
    RA /LIM:ATTN
    REPORT OFF
    
Add a free link to your site
Copyright © , Creative Systems, Inc.
Privacy policy