This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
pf:getallconnectedparticlecount [2015/02/28 16:54] – Karsten75 | pf:getallconnectedparticlecount [2015/03/04 18:33] (current) – removed pawel345 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | ||
- | <- [[pf: | ||
- | ===== command | ||
- | === Raw Code === | ||
- | < | ||
- | case STATEMENT.GETALLCONNECTEDPARTICLECOUNT: | ||
- | i1 = GetIntFromStack(); | ||
- | { | ||
- | ParticleBase p = Particles.GetParticleByUID(i1); | ||
- | if (p != null && p is Particle) { | ||
- | HashSet< | ||
- | stack.Push(new Data(results.Count)); | ||
- | } else { | ||
- | stack.Push(new Data(0)); | ||
- | } | ||
- | } | ||
- | break; | ||
- | </ | ||
- | |||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | | | |'' | ||
- | |||
- | === How to use === | ||
- | |||
- | | Standard CRPL | //arguments // **command ** | | ||
- | | Warp notation | **command** (// | ||
- | |||
- | === Description === | ||
- | |||
- | === programming notes === | ||
- | |||
- | === Examples === | ||
- | < | ||
- | ShowTraceLog | ||
- | </ | ||
- | |||
- | Same example in Warp notation: | ||
- | |||
- | < | ||
- | showtracelog | ||
- | |||
- | </ |