Please Help With Hello World
by Milan · in Torque Game Engine · 11/13/2004 (12:20 pm) · 2 replies
Please help i wrote out just like it says in the book heres what i wrote. When i launch it works however doenst print "Hello World"
:
//===================================
// HellowWorld.cs
//
//This module is a program that prints a simple greeting on the screen.
//
//===================================
// function main()
//---------------------------------------------------------------
// Entry point for the program
//---------------------------------------------------------------
{
print("Hello World") ;
}
:
//===================================
// HellowWorld.cs
//
//This module is a program that prints a simple greeting on the screen.
//
//===================================
// function main()
//---------------------------------------------------------------
// Entry point for the program
//---------------------------------------------------------------
{
print("Hello World") ;
}
#2
//==============================================================
// HelloWorld.cs
//
// This module is a program that prints a simple greeting on the screen.
//
//==============================================================
function main()
{
print("Hello World") ;
}
Thanks alot
11/13/2004 (12:35 pm)
Yes it worked //==============================================================
// HelloWorld.cs
//
// This module is a program that prints a simple greeting on the screen.
//
//==============================================================
function main()
{
print("Hello World") ;
}
Thanks alot
Torque Owner Max Thomas
function main()
{
print("Hello World") ;
}
the two slashes infront of function main() should be whats causing the prob.