Hi,

I believe the help page is wrong. It must be *div* and *mod* operator
instead.

Regards,

Agus


On 5/22/07, MaryAnn Hand <[EMAIL PROTECTED]> wrote:
>
>   Tabish,
>
> If you go to that link you sent me, and at the bottom of the page click on
> the link for "Operator Precedence" (that link is:
> http://msdn2.microsoft.com/en-us/library/aa594120.aspx) you will see that
> the % operator is listed as being at the same precedence level as * and /.
>
> This is what I found confusing. Maybe that help page is wrong.
>
> Mary Ann
>
> On 5/16/07, tabish sarwar <[EMAIL PROTECTED]<symbian.tabish%40gmail.com>>
> wrote:
> >
> > Hi,
> > Its not any operator actually , its just like format specifier in C ,
> C++
> > ,
> > you can use it in strfmt methods with the same purpose but this time it
> > specifies numer of arguments rather than types in C,C++ languages.
> >
> > strfmt("My string Number 1 %1 and snother string %2", str1,str2);
> > or
> >
> > print strfmt("%1 %2 %3 (%4 records)",custTable.Country,
> custTable.Currency,
> > num2strcustTable.CreditMax,10,2,0,0),custTable.RecId);
> >
> > if its some how an arithmatic operator it must be listed here ...:
> > http://msdn2.microsoft.com/en-us/library/aa870833.aspx
> >
> > it has no use in any kind of operation as per my knowledge .
> > Thanks.
> >
> > Muhammad Tabish Sarwar
> >
> > On 5/16/07, MaryAnn Hand <[EMAIL PROTECTED]<maryann.hand%40gmail.com>
> <maryann.hand%40gmail.com>>
> > wrote:
> > >
> > > The % operator is listed in the help along with * and / as a
> > > multiplicative operator. I cannot find anything that tells me how it
> > > is used in AX.
> > >
> > > If I try to place it between two numeric fields, just like * or /, I
> > > get a compile error that says:
> > >
> > > "This symbol cannot be used in scripts."
> > >
> > > Does anyone know how % can be an operator? I have only seen it used
> > > for parameters in a strfmt call.
> > >
> > > Mary Ann
> > >
> > >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
>  
>


[Non-text portions of this message have been removed]

Reply via email to