0 Members and 1 Guest are viewing this topic.
If H(</=)9:E30->{Z+S}:S+1->S:EndIf H(</=)19 and (H(>/=)10):E31->{Z+S}:S+1->S:H-10->H:EndIf H(</=)29 and (H(>/=)20):E32->{Z+S}:S+1->S:H-20->H:EndIf H(</=)39 and (H(>/=)30):E33->{Z+S}:S+1->S:H-30->H:EndIf H(</=)49 and (H(>/=)40):E34->{Z+S}:S+1->S:H-40->H:EndIf H(</=)59 and (H(>/=)50):E35->{Z+S}:S+1->S:H-50->H:EndIf H(</=)69 and (H(>/=)60):E36->{Z+S}:S+1->S:H-60->H:EndIf H(</=)79 and (H(>/=)70):E37->{Z+S}:S+1->S:H-70->H:EndIf H(</=)89 and (H(>/=)80):E38->{Z+S}:S+1->S:H-80->H:EndIf H(</=)99 and (H(>/=)90):E39->{Z+S}:S+1->S:H-90->H:End
!If H/10->F:E30->{Z+S}:S+1->S:EndIf F=1:E31->{Z+S}:S+1->S:H-10->H:EndIf F=2:E32->{Z+S}:S+1->S:H-20->H:EndIf F=3:E33->{Z+S}:S+1->S:H-30->H:EndIf F=4:E34->{Z+S}:S+1->S:H-40->H:End. et cetera...
E(H/10+30)->{Z+S}S+1->SH-(H/10*10)->H
just one huge optimizing technique. this mammoth:Code: [Select]If H(</=)9:E30->{Z+S}:S+1->S:EndIf H(</=)19 and (H(>/=)10):E31->{Z+S}:S+1->S:H-10->H:EndIf H(</=)29 and (H(>/=)20):E32->{Z+S}:S+1->S:H-20->H:EndIf H(</=)39 and (H(>/=)30):E33->{Z+S}:S+1->S:H-30->H:EndIf H(</=)49 and (H(>/=)40):E34->{Z+S}:S+1->S:H-40->H:EndIf H(</=)59 and (H(>/=)50):E35->{Z+S}:S+1->S:H-50->H:EndIf H(</=)69 and (H(>/=)60):E36->{Z+S}:S+1->S:H-60->H:EndIf H(</=)79 and (H(>/=)70):E37->{Z+S}:S+1->S:H-70->H:EndIf H(</=)89 and (H(>/=)80):E38->{Z+S}:S+1->S:H-80->H:EndIf H(</=)99 and (H(>/=)90):E39->{Z+S}:S+1->S:H-90->H:Endcan definitely be optimized to this:Code: [Select]!If H/10->F:E30->{Z+S}:S+1->S:EndIf F=1:E31->{Z+S}:S+1->S:H-10->H:EndIf F=2:E32->{Z+S}:S+1->S:H-20->H:EndIf F=3:E33->{Z+S}:S+1->S:H-30->H:EndIf F=4:E34->{Z+S}:S+1->S:H-40->H:End. et cetera...and *might* be able to be optimized into this, depending upon the circumstances of the program:Code: [Select]E(H/10+30)->{Z+S}S+1->SH-(H/10*10)->H
I'd like to see a screen to see what it gives, but it could very well be a joint project (it would probably a better result). I did post an update soon with viewing from 2 to 3 superimposed image color levels.
Look and comment here.