Basic addition and subtraction

neomatic

Client
Регистрация
27.10.2011
Сообщения
64
Благодарностей
8
Баллы
8
Hi,
I'm just wondering how to write in a macro the basic addition and subtraction operator.
Since just putting + or - at the end doesn't work {-File.CountOfStrings-|-\Results\Temp2.txt-}+1 -> result will be 5+1 for example, not 6.

Simple question ?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
Hi there.
Enough simple:-)
To do this you should use JS execute macro {-JS.Execute-|--}
like this: {-JS.Execute-|-{-File.CountOfStrings-|-\Results\Temp2.txt-}+1-}
 
  • Спасибо
Реакции: neomatic

neomatic

Client
Регистрация
27.10.2011
Сообщения
64
Благодарностей
8
Баллы
8
That goes perfect, many thanks
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)