Thx, sometimes i forget about this .. especialy when write code not in system - like forum. I use more not needed code like BEGIN - END for one line case.. more readable for me..that's all.
Thx, sometimes i forget about this .. especialy when write code not in system - like forum. I use more not needed code like BEGIN - END for one line case.. more readable for me..that's all.
Iam using the Begin-End too for one line conditions etc. (it is better for future). It is why I marked it as a tip, not mistake or bug... ;-)
Comments
You could do the following
Hope this helps
Albert
Try this
IF EVALUATE(intvariable,COPYSTR(txtvariable,LEN(txtvariable)-5,5)=FALSE THEN
intvariable:=0;
Regards
TIP: You do not need to compare BOOLEAN result with TRUE or FALSE... ;-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Iam using the Begin-End too for one line conditions etc. (it is better for future). It is why I marked it as a tip, not mistake or bug... ;-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.