From: ian Date: Sun, 8 Sep 2002 17:16:10 +0000 (+0000) Subject: hbytes range X-Git-Tag: debian/1.1.1~158 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=commitdiff_plain;h=05bed2aad2154e0e8c084789387bf900c5ee513b hbytes range --- diff --git a/base/chiark-tcl.h b/base/chiark-tcl.h index 4422d32..f542fe0 100644 --- a/base/chiark-tcl.h +++ b/base/chiark-tcl.h @@ -13,6 +13,8 @@ * hbytes chopto VAR NEWVARLENGTH => suffix (removed from VAR) * (too short? error) * + * hbytes range VALUE START SIZE => substring (or error) + * * hbytes compare A B * => -2 A is lexically earlier than B and not a prefix of B (A int + range + v hb + start int + size int + => hb prepend v hbv str ... diff --git a/hbytes/hbytes.h b/hbytes/hbytes.h index 4422d32..f542fe0 100644 --- a/hbytes/hbytes.h +++ b/hbytes/hbytes.h @@ -13,6 +13,8 @@ * hbytes chopto VAR NEWVARLENGTH => suffix (removed from VAR) * (too short? error) * + * hbytes range VALUE START SIZE => substring (or error) + * * hbytes compare A B * => -2 A is lexically earlier than B and not a prefix of B (A