September 13, 2001

Ben Cohen wrote:
> 
> In article <3BA08FBC.158C9162@sanger.ac.uk>, "James Gilbert" <jgrg@sanger.ac.uk> wrote:
> 
> >> Incidentally, I noted elsewhere that C's -> notation might not be needed in D.   If you don't mind using it for something else, then casts would be a possible use:
> >>
> >>   foo->long
> >>
> ...
> > I would try to avoid operators that are used for different things in similar languages!
> 
> That is sensible ... but a pity to leave the notation unused!

Perhaps if the parser sees a "->" token, it could open a web browser to a page titled "D for C Programmers".

-RB
September 19, 2001
James Gilbert wrote in message <3BA08D12.894CA875@sanger.ac.uk>...
>Erik Rounds wrote:
>>
>> oops, sorry I guess I lost the first line.  Here it is again:
>>
>> Why don't we use a tick operator ' to retrieve data from a primitive type?  Like Foo'class or Array'length.  This would provide the
distinction
>> between class members and primitive type information.  There could be a Foo.class without there being any confusion.  Just thought I'd offer my
two
>> cents.
>
>My $0.02 is that the tick operator plays merry hell
>with syntax highlighting in editors.


The ' operator would make it impossible to tokenize the language separately from syntax analysis. Perhaps the : would work better.


September 20, 2001
Russell Bornschlegel wrote in message <3BA0E8CF.5BFDE051@estarcion.com>...
>Perhaps if the parser sees a "->" token, it could open a web browser to a
page
>titled "D for C Programmers".



I'm still looking for a use for the error message:

    "fix card deck and resubmit job"



September 20, 2001
Walter wrote:

> ...
> I'm still looking for a use for the error message:
> 
>     "fix card deck and resubmit job"
> 

You could have a sample that implements a deck editor for FreeCell.

September 21, 2001
Walter wrote:
> 
> Russell Bornschlegel wrote in message <3BA0E8CF.5BFDE051@estarcion.com>...
> >Perhaps if the parser sees a "->" token, it could open a web browser to a
> page
> >titled "D for C Programmers".
> 
> I'm still looking for a use for the error message:
> 
>     "fix card deck and resubmit job"

Display it if any variable named foo, bar, baz or foobar is used incorrectly.

Dan
September 21, 2001

Walter wrote:

> Russell Bornschlegel wrote in message <3BA0E8CF.5BFDE051@estarcion.com>...
> >Perhaps if the parser sees a "->" token, it could open a web browser to a
> page
> >titled "D for C Programmers".
>
> I'm still looking for a use for the error message:
>
>     "fix card deck and resubmit job"

I once had a job fail because the following job had been put onto the card reader upside down, and became data for my program.  FORTRAN of course, about 1970.

John


October 10, 2001
John Fletcher wrote in message <3BAAFEB8.3E001B7@aston.ac.uk>...
>Walter wrote:
>> Russell Bornschlegel wrote in message
<3BA0E8CF.5BFDE051@estarcion.com>...
>> >Perhaps if the parser sees a "->" token, it could open a web browser to
a
>> page
>> >titled "D for C Programmers".
>>
>> I'm still looking for a use for the error message:
>>
>>     "fix card deck and resubmit job"
>
>I once had a job fail because the following job had been put onto the card reader upside down, and became data for my program.  FORTRAN of course,
about
>1970.


It's nice to know there are some people who have been programming longer than me <g>. And yes, my first programs were on punch cards.


October 10, 2001
Walter <walter@digitalmars.com> wrote in message news:9q14m0$12ed$1@digitaldaemon.com...
>
> John Fletcher wrote in message <3BAAFEB8.3E001B7@aston.ac.uk>...
> >Walter wrote:
> >> Russell Bornschlegel wrote in message
> <3BA0E8CF.5BFDE051@estarcion.com>...
> >> >Perhaps if the parser sees a "->" token, it could open a web browser
to
> a
> >> page
> >> >titled "D for C Programmers".
> >>
> >> I'm still looking for a use for the error message:
> >>
> >>     "fix card deck and resubmit job"
> >
> >I once had a job fail because the following job had been put onto the
card
> >reader upside down, and became data for my program.  FORTRAN of course,
> about
> >1970.
>
>
> It's nice to know there are some people who have been programming longer than me <g>. And yes, my first programs were on punch cards.
>
>

I used cards in 1975, but encountered a Russian computer (Model: Minsk-2)
with very hard pushbuttons in '79. These buttons would light lamps and
frequently were stuck. How about some use for the message:
'Push harder, then it might work!'

Ps: Not to be behind, next to the Russian m/c was a Hewlett-Packard machine, using Buttons and Lights: HP-21! The buttons here were a lot smoother and had lights behind them, as the console was very small.



October 23, 2001
Or you could use #

Sean

"Walter" <walter@digitalmars.com> wrote in message news:9o99bv$a8v$1@digitaldaemon.com...
> James Gilbert wrote in message <3BA08D12.894CA875@sanger.ac.uk>...
> >Erik Rounds wrote:
> >>
> >> oops, sorry I guess I lost the first line.  Here it is again:
> >>
> >> Why don't we use a tick operator ' to retrieve data from a primitive type?  Like Foo'class or Array'length.  This would provide the
> distinction
> >> between class members and primitive type information.  There could be a Foo.class without there being any confusion.  Just thought I'd offer my
> two
> >> cents.
> >
> >My $0.02 is that the tick operator plays merry hell
> >with syntax highlighting in editors.
>
>
> The ' operator would make it impossible to tokenize the language
separately
> from syntax analysis. Perhaps the : would work better.



November 23, 2001
Yes, # would work.

"Sean L. Palmer" <spalmer@iname.com> wrote in message news:9r3dsr$a27$1@digitaldaemon.com...
> Or you could use #
>
> Sean
>
> "Walter" <walter@digitalmars.com> wrote in message news:9o99bv$a8v$1@digitaldaemon.com...
> > James Gilbert wrote in message <3BA08D12.894CA875@sanger.ac.uk>...
> > >Erik Rounds wrote:
> > >>
> > >> oops, sorry I guess I lost the first line.  Here it is again:
> > >>
> > >> Why don't we use a tick operator ' to retrieve data from a primitive type?  Like Foo'class or Array'length.  This would provide the
> > distinction
> > >> between class members and primitive type information.  There could be
a
> > >> Foo.class without there being any confusion.  Just thought I'd offer
my
> > two
> > >> cents.
> > >
> > >My $0.02 is that the tick operator plays merry hell
> > >with syntax highlighting in editors.
> >
> >
> > The ' operator would make it impossible to tokenize the language
> separately
> > from syntax analysis. Perhaps the : would work better.
>
>
>


1 2
Next ›   Last »