#38 Test for variable definition

closed-accepted
Ethan Merritt
None
5
2003-12-01
2003-04-02
Jaime Reed
No

It would be useful to have a function like:
isvar(symbol)
returning 1 if the variable is defined and 0 if it is not. This would make loading scripts within other scripts (i.e. reusing code), slightly more robust.

Discussion

  • Ethan Merritt
    Ethan Merritt
    2003-12-01

    • status: open --> closed
     
  • Ethan Merritt
    Ethan Merritt
    2003-12-01

    Logged In: YES
    user_id=235620

    This feature is in 3.8j

     
  • Ethan Merritt
    Ethan Merritt
    2003-12-01

    • assigned_to: nobody --> sfeam
     
  • Ethan Merritt
    Ethan Merritt
    2003-12-01

    • status: closed --> closed-accepted