So I'lve looked at the documentation for INZ and for constants. I couldn't find any restrictions on parameters. I found on this forum that you can't use a variable in INZ but nothing about concatenated strings.
I want to create either a constant or an initialized variable containing text with a hex value for color. I want the string to be 'F8-' + x'22' + 'Do something'
Neither
nor
work. I've gone about doing it differently but for future references, is that not possible to concatenate strings in constant declarations or INZ or is my syntax just wrong? Thanks.
I want to create either a constant or an initialized variable containing text with a hex value for color. I want the string to be 'F8-' + x'22' + 'Do something'
Neither
Code:
Dcl-C F8_String Const('F8-' + x'22' + 'Do something');
Code:
Dcl-S F8_String Char(25) Inz('F8-' + x'22' + 'Do something');
Comment