Quantcast
Channel: Cadence PCB Design Forum
Viewing all articles
Browse latest Browse all 5525

strangs puts about tcl

$
0
0

i have use the command InsetXMLMenu  created a menu and it will invoke a route as follow

 proc RotateRefPR { args } {
  ::TnApp::RotateRef
  }
  
and then  
    proc ::TnApp::RotateRef {} {
        puts "====XXRotateRef_is_tests======="
        puts "kkkkkddddd"
  }
when i click the menu it show in command window as follow

it seem as the puts content was handed as command,how could solve this problem ?

by the way

when i use command SetOptionBool Journaling TRUE    and invoke the menu ,it output the content and command on the same line
how can output them on the different lines ?  i have try puts "\n" be the real output content but it doesnt work. 


Viewing all articles
Browse latest Browse all 5525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>