|
Posted by Jerry Stuckle on 10/19/07 11:47
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.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|