Page 1 of 1

@ Sign in TI Scripts

Posted: Tue Jun 26, 2012 2:58 pm
by FarmboyEsq
Hi,

What is the significance of the @ sign in TurboIntegrator IF / ELSEIF Scripts?

In the "Advanced Scripting" section of the TM1 Turbointegrator manual, it just begins referencing variable G1 as G1@... (Or, is the @ part of the comparison operator, i.e. @= or @<> ?)

Sorry if this is a really stupid question.

Thanks.

Stg

Re: @ Sign in TI Scripts

Posted: Tue Jun 26, 2012 3:03 pm
by FarmboyEsq
Ah -- found it in the Developer guide under "Expressions".

To compare two string values, insert the @ symbol before the comparison operator, as shown in the following example:

IF ('A'@='B',0,1) yields the number 1.


Thanks.

Stg

Re: @ Sign in TI Scripts

Posted: Tue Aug 28, 2012 1:15 am
by tez
Hi Stg

I'm trying to find some doco on symbols etc that can be/are used in TI scripts, the first one I was looking for was the @ sign, so I'm glad I came across your post :D

I've looked through all the doco under the Help & guides etc on IBM, but can't seem to find the Expressions section in the Developer Guide you had mentioned.

Are you able to tell me which one in particular you found it in? I'm thinking maybe I'm going blind.... :o

Thanks!
Terri

Re: @ Sign in TI Scripts

Posted: Tue Aug 28, 2012 3:19 am
by Alan Kirk
tez wrote:I've looked through all the doco under the Help & guides etc on IBM, but can't seem to find the Expressions section in the Developer Guide you had mentioned.

Are you able to tell me which one in particular you found it in? I'm thinking maybe I'm going blind.... :o
You may want to take a look in the FAQ thread which includes links to frequently referenced sections in the documentation. You'll find it under the heading "Frequently Referenced Sections", in particular the "Rule Syntax" link. (When you get to the page, look under the "Comparison Operators" group. TI's use broadly the same syntax as Rules.)

Or if you want the more direct route, click here.

Re: @ Sign in TI Scripts

Posted: Tue Aug 28, 2012 10:35 pm
by tez
Great, thanks so much Alan.

Regards
Terri