Sat, 30 Aug 2003 01:30:41 GMT
BGI problem
We are still teaching pascal (TP7.0) but we have encountered a problem that never existed before. We have TP installed on the network x: drive and it and all its subdirectory are write-protected. This has always been the case. The Board recently upgraded to the latest version of Novell. The problem is that if a student runs this program it will not work. If a teacher runs this program it works. Students have 'read' access to x:\tp\bgi. If students copy the egavga.bgi to their own directory the program will work if the 'path' is changed to reflect this. InitGraph (Gd,Gm, 'h:\pascal'); (* this is OK ' *) Is there a fix for this? Is there something that I am missing? Does TP actually require egavga.bgi to be read/writeable? thanks in advance John K Program test; uses Crt, Graph; var Gd, Gm: Integer; Color: Word; begin Gd := Detect; InitGraph(Gd, Gm, 'x:\tp\bgi '); Color := GetMaxColor; Randomize; repeat PutPixel(Random(100), Random(100), Color); { Plot "stars" } Delay(10); until KeyPressed; Readln; CloseGraph; end. -- John Katic e-mail address aq...@freenet.carleton.ca fax number 1-613-224-0805 -----------------------------------------------------------------
|