Thanks a lot Fernando.
I agree with you, it is stange how the first peek command works without quotes around the 3rd parameter. We use the peek command in numerous applications and have never included the quotes. Those peek commands are not used in a loop and are only executed once.
Do you agree with my statement regarding the editor flagging the load statement as if there was an error.
I've always used the peek() with quotes for the 1st and 3rd parameters and never had a problem. Just checked the Help and in fact I was wrong, it doesn't mention the need to use quotes in the 3rd parameter...
The editor thinks it is an error when you use a dollar-sign expansion before the load statement... You statement is ok.
Glad I could help you.