Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #538 (closed enhancement: fixed)

Opened 17 years ago

Last modified 17 years ago

tango.sys.Environment.get() should allow default return value

Reported by: stonecobra Assigned to: kris
Priority: normal Milestone: 0.99 RC3
Component: Core Functionality Version: trunk
Keywords: Environment Cc:

Description

As in the Java world, when you ask for an environment variable, you should be able to assign a default if that environment variable is not set.

Change History

07/09/07 00:01:44 changed by kris

  • status changed from new to closed.
  • version changed from 0.98 RC2 to trunk.
  • resolution set to fixed.

aye; good suggestion