Ampscript:
%%[
Output('1<br/>')
OutputLine('2<br/>')
Output(Concat('03<br/>'))
OutputLine(Concat('04<br/>'))
Output(v('05<br/>'))
OutputLine(v('06<br/>'))
]%%
Output
03
04
05
06
1 and 2 are not printed because of no Concat or v function. It does not matter if you use " or ' the output is always the same.
- Why do i have to use concat inside Output and Outputline to print a text?
- Is this supposed to work this way?
- Does anybody know the reason why 1 and 2 are not printed?
- Do these functions change the Object / Wrap it in some kind of way?
Quote from Adam Spriggs and Elliot Harpers AMPScript Guide:
NOTE: This function will only return a result from nested functions. It will not return a result if only a variable is used as an argument.
Still think that this is should work different. Therefore i would call that a bug.