• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    *Erik

    listing globaly variables

    55 Views, 5 Replies
    06-30-2001 04:09 AM
    Is there a way to list/find all global variables in a routine and then set
    them to nill?

    Thanks

    Erik
    Please use plain text.
    *Dotson, Terry W.

    Re: listing globaly variables

    06-30-2001 04:34 AM in reply to: *Erik
    Erik wrote:

    > Is there a way to list/find all global variables in a routine and then set
    > them to nill?

    The VLisp Editor will evaluate code for you and return a list of
    variables. Look for the 'Check Selection' button to the left of the
    help button or use Tools 'Check Selection'.

    Terry
    Please use plain text.
    *Broad, Doug

    Re:

    07-02-2001 09:30 AM in reply to: *Erik
    Thanks Terry,
    I didn't know that. After fiddling around with it I discovered that
    also that in order for that list to appear
    Tools/Environmental Options/General Options/Diagnostic
    must have a check by "Report statistics during syntax checking"

    Doug Broad

    "Terry W. Dotson" wrote in message
    news:3B3E29BD.97746ADB@dotsoft.com...
    >
    > The VLisp Editor will evaluate code for you and return a list of
    > variables. Look for the 'Check Selection' button to the left of the
    > help button or use Tools 'Check Selection'.
    >
    > Terry
    Please use plain text.
    *Dotson, Terry W.

    Re:

    07-02-2001 09:06 PM in reply to: *Erik
    Doug Broad wrote:

    > I didn't know that. After fiddling around with it I discovered that
    > also that in order for that list to appear
    > Tools/Environmental Options/General Options/Diagnostic
    > must have a check by "Report statistics during syntax checking"

    I forgot to mention that, good that you did for others benefit.

    Terry
    Please use plain text.
    *Roderick, Joel

    Re: listing globaly variables

    07-02-2001 09:56 PM in reply to: *Erik
    Check out the "lsp" command that comes with the express tools.

    "Erik" wrote in message
    news:95A8E2D0B26781BD60B6BBBDCE26580F@in.WebX.maYIadrTaRb...
    > Is there a way to list/find all global variables in a routine and then set
    > them to nill?
    >
    > Thanks
    >
    > Erik
    >
    >
    Please use plain text.
    *Erik

    Re:

    07-03-2001 10:37 AM in reply to: *Erik
    Thanks that works now - a nice feature

    "Doug Broad" wrote in message
    news:E05F16F1CEDFF61EA9730801BCF5A7FB@in.WebX.maYIadrTaRb...
    > Thanks Terry,
    > I didn't know that. After fiddling around with it I discovered that
    > also that in order for that list to appear
    > Tools/Environmental Options/General Options/Diagnostic
    > must have a check by "Report statistics during syntax checking"
    >
    > Doug Broad
    >
    > "Terry W. Dotson" wrote in message
    > news:3B3E29BD.97746ADB@dotsoft.com...
    > >
    > > The VLisp Editor will evaluate code for you and return a list of
    > > variables. Look for the 'Check Selection' button to the left of the
    > > help button or use Tools 'Check Selection'.
    > >
    > > Terry
    >
    >
    Please use plain text.