help with script please

help with script please

I have created a customer database

When I wrote I put number field for tel.No.

it misses out the leading 0

So I have created new tel no field using single line

All works fine apart from me having hundreds of entry's in old telephone field that I want to move to new telephone field.

I wrote a function to do this but I cant get it to save

Can anyone help please.

Function reads as follows.......

void telnos()
{
    for each rec in Jobs [((ID is not null))]
{
input.Mobile = input.Mobileold;
}