To: J3 J3/20-140 From: Steve Lionel Subject: UTI-011 GET_ENVIRONMENT_VARIABLE/GET_COMMAND examples Date: 2020-October-05 Reference: 20-007 UTI-011, relative to the GET_ENVIRONMENT_VARIABLE example, says: "Entire example is subsumed by new "auto-allocate intrinargs" feature. That is, should the above not be replaced by: CHARACTER(:),ALLOCATABLE :: FILENAME CALL GET_ENVIRONMENT_VARIABLE("DATAFILE", FILENAME) The same comment applies to the example in GET_COMMAND." /JOR agrees with this. Edits are provided to correct these issues. Edits to 20-007 --------------- 386:7 [16.9.92p4 GET_COMMAND] Replace the example with: PROGRAM hello CHARACTER(:), ALLOCATABLE :: cmd CALL GET_COMMAND(cmd) PRINT *, 'Hello ', cmd END PROGRAM 387:44 [16.9.95p5 GET_ENVIRONMENT_VARIABLE] Replace the example with: CHARACTER(:),ALLOCATABLE :: FILENAME CALL GET_ENVIRONMENT_VARIABLE("DATAFILE", FILENAME) 388:6+ Delete UTI-011.