• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. how to retain variable during skill session

Stats

  • Replies 6
  • Subscribers 160
  • Views 13767
  • Members are here 0
More Content

how to retain variable during skill session

Ejlersen
Ejlersen over 13 years ago

Hi

I've got a skill program that parses data to a new .dra file.

So the program actually saves the current session then start a new dra file and after it is finished with the dra file it reloads the original session.

I'm however experiencing that variables get lost so when I return to the original session. Is there any way to prevent this from happening.

At the same time I would like to clear the memory for all variables when the program terminates.

Best regards

Ole

  • Sign in to reply
  • Cancel
Parents
  • Ejlersen
    Ejlersen over 13 years ago

    Hi Dave

    That confirms my understanding.

    So maybe if I make a defvar it will work better.

    Currently the nextline variable that looses its value is not defined in a let statement, neither in a defvar 

    How do you clear a defvar variable from memory when closing down the program?

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Ejlersen
    Ejlersen over 13 years ago

    Hi Dave

    That confirms my understanding.

    So maybe if I make a defvar it will work better.

    Currently the nextline variable that looses its value is not defined in a let statement, neither in a defvar 

    How do you clear a defvar variable from memory when closing down the program?

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information