VMS Help
FORTRAN, Error Messages, Compilation Errors, CHACONCONTD

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  SEVERITY:  I

  MESSAGE TEXT:  Character, Hollerith or RAD50 constant continued
  across lines; may be non-portable

  EXPLANATION:  A character, Hollerith or RAD50 constant was continued
  across two or more source lines.  This is potentially non-portable
  as some implementations pad source lines with blanks and others,
  including Compaq Fortran, do not, which can result in different constant
  values. This diagnostic is issued only if one or more of the source
  lines which made up the statement was shorter than the statement field
  width (72 or 132 columns, depending on /EXTEND_SOURCE), and can be
  suppressed with /WARNINGS=NOUSAGE.

  USER ACTION:  For character constants, use the concatenation
  operator to build up long values.  Replace Hollerith or
  RAD50 constants with character constants if feasible or
  ensure that they are complete on one line.  For character
  constants used for data initialization, PARAMETER constants
  must be used to maintain FORTRAN-77 standard conformance.
  For example:

        CHARACTER*(*) CHRCON
        PARAMETER (CHRCON = 'This is a continued '//
       1   'character value')
        CHARACTER*80 CHRVAL
        DATA CHRVAL /CHRCON/
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.