--- title: "get permanent()" slug: "basic-get-permanent" updated: 2026-08-11T13:06:47Z published: 2026-08-11T13:06:47Z canonical: "docs.lobstersoftware.com/basic-get-permanent" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # get permanent() This function returns the permanent value with name **a** under context **b** that has been saved using function [save permanent()](/v1/docs/en/basic-save-permanent). If nothing was found, an empty string with a set empty flag will be returned. ## Parameters | Parameter | Description | | --- | --- | | a | Name of the permanent value to be returned. | | b | (optional) "true" (profile context) or false (system-wide context). Default: "false". | ## GUI See [Constants](/v1/docs/en/manage-values) for system-wide permanent values. See [Profile values](/v1/docs/en/profile-values) for profile-wide permanent values. ## Examples Defined are the two permanent values, both with the name "myKey" and saved in the system-wide context with value "DataValue" and in the context of the profile with value "ProfileValue". | Parameter a | Parameter b | Result | | --- | --- | --- | | myOtherKey | | (Empty string with set Empty Flag.) | | myKey | true | ProfileValue | | myKey | false | DataValue |