Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Black Belt
1 View

Use of DELIM in input/output statements

F2003 C926 (F2008 C929) tells me that I cannot use DELIM in an input/output statement that isn't namelist formatting or list directed.  ifort appears to miss this constraint.

PROGRAM p
  IMPLICIT NONE
  WRITE (*, "(A)", DELIM='QUOTE') 'Oh.  That''s a bit unfortunate.'
END PROGRAM p

 

>ifort /check:all /warn:all /standard-semantics /stand:f2003 "2016-09-03 delim.f90"
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0 Beta Build 20160517
Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.

ifort: NOTE: The Beta evaluation period for this product ends on 7-oct-2016 UTC.
Microsoft (R) Incremental Linker Version 14.00.24213.1
Copyright (C) Microsoft Corporation.  All rights reserved.

"-out:2016-09-03 delim.exe"
-subsystem:console
"2016-09-03 delim.obj"

 

(For "normal" data descriptors the constraint makes sense, because the specifier is meaningless, but in the context of UDDTIO it is a bit of a shame - I was operating under the misconception that I could use DELIM to vary the behaviour of a DT data descriptor without having to encode the equivalent specification in the bits that can follow the DT.  Oh well.)

0 Kudos
2 Replies
Highlighted
1 View

Thanks.

Thanks.

Retired 12/31/2016
0 Kudos
Highlighted
1 View

Escalated as DPD200414145.

Escalated as DPD200414145.

Retired 12/31/2016
0 Kudos