Dynamics AX
  RSS Feed  LinkedIn  Twitter
Want to turn you're data into a true asset? Ready to break free from the report factory?
Ready to gain true insights that are action focused for truly data informed decisions?
Want to do all of this across mutliple companies, instances of Dynamics and your other investments?
Hillstar Business Intelligence is the answer then! (www.HillstarBI.com)

Hillstar Business Intelligence for Microsoft Dynamics AX and NAV on Mobile, Desktop, Tablet

Let us prove to you how we can take the complexity out of the schema and truly enable users to answer the needed questions to run your business! Visit Hillstar Business Solutions at: www.HillstarBI.com

Wednesday, June 28, 2006

AxCoder Post

I was recently checking up on my fellow bloggers, and came across a great entry about an undocumented string function that can be done. AxCoder was the first one that has ever mentioned this, and his post is here: AxCoder Post

Anyway this post basically tells you how you can use Raw strings in X++ or verbatim strings. This exists in C#, and other OO languages. This is actually a very Cool feature, because what it allows you to do is add an @ right after the = and then the string contained within the " " can be built in a raw format. Meaning you don't have to have \\, instead \. And the string does not end unitl you put the last "; and the end.

For example: s =@ "c:\temp\one\two


instead of s = "c:\\temp\\one\\two";
s=s+" ";
s=s+" ";

Thanks AxCoder for sharing this with the world. It's a very useful peice of information to have, for any developer. The only thing that I am concered with about this is how the string is stroed, and also when you preform is functions, of substr, etc. on the string how it would react, as the string is raw in memmory?? Maybe that could be an expand post that I can do next time!

Check back for more!

Find a job at: www.DynamicsAXJobs.com


Post a Comment

<< Home

Copyright 2005-2011, J. Brandon George - All rights Reserved