[PD] >, <, &&, || etc

Thomas Mayer thomas at dergrossebruder.org
Mon Apr 6 22:16:53 CEST 2009


Claude Heiland-Allen wrote:
> Martin Peach wrote:
>> Mathieu Bouchard wrote:
>>> On Sun, 5 Apr 2009, Martin Peach wrote:
>>>
>>>>> The shell's [] (/usr/bin/test) also has -gt,-lt,-ge,-le,-eq,-ne,
>>>>> which it uses for numeric comparisons, whereas it uses
>>>>> >,<,>=,<=,==,!= for string comparisons. It also needs both by design.
> [snip]
>> Oh I see. But that notation is only standard in shell languages
> 
> also at least one assembly language:
> 
> http://en.wikibooks.org/wiki/68000_Assembly#Conditional_tests
> 
> 
> Claude

and in the PHP template engine PHPTAL:
http://phptal.motion-twin.com/manual/en/#tal-condition

Thomas
-- 
"Spielen Sie Strip Schnipp-Schnapp?" (Adam Weishaupt to Johann
Wolfgang von Goethe in: Robert Shea & Robert A. Wilson, The Golden
Apple)
http://www.residuum.org/




More information about the Pd-list mailing list