Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 67 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1.  
  2. JMadonna
  3.         Model mdl = doc.getModel();
  4.         for (int i = 0; i < mdl.countsym(); i++) {
  5.             if (mdl.isusersym(i) && mdl.isvar(i) && mdl.isdisplay(i)) {    <----
  6.                 SymID symid = new SymID(mdl, i);
  7.                 VItem vitem = new VItem(symid);
  8.                 varsModel.addElement(vitem);
  9.             }
  10.         }
  11.  
  12.  
  13. CMadonna
  14.     model& m = *doc.get_model();
  15.     for(int i = model::si_base; i < m.nsym(); i++)
  16.     {
  17.         symbol& s = m.isym(i);
  18.         if(s.is_variable() && s.is_display())     <------------
  19.             vars.add_item(new VItem(SymID(s)));
  20.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top