Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
{ converting the simple variables }
var1:=C>REF(C,-1) AND C>REF(C,-2);
var2:=REF(var1,-1) AND C<=REF(C,-1) AND C>= REF(C,-2);
var3:=REF(var2,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
var4:=REF(var3,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
var5:=REF(var4,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
var6:=REF(var5,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
var7:=REF(var6,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
var8:=REF(var7,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
var9:=REF(var8,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
varA:=REF(var9,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
varB:=REF(varA,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
varC:=REF(varB,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
varD:=C<REF(C,-1) AND C<REF(C,-2);
varE:=REF(varD,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
varF:=REF(varE,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
var10:=REF(varF,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
var11:=REF(var10,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
var12:=REF(var11,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
var13:=REF(var12,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
var14:=REF(var13,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
var15:=REF(var14,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
var16:=REF(var15,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
var17:=REF(var16,-1) AND C<=REF(C,-1) AND C>=REF(C,-2);
var18:=REF(var17,-1) AND C>=REF(C,-1) AND C<=REF(C,-2);
{ no idea about the stickline function }
{ ??perhaps closer to simplifying the variables?? }
Cond1:= var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR var8 OR var9 OR varA OR varB OR varC;
STICKLINE(Cond1, C, O, 8, 1);
Cond2:= varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR var14 OR var15 OR var16 OR var17 OR var18;
STICKLINE(Cond2, C, REF(C,-1), 8, 0);
Cond3:=REF(Cond2, -1) AND var1;
STICKLINE(Cond3, REF(C,-1), REF(C,-2), 8, 0);
Cond4:=REF(Cond1, -1) AND varD;
STICKLINE(Cond4, REF(C,-1), REF(C,-2), 8, 1);
|