Lately I been using a dialect of the LOGO programming language (papert). Today I wrote a fractal tree drawing which I am impressed after trying to get the angles right, based on a earlier experiment that used 45 degree angles this one is based on a more natural looking 30 degrees. The result is a … Read More “A Tree in Logo” »
Category: programming
Ok… this is a “Hello World” program in C++ using objects. It illustrates a number of aspects of object oriented programming in C++ allowing you to get a quickstart into C++ programming. First there is the #include directives which tells C++ that the program uses two libraries, iostream and string (actually they specify the header … Read More “Hello World C++ with Objects” »
Ok, as my previous post showed how to write a routine oriented hello world program in gforth, I now explain a hello world program using objects in object oriented rexx (ooRexx). #!/usr/bin/rexx /* Object Oriented Hello World in REXX */ myobject = .hello~new myobject~print exit ::class hello ::method init expose hellostring hellostring = “Hello World” … Read More “Hello World ooREXX” »
One of the issues of most of the information out there with respect to the forth language (and this includes books) is the lack of a clear illustration of how to write a routine and call it in the program in a easy to understand manner. They show how to write a routine and call … Read More “Hello World Gforth (better example)” »
Recent news, I had to reinstall SUSE linux on my 64-bit PC. So this means I have to get my tools that I use often, including REXX scripts. Previously I used a REXX script for reading a text file and downloading a series of files based on a filter, such as files x001.jpg to x030.jpg. … Read More “Batch downloading with REXX and WGET” »
