Has Data been defined anywhere as a value? If there are no saved variables it becomes "nil" and effectively does not exist.
Add this after the load line;
if Data==nil then Data={} end
and that should sort it! Note the "==" not just "=". I always get that wrong! If you are defining it is a single =, if you are comparing it is a double ==.
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
|