Ch 2 - unable to find function runhelloworld
by Richard Preziosi · in Torque Game Engine · 01/28/2007 (11:13 am) · 2 replies
Hi, just got the book and got to chapter two after i built my .cs file for hello world, i get the .cs file to exec in the console but when i type runhelloworld(); as the book says, i get a message saying, unable to find function runhelloworld. i have also tried helloworld, hello, world, functionrunhelloworld, etc. nothing is seeming to work. any help would be greatly appreciated, here is my .cs file code.
// ========================================================================
// HelloWorld.cs
//
// This module is a program that prints a simple greeting on the screen.
//
// ========================================================================
function hello()
// ----------------------------------------------------
// Entry point for the program.
// ----------------------------------------------------
{
echo("Hello World");
}
// ========================================================================
// HelloWorld.cs
//
// This module is a program that prints a simple greeting on the screen.
//
// ========================================================================
function hello()
// ----------------------------------------------------
// Entry point for the program.
// ----------------------------------------------------
{
echo("Hello World");
}
#2
i have the 3D Game Programming All in One (Finney 2004) &the cd
[image] C:\Documents and Settings\Master\Desktop\untitled.bmp [\image]
this an image of the cd's contents
what you mean by 3D2E folder i have 3DGPAi1 folder
but others tell to runhelloworld() and they said it worked
the book said
type tge -ch2 HelloWorld.cs. A Torque window will open up, and you
should see something like Figure 2.10, with "Hello World" in yellow at the upper
left of the screen. Cool, huh?
plz help if you can i spend alot of time in this
thanx
08/02/2007 (1:58 am)
Hi therei have the 3D Game Programming All in One (Finney 2004) &the cd
[image] C:\Documents and Settings\Master\Desktop\untitled.bmp [\image]
this an image of the cd's contents
what you mean by 3D2E folder i have 3DGPAi1 folder
but others tell to runhelloworld() and they said it worked
the book said
type tge -ch2 HelloWorld.cs. A Torque window will open up, and you
should see something like Figure 2.10, with "Hello World" in yellow at the upper
left of the screen. Cool, huh?
plz help if you can i spend alot of time in this
thanx
Torque Owner Richard Preziosi
WinterLeaf Entertainment