How to put & LogError both Strings and variables

I have two questions.

First, how do I print (to screen) string and variable on the same line?

For example,

put 5 into x
put "The number is "
put x

The code above will have the output in two lines. How do I print them in one line such that the output will be:

The number is 5

Second question, how do I have both strings and variable in LogError?

For example,

put "abcd" into myString
if (condition 1)
    LogError "stringA" + myString + "stringB"
    Exit All
end if

I appreciate if you could help again.

answer to 1st query:
put “The number is” && x

answer to 2nd query:

use ‘&&’ as above

Let me try it.
Thanks Noopoor