Hi all experts,

Today I try to break a long code to multiple lines but Iface the same errors and I am clueless now about what I have done wrong

My code is
Code:
gen small-samp = logFAT_w1 !=. & logTAT_w1 !=. & logCCC_w1 !=. & logOC_w1 !=. & lin_turn_w1 !=. & lrec_turn_w1 !=. & lpay_turn_w1 !=. &  lfirmsize_w1 !=. & ltangi_w1 !=. & fcf !=. & con_of_corr !=. & rul_of_law !=. & reg_qua !=. & gov_eff!=. & poli_stab !=. & voice_acc !=. & lngdp !=. & del_exc_rat !=.
And it is too long for a line in do-file. So, I break the line, I tried two ways and they turned out that Invalid syntax

First:

Code:
/*I inserted the "\" at the end of the first line*/
Code:
  gen small-samp = logFAT_w1 !=. & logTAT_w1 !=. & logCCC_w1 !=. & logOC_w1 !=. & lin_turn_w1 !=. & lrec_turn_w1 !=. & lpay_turn_w1 !=. &  lfirmsize_w1 !=. & ltangi_w1 !=. & fcf !=. & con_of_corr !=. & rul_of_law !=. \
           & reg_qua !=. & gov_eff!=. & poli_stab !=. & voice_acc !=. & lngdp !=. & del_exc_rat !=.
Second:
Code:
/*I inserted the "///" at the end of the first line*/
Code:
  gen small-samp = logFAT_w1 !=. & logTAT_w1 !=. & logCCC_w1 !=. & logOC_w1 !=. & lin_turn_w1 !=. & lrec_turn_w1 !=. & lpay_turn_w1 !=. &  lfirmsize_w1 !=. & ltangi_w1 !=. & fcf !=. & con_of_corr !=. & rul_of_law !=. ///
           & reg_qua !=. & gov_eff!=. & poli_stab !=. & voice_acc !=. & lngdp !=. & del_exc_rat !=.
Many thanks and best regards