t3x.org / t3x / t3x-manual / 327.html
 
T3X - A Minimum Procedural Language
Version 8.1.5, Online Edition
Copyright(C) 1996-2004
Nils M Holm
 
Previous:
3.2.6 GETENV
TOC | Index | Back Next:
3.2.8 MEMCOPY

3.2.7 MEMCOMP

T.MEMCOMP(r1, r2, len) ! Bvec,Bvec,Num => Num

Compare up to 'len' bytes of the regions 'r1' and 'r2'. When a mismatch is found during the comparison, the procedure returns

r1::p - r2::p

where 'p' is the position of the mismatch. When 'len' bytes have been compared without encountering a mismatch, zero is returned.

See also: MEMCOPY, MEMFILL, MEMSCAN

Previous:
3.2.6 GETENV
TOC | Index | Back Next:
3.2.8 MEMCOPY