Dynamic Variable Module

Discussion in 'Code Samples & Tips' started by PepSoft, Jul 1, 2009.

  1. PepSoft

    PepSoft Member Licensed User

    This module have 4 funcions:

    SetVar(Name,Value)
    Define variable.
    If variable exist then change the value.
    DynVar.SetVar("MyVariable1",255)
    DynVar.SetVar(TextBox1.Text,TextBox2.Text)


    GetVar(Name)
    Return the value of the variable.
    TextBox1.Text=DynVar.GetVar("MyVariable1")


    DynVar.DelVar(Name)
    Delete the variable


    DynVar.ClearAll
    Delete all variables

    With this module is possible create and work with Dynamic variables.

    Sorry for my English

    PepSoft
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    Nice example :)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice