You would only see it if you are looking at a macro file that was searching for 
or setting a field to NULL.

 

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Robert Halstead
Sent: Friday, May 08, 2009 2:24 PM
To: [email protected]
Subject: Re: What would $--1$ relate to?

 

** Just out of curiosity, in what type of situation would you use $--1$?

 

On Thu, May 7, 2009 at 7:35 AM, Carey Matthew Black <[email protected]> wrote:

All,

FWIW: The full set for any specific version of ARS can be found by
looking that the C API header file:
ar.h for the values that look like "AR_KEYWORD_*".

Example: taken from the v6.3 ar.h file:
"
/* an additional AR_KEYWORD_NULL concept is mapped to AR_DATA_TYPE_NULL */

                                     /* codes for keywords supported */
#define AR_KEYWORD_DEFAULT              0 /* admin defined default for the 
field */
#define AR_KEYWORD_USER                     1 /* login name of the current user 
*/
#define AR_KEYWORD_TIMESTAMP        2 /* current date/time */
#define AR_KEYWORD_TIME_ONLY        3 /* current time (date defaults to */
                                     /*  today)                        */
#define AR_KEYWORD_DATE_ONLY        4 /* current date (time defaults to */

... <snip> ...

#define AR_KEYWORD_GROUPIDS        40 /* group ids for groups current user */
                                     /*  is a member of                   */
#define AR_KEYWORD_NO              41 /* no more keywords !! Returns NO */

#define AR_MAX_KEYWORD_USED        41  /* set to code for "highest" keyword */
"

--
Carey Matthew Black
BMC Remedy AR System Skilled Professional (RSP)
ARS = Action Request System(Remedy)


2009/5/7 Brian Bishop <[email protected]>:

>
> Dave,
>
> The value $--1$ is a Remedy keyword conversion that means $NULL$. So in your
> case it is checking that the fields are NULL.
>
> Here is a list of keywords conversions I compiled many years ago which may
> have been added to since doing it.
>
> $--1$= $NULL$
> $-0$ = $DEFAULT$
> $-1$ = $USER$
> $-2$ = $TIMESTAMP$
> $-3$ = $TIME$
> $-4$ = $DATE$
> $-5$ = $SCHEMA$
> $-6$ = $SERVER$
> $-7$ = $WEEKDAY$
> $-13$ = $LASTID$
> $-14$ = $LASTCOUNT$
>
> Brian Bishop
>
> Goldstag Consultants Ltd
> tel: +44 (0)7973 746832
>
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]] On Behalf Of Barber, David
> Sent: 07 May 2009 13:44
> To: [email protected]
> Subject: What would $--1$ relate to?
>
> Seen on a macro/search - field 1 = $--1$  and also a little later in the
> same search - field 2 = $--1$
>
> The first field is an assignee, but the second is just a flag.  Not exactly
> obvious what it does at all.  Any ideas?
>
> Ta
>
> Dave
>



 

Reply via email to