Jump to content

How To Use Variables

From the Asheron's Call Commons Encyclopedia

Structured Data & Provenance

Read-only structured record for How To Use Variables.

{
  "id": 14850,
  "slug": "How_To_Use_Variables",
  "title": "How To Use Variables",
  "namespace": "Main",
  "entity_type": "article",
  "provenance": "archival_wiki",
  "as_of": null,
  "wcid": null,
  "source_slug": null,
  "icon_key": null,
  "claim_count": 0,
  "updated_at": "2026-12-03T00:00:00Z",
  "summary": "This function allows you to define a variable on a page, use it later in that same page, change its value, possibly to a value given by an expression in terms of the old value, etc.",
  "toc": [
    {
      "id": "Assigning_a_value_to_a_variable",
      "level": 2,
      "text": "Assigning a value to a variable"
    },
    {
      "id": "vardefine",
      "level": 3,
      "text": "#vardefine"
    },
    {
      "id": "vardefineecho",
      "level": 3,
      "text": "#vardefineecho"
    },
    {
      "id": "Retrieving_the_value_of_a_variable_var",
      "level": 2,
      "text": "Retrieving the value of a variable (#var)"
    },
    {
      "id": "varexists",
      "level": 2,
      "text": "#varexists"
    },
    {
      "id": "Examples",
      "level": 2,
      "text": "Examples"
    }
  ],
  "categories": [
    "Help"
  ],
  "placements_count": 0,
  "refs": []
}