Search Results

Showing results 1 to 40 of 71
Search took 0.01 seconds.
Search: Posts Made By: vegaseat ; Forum: Legacy and Other Languages and child forums
Forum: Legacy and Other Languages Aug 11th, 2007
Replies: 90
Views: 28,933
Posted By vegaseat
I am just fooling around with the latest version of MinGW ...
// a simple windows "Hello World!" program
// compile and link with MinGW's (http://www.mingw.org) gcc.exe
// command --> gcc -o...
Forum: Legacy and Other Languages Jun 1st, 2007
Replies: 5
Views: 23,370
Posted By vegaseat
Here is an example using a modern language like Python ...
def is_palindrome(phrase):
"""
take a phrase, convert to all lowercase letters, create a
list of the characters (ignore...
Forum: Legacy and Other Languages May 15th, 2007
Replies: 90
Views: 28,933
Posted By vegaseat
(define (hello ) (method () (print "Hello World! in Dylan")))
Forum: Legacy and Other Languages Apr 19th, 2007
Replies: 90
Views: 28,933
Posted By vegaseat
The D language is a combination of concepts from C, C++, Python and Ruby from:
http://www.digitalmars.com/d/
(compiled via 'dmd.exe hello.d' to give 'hello.exe')
import std.c.stdio; // getchar()...
Forum: Legacy and Other Languages Apr 11th, 2007
Replies: 90
Views: 28,933
Posted By vegaseat
I have mention Lsharp before, a Lips based scritping language for the .NET environment. This code shows a GUI program, and looks a little bit like the previous C# post ...
;;; Scripting a .NET GUI...
Forum: Legacy and Other Languages Mar 21st, 2007
Replies: 90
Views: 28,933
Posted By vegaseat
I knew there was a sorter version in assembly code ...

jmp string
code:
pop ecx
mov al, 4
mov bl, 1
mov dl, 14
int 0x80
mov al, 1
Forum: Legacy and Other Languages Mar 3rd, 2007
Replies: 90
Views: 28,933
Posted By vegaseat
DrScheme is a free IDE that handles a variety of scheme implementations from student to professional levels. Even comes with a GUI builder. You can download it from:...
Forum: Legacy and Other Languages Feb 12th, 2007
Replies: 90
Views: 28,933
Posted By vegaseat
Caffe latte anyone?

{\def \hello "Hello World! using Latte"}
{\head {\title \hello}}
{\body \hello}



output = "Hello World! in Snobol"
Forum: Legacy and Other Languages Jan 31st, 2007
Replies: 90
Views: 28,933
Posted By vegaseat
Haskell is really a very comprehensive computer language used by many universities. You can gain some hands-on experience by downloading the small Haskell interpreter called Hugs from:...
Forum: Legacy and Other Languages Jan 9th, 2007
Replies: 4
Code Snippet: Print out Prime Numbers
Views: 12,951
Posted By vegaseat
Prime numbers are:
Any natural number greater than 1 that has the two divisors 1 and itself.

Defined in: http://en.wikipedia.org/wiki/Prime_number
Forum: Legacy and Other Languages Mar 22nd, 2006
Replies: 90
Views: 28,933
Posted By vegaseat
Ruby, ah so popular in Japan! This one uses the tk GUI ...
require 'tk'
root = TkRoot.new { title "Ruby & Tk" }
TkLabel.new(root) {
text 'Hello World! Ruby using the tk GUI'
pack { }
}...
Forum: Legacy and Other Languages Mar 6th, 2006
Replies: 90
Views: 28,933
Posted By vegaseat
LispSharp (Lsharp or L#) is a free Lisp based scripting language for .NET from:
http://www.lsharp.org/
It can be run on its own or included into a .NET language like C#

(WriteLine Console...
Forum: Legacy and Other Languages Dec 4th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Playing with .NET?
.method public static void Main() cil managed
{
.entrypoint
.maxstack 8
ldstr "Hello, world! in CIL/MSIL of .NET"
call void...
Forum: Legacy and Other Languages Nov 16th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
The simplicity of a Boo GUI ...
// a Boo GUI

import System.Windows.Forms from System.Windows.Forms // Form(), Label()
import System.Drawing from System.Drawing // Point(), Size(),...
Forum: Legacy and Other Languages Nov 15th, 2005
Replies: 8
Views: 3,588
Posted By vegaseat
Ideally you should have an application first and than find the best language to code it in. This in turn means you need to know the basics about a number of languages.

I have used C, C++, C#,...
Forum: Legacy and Other Languages Nov 10th, 2005
Replies: 0
Views: 1,940
Posted By vegaseat
I parked a little code snippet called "A Taste of Boo" at:
http://www.daniweb.com/code/snippet429.html
It's under Python so the code field would show the indentations properly.
Forum: Legacy and Other Languages Nov 9th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Talking about .NET (Windows) or Mono (Unix) ...
Public Class Hello
Public Shared Sub Main()
System.Console.WriteLine("Hello World! Using VB.NET")
End Sub
End Class
Forum: Legacy and Other Languages Nov 8th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Boo has a syntax similar to Python, has the features of Ruby, and the speed and safety of C#. Boo is a statically-typed language, but fakes being a dynamically-typed language by inference. It runs...
Forum: Legacy and Other Languages Sep 4th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Here is a Basic dialect that relies on wx ...
dim wxID_ED = wxID_HIGHEST + 5

// create the main application window
dim frame = new wxFrame( Nothing, -1, "wxBasic", wxPoint(50, 50), wxSize(350,...
Forum: Legacy and Other Languages Aug 19th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Let's write it as a Java Applet ...
import java.applet.Applet;
import java.awt.Graphics;

public class HelloWorld extends Applet {
public void paint(Graphics g) {
...
Forum: Legacy and Other Languages Aug 19th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Nice ASM code there Evenbit!

This example is a bit more complex, it allows you to display the familiar text in color on a Windows computer ...
#include <stdio.h>
#include <windows.h>

int...
Forum: Legacy and Other Languages Jul 31st, 2005
Replies: 1
Views: 7,427
Posted By vegaseat
A simple experiment with the ever so popular Mandelbrot fractal graphics, call it mathematical art, nice to look at. This set of experiments loops through a number of colors to make the whole thing...
Forum: Legacy and Other Languages Jul 24th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
The Nice language is based on Java, but has adopted some Python features.
void main(String[] args){
println("Hello World! in Nice");
}
Forum: Legacy and Other Languages May 13th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Way back in my programming days I heard of Ada being named for some lady's first name. I googled for it, but couldn't get the answer. So thanks Puckdropper!

Let's hope the next language is not...
Forum: Legacy and Other Languages May 10th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
A contribution from the wild and crazy bunch at BCX basic. Rather than just vapidly coding ...
print "Hello World! in BCX basic"
they want to exercise the old Windows box a little ...
' save...
Forum: Legacy and Other Languages May 7th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Another Ada example, actually quite a modern language ...

with Ada.Text_IO;
use Ada.Text_IO; -- searches Ada.Text_IO
procedure Hello95 is
begin
Put_Line("Hello world! using Ada95");
end...
Forum: Legacy and Other Languages May 6th, 2005
Replies: 13
Views: 9,826
Posted By vegaseat
You might take a look at
USB Central
http://www.lvr.com/usb.htm

USBs like to use drivers.
Forum: Legacy and Other Languages May 6th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
What does ADA stand for? American Dental Agency? Americans with Disabilities Act? What do they have to do with programming? It's Ada, not ADA. (Ada programmers tend to be picky about this.)

No...
Forum: Legacy and Other Languages May 1st, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
One more for the chelonians ...

print [Hello World! in Logo]
Forum: Legacy and Other Languages Apr 16th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
The up and coming language ...
indexing "Hello"
class HELLO
creation
run
feature
run is
local
io : BASIC_IO;
do
Forum: Legacy and Other Languages Apr 15th, 2005
Replies: 66
Views: 15,145
Posted By vegaseat
I have heard that present day Windows and the .Net framework are being increasingly written in C# (Csharp) rather than the more traditional C++
Forum: Legacy and Other Languages Apr 8th, 2005
Replies: 1
Views: 4,537
Posted By vegaseat
You can use the value from time. If you are using Freepascal check
http://www.freepascal.org/docs-html/rtl/sysutils/datetimeroutines.html

I would advice you to post your questions in the Pascal...
Forum: Legacy and Other Languages Mar 31st, 2005
Replies: 3
Views: 2,407
Posted By vegaseat
The group at BCX-basic is still quite active. They even developed a VB like IDE for their version of basic. BCX basic now translates to either C or C++. Best of all is the price, nada! The...
Forum: Legacy and Other Languages Mar 31st, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
There was a time when the world belonged to ADA. At least the ADA programmers cogitated so.

with TEXT_IO;
use TEXT_IO;
procedure Hello is
pragma MAIN;
begin
PUT ("Hello World! in Ada");...
Forum: Legacy and Other Languages Mar 29th, 2005
Replies: 1
Views: 3,465
Posted By vegaseat
Here is a little insight into Lisp from a Python programmer. I found it interesting to read ...
http://ibiblio.org/obp/py4fun/lisp/lisp.html
Forum: Legacy and Other Languages Mar 29th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
Thanks Narue! Found the other ancestors but not CPL ...

// Hello world example in BCPL
GET "libhdr"

LET start() = VALOF
$( writes("Hello world*N")
RESULTIS 0
$)
Forum: Legacy and Other Languages Mar 27th, 2005
Replies: 3
Views: 2,407
Posted By vegaseat
Just want to get ideas on which modern language could replace good old Basic, so the learning curve isn't too galling.

I am partial to Python. The reasons:

1. It is an interpreted language,...
Forum: Legacy and Other Languages Mar 27th, 2005
Replies: 66
Views: 15,145
Posted By vegaseat
William Gates' claim to the "Programmers Hall of Fame" is DOS, specifically MS-DOS for the the first IBM PC. I think that was written in assembler. It was a great achievement in those early PC...
Forum: Legacy and Other Languages Mar 27th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
I understand this is the A language that led to B then C. Correct me, if I am wrong ...

( # Hello # print(("Hello World! in Algol 68",newline)))
Forum: Legacy and Other Languages Mar 26th, 2005
Replies: 90
Views: 28,933
Posted By vegaseat
The Ruby world has responded with a GUI Hello World!

require 'fox'

include Fox

theApp = FXApp.new

theMainWindow = FXMainWindow.new(theApp, "Hello World!",nil, nil, DECOR_ALL, 10, 10, 300,...
Showing results 1 to 40 of 71

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC