Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1

    Default Say Your Message By Programming Language


    Say your message to someone in programming language even HTML will do.

    I'll start with this one in JavaScript:
    Code:
    <<html>
    <head>
    <script type="text/javascript">
    function saySomething()
    {
    alert("Hello fellow istoryans\n\n say a message to someone in programming languages.");
    }
    </script>
    </head>
    
    <form>
    <input type="button" value="Click me!" onclick="saySomething()" />
    </form>
    </html>

  2. #2
    using System;

    class HelloIstoryans
    {
    public static void Main()
    {
    Console.WriteLine("hi istoryans!");
    Console.WriteLine("i start to love programming!");
    Console.WriteLine("up ko ani nga thread!");
    }
    }

  3. #3
    [pre]

    declare
    val varchar2(100);
    begin
    select 'Hello World, Hello Istoryans... It is a beautiful day!' message
    into val
    from dual;

    //post message based on query...
    dbms_output.put_line(val);

    exception
    when others
    raise_application_error('You just got a bad day: '||sqlerrm);
    end;

    [/pre]
    Last edited by thelo; 08-30-2009 at 09:19 AM. Reason: edt

  4. #4
    Groovy

    Code:
    println 'Maayong hapon mga istoryans'

  5. #5
    /**** Pa char pagud ni *****/

    #include<stdio.h>
    #include<stdlib.h>


    void getmessage(void)
    {
    FILE *getmessage_fromFile;
    char msg;

    if((getmessage_fromFile=fopen("message.txt","r"))= =NULL)
    {
    printf("File not present");
    exit(1);
    }

    msg = getc(getmessage_fromFile);

    while (msg!=EOF)
    {
    putchar(msg);
    msg = getc(getmessage_fromFile);
    }

    fclose(getmessage_fromFile);
    }


    void main()
    {
    clrscr();
    getmessage();
    getch();
    }

  6. #6
    Wala may ni post kaau

    Common guys post pud mo. Any language will do even assembly.

    Code:
      Dim answer
       answer=MsgBox("Hey guys please post pud mo,"64,"Say a message to someone in programming languages")
      document.write(answer)

  7. #7
    Code:
    #!/bin/sh
    # by simoncpu.
    cont=0
    
    while [ $cont -ne 1 ]; do
            /usr/bin/fetch -qo - "http://feeds2.feedburner.com/brainyquote/QUOTEBR" | /usr/bin/grep -A2 -m1 "<item>" | /usr/bin/sed 1d > /tmp/quote
            author=`/bin/cat /tmp/quote | /usr/bin/sed -n -e 's/.*<title>\(.*\)<\/title>.*/\1/p'`
            quote=`/bin/cat /tmp/quote | /usr/bin/sed -n -e 's/.*<description>\(.*\)<\/description>.*/\1/p'`
            str="${quote} ~${author}"
            num=`echo $str | wc -m`
            if [ $num -lt 122 ]; then
                    cont=1
            fi
    done
    
    echo $str
    Script ni nako para dili monaog ako Plurk karma.

  8. #8
    courtesy: lolcode.com

    Code:
    HAI
    CAN HAS STDIO?
    I HAS A VAR
    GIMMEH VAR
    IZ VAR BIGGER THAN 10?
    	YARLY
    		BTW this is true
    		VISIBLE "BIG NUMBER!"
    	NOWAI
    		BTW this is false
    		VISIBLE "LITTLE NUMBER!"
    	KTHX
    KTHXBYE
    
    
    hai
    can has stdio?
    I has a var
    im in yr loop
    	upz var!!1
    	visible var
    	iz var bigr than 10? Gtfo. Kthx
    kthx
    kthxbye
    
    
    
    
    
    hai
    can has stdio?
    I has a var
    im in yr loop
    	up var!!1
    	visible var
    	iz var bigger than 10? Kthxbye
    im outta yr loop
    kthxbye
    Last edited by dodie; 09-02-2009 at 10:39 AM.

  9. #9
    In XML:
    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <note>
      <to>All</to>
      <from>jebz</from>
      <heading>Reminder</heading>
      <body>Keep posting and up for this thread</body>
    </note>

  10. #10
    Code:
    Opt('MustDeclareVars', 1)
    
    Example()
    
    Exit 
    
    Func Example()
    	Local $n, $msg
    	GUICreate("My Scripting language")
    	$n = GUICtrlCreateCheckbox("checkbox", 10, 10)
    	GUICtrlSetState(-1, 1)
    	GUISetState()
    		While 1
    		$msg = GUIGetMsg()
    		If $msg = $GUI_EVENT_CLOSE Then 
    			MsgBox(0,"My Scripting Language","Keep Post here..")
    		ExitLoop
    	WEnd
    	MsgBox(0, "My Scripting language", GUICtrlRead($n) & " Bye..." )
    EndFunc

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. what is your favorite programming language?
    By sachem in forum Programming
    Replies: 310
    Last Post: 10-08-2015, 03:11 PM
  2. Cebu web developer's "programming" language of choice
    By cmontoya in forum Websites & Multimedia
    Replies: 62
    Last Post: 12-30-2012, 05:58 AM
  3. Replies: 98
    Last Post: 08-30-2009, 09:25 AM
  4. Games that cuts your life by 1/3
    By Otagoth in forum Software & Games (Old)
    Replies: 119
    Last Post: 06-26-2008, 05:19 PM
  5. MOVED: what is your favorite programming language?
    By BadDudes in forum Software & Games (Old)
    Replies: 0
    Last Post: 02-24-2006, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top