Name

compare:string — ordinary primitive

Synopsis

FORTH
COMPARE ( str-ptr1 str-len1 str-ptr2 str-len2 -- n )(); 
 ;

Description

compare both str-buffers, return 0 if they are equal, -1 if lower or shorter, and 1 if greater or longer

dpANS 17.6.1.0935 - standard forth word