Hi, Stata community!

I am trying to do a simple multiplication between scalars in two loops and having a problem with it. The new scalar - which is a multiplication of two previous scalars - is empty.
The loops run over people ("k") and countries ("j"). Let see:

Code:
  foreach k in `people' {    
    foreach j in `co_list' {
      scalar v_`k'_co_`j' =  scalar(v_all_`k'_co_`j') * scalar(share_`k'_co_`j')
    }
  }
Note: the two scalars: v_all_`k'_co_`j' and share_`k'_co_`j' are checked to contain values.

Any suggestion is welcome.

Thanks.