Hi I changed the ch in the FOPEN variable to chan and it worked with EX, SBAS.
It looks like the variable for the FOPEN parameter is getting mixed up with the parameter on the Procedure parameter. I also tried the original program on Minerva with MultiBasic executing the program with: EX pipep;"test_bas>" Seemed work without any problem, clearlt SMSQ/E is a little stricter than Minerva on variable. --- Regards, Derek _______________________________________________ QL-Users Mailing List