From 05bed2aad2154e0e8c084789387bf900c5ee513b Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 8 Sep 2002 17:16:10 +0000 Subject: [PATCH] hbytes range --- base/chiark-tcl.h | 2 ++ base/hook.c | 15 +++++++++++++++ base/tables-examples.tct | 5 +++++ hbytes/hbytes.h | 2 ++ hbytes/hook.c | 15 +++++++++++++++ 5 files changed, 39 insertions(+) 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