This is an old revision of the document!
~~DISCUSSION~~ <- Alpha List of Commands <-class link <-PRPL home <- Game 4 home
case STATEMENT.GETALLCONNECTEDPARTICLECOUNT:
i1 = GetIntFromStack();
{
ParticleBase p = Particles.GetParticleByUID(i1);
if (p != null && p is Particle) {
HashSet<Particle> results = (p as Particle).GetAllConnected();
stack.Push(new Data(results.Count));
} else {
stack.Push(new Data(0));
}
}
break;
| Arguments | Result | Notation |
|---|---|---|
i1 i2 f4 f3 f2 f1 – |
| Standard CRPL | arguments command |
| Warp notation | command (arguments) |
ShowTraceLog
Same example in Warp notation:
showtracelog