Mark,
Converting from TS to WL code is relatively easier that to eSignal code because they are both quite similar (similar to Pascal/VB) while eSignal efs is based on java. Here is an example of a conversion.
TS Code:
{Identify Scale Factor}
If HH <= 250000 and HH > 25000 then SF = 100000
else if HH <= 25000 and HH > 2500 then SF = 10000
else if HH <= 2500 and HH > 250 then SF = 1000
else if HH <= 250 and HH > 25 then SF = 100
else if HH <= 12.5 and HH > 6.25 then SF = 12.5
else if HH <= 6.25 and HH > 3.125 then SF = 6.25
else if HH <= 3.125 and HH > 1.5625 then SF = 3.125
else if HH <= 1.5625 and HH > 0.390625 then SF = 1.5625
else SF = 0.1953125;
WL Code:
{Identify Scale Factor}
If (HH <= 250000) and (HH > 25000) then SF := 100000
else if (HH <= 25000) and (HH > 2500) then SF := 10000
else if (HH <= 2500) and (HH > 250) then SF := 1000
else if (HH <= 250) and (HH > 25) then SF := 100
else if (HH <= 12.5) and (HH > 6.25) then SF := 12.5
else if (HH <= 6.25) and (HH > 3.125) then SF := 6.25
else if (HH <= 3.125) and (HH > 1.5625) then SF := 3.125
else if (HH <= 1.5625) and (HH > 0.390625) then SF := 1.5625
else SF := 0.1953125;
Notice the difference? Just add the :'s.
The code above is based on a recent conversion example
here.
pretzel