Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22212

Re: PUT DATA

Date 2013-02-08 17:34 -0500
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: PUT DATA
References <i4uah8h7g0ft1r1b3ljsuinat0luq209p8@4ax.com>
Message-ID <51157d6d$0$291$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 2/8/2013 5:21 PM, Roedy Green wrote:
> In the olden days PL/I has a output mechanism called PUT DATA
>
> Expresses Javesquely it would look like this:
>
> out.putd ( xlow, xhigh);
>
> It would output
>
> xlow=23.4  xhigh=200.0
>
> (There was also a keyword/value input method.  It was mainly helpful
> in debugging.)
> I could see how you could implement it in a preprocessor or
> amanuensis, but can you do it with a pure Java method?  What if you
> warp the syntax brutally to hide info with annotations?

xlow and xhigh seems to be variable names.

They do not even exist at runtime for local variables.

So: no - impossible.

And annotations are put on types not on instances.

Arne

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PUT DATA Roedy Green <see_website@mindprod.com.invalid> - 2013-02-08 14:21 -0800
  Re: PUT DATA Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 17:34 -0500
    Re: PUT DATA Lew <lewbloch@gmail.com> - 2013-02-08 16:13 -0800
      Re: PUT DATA Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 19:18 -0500
        Re: PUT DATA Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-08 20:44 -0400
          Re: PUT DATA Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 19:52 -0500
            Re: PUT DATA Lew <lewbloch@gmail.com> - 2013-02-08 17:06 -0800
              Re: PUT DATA Lew <lewbloch@gmail.com> - 2013-02-08 17:08 -0800
              Re: PUT DATA Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 20:09 -0500
                Re: PUT DATA Lew <lewbloch@gmail.com> - 2013-02-08 17:16 -0800
                Re: PUT DATA Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 20:36 -0500
                Re: PUT DATA Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-09 08:14 -0400
  Re: PUT DATA Lew <lewbloch@gmail.com> - 2013-02-08 16:10 -0800
    Re: PUT DATA Roedy Green <see_website@mindprod.com.invalid> - 2013-02-09 09:54 -0800
  Re: PUT DATA Roedy Green <see_website@mindprod.com.invalid> - 2013-02-09 15:49 -0800
    Re: PUT DATA Arne Vajhøj <arne@vajhoej.dk> - 2013-02-09 19:21 -0500

csiph-web