Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1010602 // cal_dropSecondaryLabels

JavaX fragment (include)

1  
static bool cal_dropSecondaryLabels(CirclesAndLines cal) {
2  
  bool change = false;
3  
  for (Circle c : cal.circles)
4  
    if (l(c.traits) > 1) { c.setText(c.text); change = true; }
5  
  for (Line l: cal.lines)
6  
    if (l(l.traits) > 1) { l.setText(l.text); change = true; }
7  
  ret change;
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010602
Snippet name: cal_dropSecondaryLabels
Eternal ID of this version: #1010602/2
Text MD5: a2d396f84a727022f2ad583638cb92b3
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-22 19:12:19
Source code size: 287 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 511
Version history: 1 change(s)
Referenced in: [show references]