|
I typed this into Clojure REPL (using the enclojure Netbeans plugin):
user=> "hello, world" "hello, world" nil
What's the nil about?
Started by uzo on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
1.0.0- user=> "hello, world" "hello, world" user=>
Every function or macro call returns; (println "hello world") hello world nil user> "hello world" "hello world....
|
|
I successfully created a the simple joomla module from joomla.org tutorial
http://docs.joomla.org/How_to_create_a_module
Now I would like to add it as a restricted menu item in the "User Menu"
How would I do this? What Menu Item Type should I use?
thank...
Started by davidP on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I have not use the "Special" access level so i don't know that whats it doing but if you select the "Registered" then this menu item ... .
You will find the option for access level at the bottom side of the page .
Go to joomla admin,
Create a new menu item.
|
|
I have zero knowledge, but I can't find a hello world program for using linq to read a database table, can anybody write a hello world and working program for me? Thank you!
Started by mike on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Self-explanatory and self-sufficient learning....
Download and use LinqPad.
I would highly recommend that you check out Scott Guthrie's blog articles about Linq to Sql:
Scott Gu's Blog
ScottGu wrote a blog post about LINQ to SQL that you might like to read .
|
Ask your Facebook Friends
|
I am trying to learn Python, however I tried to run a script that is LITERALLY just:
print "Hello, World!"
And I get this error:
File "hello.py", line 1 print "Hello, World!" ^ SyntaxError: invalid syntax
What is going on!?
Started by MiffTheFox on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Try:
print("Hello, World!")
You are probably using Python 3.0, which now requires parentheses:
print("Hello world!")
And someone still has to write that antigravity library :(.
|
|
I would like to write a few Unix scripts in Emacs Lisp. However, there doesn't seem to be a clean way to write to STDOUT so I can redirect the results to a file or pipe the output to another command. The print function places double quotes around the ...
Started by melling on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
So, basically:
(princ "Hello world! I'm writing to do something like
(princ (format "Hello, %s!\n" "World"))
As a couple of functions plus)) args)))) (defun test-fmt () (message ....
Seems like you want princ instead of print.
|
|
Hi, I'm a newbie to Java and I'm confused about something:
In the simple hello world program in Java, no object is created so how does the class work in the following example?
public class HelloWorld { public static void main (String args[]) { System....
Started by vipinsahu on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
() { System.out.println("Hello World"); } public static void main(String[] argv) { HelloWorld hw = new HelloWorld( "Hello, " + INT_VALUE ); } }
This succeeds because the variable INT_VALUE (like the method main { public static void....
|
|
When I am running CherryPy Hello World:
import cherrypy class HelloWorld: def index(self): return "Hello world!" index.exposed = True cherrypy.config.update({'server.socket_port': 8080,}) cherrypy.quickstart(HelloWorld())
... I get this: IOError: Port...
Started by Alex on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Hello world!" index.exposed = True # Assumes the config file is in the directory as the source.
|
|
In most scripting languages, a "Hello world!" application is very short:
print "Hello world"
In C++, it is a little more complicated, requiring at least 46 non-whitespace characters:
#include <cstdio> int main() { puts("Hello world"); }
Java, at...
Started by Kip on
, 19 posts
by 19 people.
Answer Snippets (Read the full thread at stackoverflow):
10050....
Ook the hello world collection:
http://helloworldsite.he.funpic.de/
Check this huge one written in Redcode 1 ERASE EOS.
Ook? Ook.
Ook is quite verbose :-)
#example that prints Hello World! Ook.
|
|
Hi, I'm trying to write a simple Hello world program in i18n form, using C... Can someone please help me? Thanks
Started by Dnkey on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It demonstrates a lot of good programming principles, including <stdlib.h> int main(void)... .
"); textdomain ("hello"); printf (gettext ("Hello, world!\n")); exit (0); }
Have a look at the GNU Hello World program.
|
|
I am new to PHP - just downloaded it and wrote hello world program:
<html> <body> <?php $fileName = "test.jpg"; $txt="Hello World!"; echo $txt; ?> </body> </html>
But it doesnt work. I named the file test.php and opened it...
Started by LikeToCode on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
There are several web servers you can chose from, but my advice is Apache , the worlds most popular....
Simply entering file:///whatever.php does not work, because the file is not parsed by PHP then .
You need to have a webserver that you open it through .
|