开发者

BatchJob and simple job showing different result

开发者 https://www.devze.com 2023-02-10 09:28 出处:网络
In Ax 2009 when i write a job sta开发者_开发技巧tic void (Args _args) { ; info(Global::charMax());

In Ax 2009 when i write a job

sta开发者_开发技巧tic void (Args _args)
{
    ;
    info(Global::charMax());
}

Which prints '-' as expected But while i runnthe same job in a batch it returns empty space. Could anyone assist me in this, would be appreciated.

Thanks in Advance.

Regards, Indranil Mutsuddy.


If you do this instead:

info(int2str(char2num(charMax(),1)));

you get the value 65392 = 0xFF70, which is the highest AX Unicode charater (AX may not support the upper planes).

It may or may not display depending on you current font. In my font it displays a square indicating it is not in the font.

See also: http://www.joelonsoftware.com/articles/Unicode.html

Update: the MaxChar is first time initialized in Application.setCharMax(), which does a SQL reverse sort of all characters in the base plane.

0

精彩评论

暂无评论...
验证码 换一张
取 消