Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
for k=1 to 10 do
printf(1, "%d\n",k)
end for
Hi Willbe,
There is another language similar to Pascal that is called "Euphoria".
It can do console apps as well as Windows apps with user made
libraries. Everything is free, and the compiler is open source now too.
Here's a quick example of a loop:
for k=1 to 10 do
printf(1, "%d\n",k)
end for
There are also built in functions to link to C libraries 'dll' such as Windows
dll's like kernel32.dll, user32.dll, gdi32.dll, etc. By using some Windows
Help files you can learn how to call these Windows dll functions to create
windows, message boxes, etc., with just about anything in them like
buttons, menus, text boxes, etc.
You wont regret at least taking a look at this.
Hi Torben,
Yes, it's quite interesting and i've been using it for about 10 years now.
The other interesting thing is that it is a compiled language so you can
quickly check for errors and get feedback as to what line the error is
in, and what file.
It also comes with a Euphoria to C translator, which takes your program
and translates it into the C language so you can use a standard C
compiler (one of the open source ones) to build it, which increases speed
to some extent. I never use this however as i dont seem to need it.
There are also various user contributions that include whole windows
libraries so you can create various windows objects sort of like this:
MyWindow1=Create(Window, caption, size, background_color, style)
or a 'C++' style library like this:
MyWindow1=Window:Create(caption, size, background_color, style)
Luckily all the software is free.
Anybody have a link for free/shareware for an old version of a Pascal compiler? I don't have any books anymore on C or Ada or Icon.
Otherwise it's good ol' GW-BASIC, all 62 kB worth.
You can Google "Turbo Pascal download" and find it on several sites for free download (it's legit). If you search the forum I've posted links to it before, too.
Here's one: **broken link removed**
Good luck!
Torben
[Edit: The SWAG is still online too, if you can believe it! Check out http://www.bsdg.org/SWAG/ ]
Thanks all!
OK, I have the download in a folder on my C drive. How do I unzip & operate?