String Assignment using = operator

 

Hi, does

string ss = s;


mean that ss is assigned a copy of s?

also does it work the same way in MQL4?

 
ycomp:

Hi, does


mean that ss is assigned a copy of s?

also does it work the same way in MQL4?

Why don't you just try it if you are unsure, it's the best way to learn

 
I assume it is, just wanted confirmation
 
ycomp #: I assume it is, just wanted confirmation

Then it's confirmed, for both questions.

 
Fernando Carreiro #:

Then it's confirmed, for both questions.

thanks

 
ycomp #:thanks
You are welcome!
Reason: