[Bash] Variable won't get assigned value

I am making of a script that will go through a couple of for loops and create file names based on the values in that loop, however the variable that combines everything is not getting assigned properly:

#! /bin/bash


for imod in K33_j1b_WS9_6
do
    for emod in mb2A mb2C mb3A mb3C mb4A mb4C ma4A ma4C  
    do


        dirour=${imod}"."${emod}".files"
        echo ${imod} ${emod}
        echo ${dirout}

    done

done

If you run this, the first echo will output whatever $imod and $emod are, but $dirout has no value.

I'm sure that I am missing something obvious, and I will do a facepalm after, but help would be appreciated.

---------- Post updated at 03:47 PM ---------- Previous update was at 03:35 PM ----------

Bah, I see the error now, I typed "dirour" instead of "dirout".

Sorry, you can lock this now..

Review the quoting ?

dirour="${imod}.${emod}.files"
         echo "${imod} ${emod}"
        echo "${dirout}"

Where do you set dirout variable ?