Computer Science Canada

loading a pic

Author:  kingpin [ Wed Jun 09, 2004 10:55 pm ]
Post subject:  loading a pic

basically i dont know exactly what is going on here

i try to load the program and its always saying picutre ID number '0'

picture not successfully created

what do i have to type for the directory in order for turing to load the picture

picID := Pic.FileNew ("C:Project\die1.jpg")
Pic.Draw (picID, 15, 500, picMerge)

if what i have right now...

is there something wrong with my directory or what do i need to change i know its something small but there is

Author:  Paul [ Wed Jun 09, 2004 10:57 pm ]
Post subject: 

("C:\\Project\\die1.jpg")
or
("C:/Project/die1.jpg")

Author:  kingpin [ Wed Jun 09, 2004 11:01 pm ]
Post subject: 

Paul Bian wrote:
("C:\\Project\\die1.jpg")
or
("C:/Project/die1.jpg")


still comes back and says picture not successfully created

Author:  Paul [ Wed Jun 09, 2004 11:07 pm ]
Post subject: 

well, either ur picture isn't there, the path is wrong, ur picture is named wrong, or ur using turing 3.11 and u need to restart it.

Author:  kingpin [ Wed Jun 09, 2004 11:14 pm ]
Post subject: 

ah when i saved my pics they had a space in them... thanks


: