Posts

Showing posts with the label Important function

Important function in x++ for D365

Important function in X++             I would like to share some important function in x++ Like            ·         subStr(),               ·    strCmp(),    ·         strDel() ,    ·          strFind (),              ·         strfmt () ,     ·         strLen (), ·         strLwr (),              ·     strUpr (),     ·         strRep(),    ·         systemDateGet(),   ·         today(),       ·         trunc (), ·         boxExample (),    ·     conins(),      ·         conLen(),   ·          conPeek(),  ·             ·         conNull()  which seems to easy but some time became very tough to recall in between to coding, so don’t worry and keep coding…….              Sub String in X++             // for cut a string from given posititon SubStr("ABCDEFGHIJ",7,-4) returns the text string "DEFG" (the specified sub-string).         static void subStr( Args _args)         {             str s;             real   r;              ;