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

Claude Heiland-Allen claudiusmaximus at goto10.org
Mon Apr 6 15:01:03 CEST 2009


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
-- 
http://claudiusmaximus.goto10.org




More information about the Pd-list mailing list