C Collection of code snippets by Arne Vajhøj 
C (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
      program fd
      implicit none
      character*5 s
      character*5 s64
cDEC$ ATTRIBUTES address64::s64
      s = 'ABC'
      call inspectd(%ref('character*n'//char(0)), %descr(s), %val(4))
      s64 = 'ABC'
      call inspectd(%ref('character*n (64 bit)'//char(0)), %descr(s64), %val(8))
      s = 'ABCDE'
      call inspectd(%ref('character*n'//char(0)), %descr(s), %val(4))
      s64 = 'ABCDE'
      call inspectd(%ref('character*n (64 bit)'//char(0)), %descr(s64), %val(8))
      end
