Spec-Zone.ru › ColdFusion

getVariable

Retrieves value of a variable

getVariable(name) → returns any

  • Lucee
  • BL 1.0.0+
  • See Also: setVariable

    Argument Reference

    name string
    Required

    Examples
    Sample code invoking the getVariable function

    Retrieve value of a variable

    a=1;
    writeOutput(getVariable('a'));

    Expected Result: 1

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/getvariable

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API