View Single Post
Old 03-23-2004, 12:50 PM   #9
Radar
Constitutional Scholar
 
Join Date: Dec 2002
Location: Ocala, FL
Posts: 4,006
Based on your information I thought I could input a string and have it printed on the screen. Just like the old "Hello World" program but with the text inputted by a user. The problem is while it seemingly inputs text, there is no output.

Here's what I wrote

Quote:
var noun;

{
prompt("Please Enter a Noun.", noun);

write("The Fox jumped over the ",noun);
}
I tried assigning the variable "noun" with the prompt value by using this line

Quote:
noun = prompt("Please enter a noun.");
But that doesn't work either. hmmmm
__________________
"I'm completely in favor of the separation of Church and State. My idea is that these two institutions screw us up enough on their own, so both of them together is certain death."
- George Carlin
Radar is offline   Reply With Quote