SEGMENT Directive This directive, included for compatibility with programs in earlier versions of FORTRAN, is the same as the LOCALITY directive. The SEGMENT directive produces the warning "SEGMENT has been mapped to LOCALITY on this operating system."