Help
Author |
Message |
vladv15
|
Posted: Mon Oct 11, 2004 6:25 pm Post subject: Help |
|
|
hey Im new here. Whats wrong with this i get an error every time!
var photonamelocation: string
var cx: int
var cy: int
put "Enter the name of the photo"
get photonamelocation:*
put "Enter the x coordinate, for where you want to put the picturehorizontally"
get cx
put "Enter the y coordinate, for where you want to put the picture vertically"
get cy
var pic_ID:int
pic_ID:=Pic.FileNew(", photonamelocation, ")
Pic.Draw(pic_ID , cx , cy , picCopy) |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Genesis

|
Posted: Mon Oct 11, 2004 6:35 pm Post subject: (No subject) |
|
|
First off, this should be in the Turing Help section. And second, use the code tags.
Your code though, should be:
code: | var photonamelocation: string
var cx: int
var cy: int
put "Enter the name of the photo"
get photonamelocation:*
put "Enter the x coordinate, for where you want to put the picturehorizontally"
get cx
put "Enter the y coordinate, for where you want to put the picture vertically"
get cy
var pic_ID:int
pic_ID:=Pic.FileNew(photonamelocation)
Pic.Draw(pic_ID , cx , cy , picCopy) |
The commas and quotes weren't necessary in the Pic.FileNew command. |
|
|
|
|
 |
Amailer

|
Posted: Mon Oct 11, 2004 6:39 pm Post subject: (No subject) |
|
|
Moved From: GD  |
|
|
|
|
 |
josh
|
Posted: Mon Oct 11, 2004 9:01 pm Post subject: (No subject) |
|
|
and please don't make topics with the subject "Help" please see THIS post for more info  |
|
|
|
|
 |
|
|