Code: Select all
print(s:"this is togethered by " + "a plus");
Moderator: GZDoom Developers
Code: Select all
print(s:"this is togethered by " + "a plus");
Code: Select all
print(s:1 + 2);
What if there is no index 3 in the ACS file? Segfault? Printing the byte opcodes?randy wrote:Because you're adding two different numbers together to get a different number. Suppose those two strings are numbers 1 and 2 in the string table. Then your code is equivalent to this:So it will print the string at index 3.Code: Select all
print(s:1 + 2);