added WSF_SUPPORT.environment_item
This commit is contained in:
@@ -26,4 +26,11 @@ feature -- Access: environment
|
||||
Result := execution_environment.starting_environment_variables
|
||||
end
|
||||
|
||||
environment_item (a_name: READABLE_STRING_GENERAL): detachable STRING_32
|
||||
do
|
||||
if attached execution_environment.get (a_name.to_string_8) as v then
|
||||
Result := v.to_string_32
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -26,4 +26,9 @@ feature -- Access: environment
|
||||
Result := execution_environment.starting_environment
|
||||
end
|
||||
|
||||
environment_item (a_name: READABLE_STRING_GENERAL): detachable STRING_32
|
||||
do
|
||||
Result := execution_environment.item (a_name)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user