Category : Files from Magazines
Archive   : CUJ9207.ZIP
Filename : 1007030A

 
Output of file : 1007030A contained in archive : CUJ9207.ZIP
// Main is called by Liana to start the application
main
{
// Create and show a window.
(w = new window).show;
}

// Paint is called by Liana to update window.
// Note that it queries the current window
// size to calculate the graphic coordinates.

paint
{
// Some text.
w << "Hello World";

// Diagonal line from upper left to lower right.
w.line (0, 0, w.width, w.height);

// Circle in middle of screen.
int x = w.width / 2;
int y = w.height / 2;
int r = min (w.width, w.height) / 4;
w.circle (x, y, r);

// Rectangle around the circle.
w.rectangle (x - r - 30, y - r - 10,
x + r + 30, y + r + 10);
}


  3 Responses to “Category : Files from Magazines
Archive   : CUJ9207.ZIP
Filename : 1007030A

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/