HP3000-L Archives

February 2002, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Tue, 5 Feb 2002 19:52:48 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
Carol wrote...

> Uh, aren't you forgetting a VERY significant entry in your list?
> HP's own vastly underestimated (at least by HP) 4GL, Transact????

I wonder if it would be possible to use an object oriented language
like Java to create infrastructure similar to the Transact "look and
feel" (dictionary, registers, verbs, etc) that allows writing Java code
similar to an equivalent Transact program. See simplistic example
below ;-)

On the other hand, I also wonder whether such an implementation
would immediately/quickly get the target of HP's copyright lawyers...

Lars (only speaking for myself here)


// simple jTransact example 1

/*

  system demo, base=music("pw",5);

    list(auto) composers;
    format (composername): (birthplace);
    output(serial) composers, nocount;

  end demo;

*/

class Simple1 extends transact.Engine {

  void code() {

    base("MUSIC", "pw", 5);

    list.auto("COMPOSERS");

    format
      .item("COMPOSERNAME").add()
      .item("BIRTHPLACE").add();

    output
      .serial("COMPOSERS")
      .option("nocount")
      .show();

   }

}

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2