PureBytes Links
Trading Reference Links
|
Hi list,
using ts4 I found one coding error which seems very serious. If you use
TAB´s in your coding you may run in trouble.
Example:
value1 = value1 + 5;
If you write statements where you place TAB´s left or right of the equal
sign (aera ***** as shown below ) you will see results, were this statement
is sometimes executed and somtimes not.
value1******* = ******* value1 + 5;
So if you have any coding were you get undefined results you should check if
you have used TAB´s in the ***** area´s. You can use TAB´s at the beginning
of the line and after the ; but you should never use it in the *** area´s.
In the ***** aera´s you can use multiple spaces but never TAB´s. BTW even if
you use TAB´s in this area´s EL will verify and you will get no error
message. You will just get very misleading results.
If you have a lot of code, which you like to check, you can copy it to WORD
where you can display TAB´s easily.
I would be interested in feed back, if anybody has had similar experiences.
Good trading
Wolfgang
|