That's a weird syntax: And if you do info(s) it will come out that way in the infolog: This is A multiline String
I didn't know about that one. Thanks Morten! Steeve...
-----Message d'origine-----
In 3.0 you can also have continous strings. From developers handbook:
A new type of string literal has been added. Strings
that are prefixed with the '@' character may span multiple lines. Thus:
Regards, Morten From:
Preston A. Larimer [mailto:[EMAIL PROTECTED]
There is no special line continuation in x++, x++ is like c and c++ in that it ignores white space, some time the editor will show an error when you first break a line, but once you finish the line out with a semicolon it should be good. The one place you’ll have difficulty is long strings, if you want to have long string that is broken across multiple lines, use strfmt, or the + notation.
strX = strfmt(‘%1 %2’, ‘Hello’, ‘World’); OR
strX = ‘Hello’ + ‘World’;
From:
Joy [mailto:[EMAIL PROTECTED]
Dear Friends,
I write a very looong code in one line, it doesn't finished yet, but i can't write it again, if i split it to 2 line, it comes an error.
Is there any syntax or addition code to split it to 2 line?
just for information, i'm using axapta 3.0 SP 3
Regards,
Joy
Sharing the knowledge on Axapta.
Yahoo! Groups Links
|
- RE : [Axapta-Knowledge-Village] length of code per line a... Steeve Gilbert
- Re: RE : [Axapta-Knowledge-Village] length of code p... Sonny Wibawa Adi