General information
Category:
Coding, syntax & commands
>Hello all,
>
>I have this following code
>
>I("Question") + ": " + ALLTRIM( Text1) + CHR( 10) +;
>I("Answer") + ": " + ALLTRIM( Text2) + CHR( 10)
>
>i Is a function to get the multilingual string that correspond to what is inside the quotes
>
>When text1 doesn't have a lot of characters then the result is as expected meaning that the output is like this
>
>Question : Year
>Answer : 2023
>
>The weird thing is that if Text1 has many characters the output is like this
>
>Question : Many characters Answer : 2023
>
>What happened to chr(10)?
>
>Update
>Should I always have a chr(13) + chr(10)?
>
>Update #2
>I just tried adding a chr(13) before the chr(10) and I have the same problem :-(
Is this text being saved into a text file? or is it something that's being displayed on the screen?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only