Calendar Awards Members List FAQ
Notices

Reply
$ LinkBack Thread Tools
 
  #1   [ ]
Old 09-27-2006, 10:46 PM
Zora Warrior
Send a message via MSN to tommyhawk76
Join Date: Aug 2006
Location: Near Calgary.
View Posts: 300
Can I get some programming Help?

Hey, im using Blitz3D, and somehow, I cannot get this simple cone program to work. When I run the program, it says that it is "expecting-end-of-file"

Heres the code I entered.

;Creating a Basic Cone
;________________________

Graphics3D 640,480
SetBuffer BackBuffer()

;Create camera
camera=CreateCamera()

;Creating a light
light=CreateLight()

;This is the code for creating the cone
cone=CreateCone()
PositionEntity,0,0,5

;This following code makes our program run
While Not KeyDown( 1 )

RenderWorld
Flip
Wend
End
__________________
I will eat everybody and everything. Someday...
Someday...
Reply With Quote
  #2   [ ]
Old 09-27-2006, 11:12 PM
Zora Warrior
Join Date: Jul 2005
Location: Up on Cripple Creek
View Posts: 521
Re: Can I get some programming Help?

Did you accidentally leave any code after the final End?

Or is the error actually "UNexpected EOF?"
__________________
// Such a pretty house, and such a pretty garden
Reply With Quote
Sponsored Links
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 03:49 PM.

Contact Us - Zelda Universe - Archive - Privacy Statement - Top