Page 1 of 1

question about the abs function needed

Posted: Tue Jan 22, 2013 8:22 pm
by georgido
so i'm working on the abs function (last thing under Misc in programming work) and i'd like to ask 1 question.

for the parsing i want to use an Abs_ token in a similar way Log_ token is used in ValueRefParser.h. more specifically like this:

Code: Select all

tok.Log_    [ _c = ValueRef::LOGARITHM ]
can you point me where to add this token?

any help will be greatly appreciated

Re: question about the abs function needed

Posted: Wed Jan 23, 2013 4:14 am
by Geoff the Medio
I suspect you need to add (Abs) to the NAMES_SEQ_1 list in Names.h

Re: question about the abs function needed

Posted: Wed Jan 23, 2013 6:49 am
by georgido
Geoff the Medio wrote:I suspect you need to add (Abs) to the NAMES_SEQ_1 list in Names.h
yes there it is... thing is i was using the search function of visual studio to find where the other tokens (log, cos, sin, etc) were declared, but for some reason VS couldn't find them... thanks