|
Posted by kenneth02394832 on 10/21/07 05:13
On Oct 19, 4:47 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Summercool wrote:
> > On Oct 18, 7:33 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >> Summercool wrote:
> >>> On Oct 18, 7:25 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >>>> Summercool wrote:
> >>>>> On Oct 18, 6:41 pm, Michael Fesser <neti...@gmx.de> wrote:
> >>>>>> .oO(Summercool)
> >>>>>>> On Oct 18, 5:46 pm, Gary L. Burnore <gburn...@databasix.com> wrote:
> >>>>>>>>> echo '$obj->arr[n*size][i-1]' . $obj->arr[n*size][i-1];
> >>>>>>>>> so you have to make sure both places are indeed the same expression --
> >>>>>>>> If that's too hard for you, perhaps you should consider a job in the
> >>>>>>>> food or hospitality industry.
> >>>>>>> so if PHP or people who are proficient in PHP cannot give a good
> >>>>>>> solution to this simple thing
> >>>>>> Simple? This:
> >>>>>> $obj->arr[n*size][i-1]
> >>>>> a few other languages I know can make this possible. in the PHP group
> >>>>> I usually hear "don't compare PHP to other languages". or "no, you
> >>>>> don't really need that." oh well, if this is the way it is, so be it.
> >>>> You don't get it, do you? Other languages generally do NOT make this
> >>>> possible. The debuggers they have may, though.
> >>>> And there are PHP debuggers, also.
> >>> that's not true. The other languages don't need a debugger to make
> >>> this possible.
> >> For instance - in C, there is no way to display a variable. It is
> >> strictly the debugging tools which make it work.
>
> >> Or, I challenge you to show me ANYWHERE in the ANSI C spec that this
> >> should be possible. It doesn't exist.
>
> >> It is strictly a result of the debugging tools in the compiler.
>
> >> And I did not say you had to have a debugger. I said debugging tools.
> >> There is a difference!
>
> > you can use #define in C to do that. it is in the pre-compiler.
>
> Yes, it is. But it doesn't produce the output you're looking for. All
> that does is create a macro - which expands to exactly what everyone
> else was telling you to do.
>
> No difference.
See, Jerry Stuckle, if you are not that good, stop sounding like you
are good. The C preprocessor can do it, by something that's called
Stringification.
http://www.google.com/search?hl=en&q=C+Stringification&btnG=Google+Search
Don't know about it, DO YOU? Since you are not as good as me, why
don't you go work for the hospitality or service industry? But sorry,
you are not that hospitable either.
[Back to original message]
|