nFileHandle = FCREATE('color.bmp') FWRITE(nFileHandle,CHR(66)+CHR(77)+CHR(60)+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00); +CHR(00)+CHR(00)+CHR(54)+CHR(00)+CHR(00)+CHR(00)+CHR(40)+CHR(00); +CHR(00)+CHR(00)+CHR(01)+CHR(00)+CHR(00)+CHR(00)+CHR(01)+CHR(00)+CHR(00)+CHR(00)+CHR(01); +CHR(00)+CHR(24)+CHR(00)+CHR(00)+CHR(00); +CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(98)+CHR(05)+CHR(00)+CHR(00)+CHR(98); +CHR(05)+CHR(00)+CHR(00)+CHR(00)+CHR(00); +CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00); +CHR(IntColor.Blue)+CHR(IntColor.Green)+CHR(IntColor.Red); +CHR(00)+CHR(00)+CHR(00)) FCLOSE(nFileHandle) APPEND GENERAL RGBPict FROM COLOR.BMPThe line APPEND GENERAL hangs the application.