Not logged in
Overview
SHA1 Hash:604f10a85ea632f0e3e2b2178bfd928c2bdd61f6
Date: 2010-06-06 15:28:55
User: charleschilders
Comment:Refactor the bindings for $${ and $$} and $$|
Timelines: family | ancestors | descendants | both | trunk
Other Links: files | manifest
Tags And Properties
Changes
[hide diffs]    [patch]

Modified rxe.retro from [8ccbe0e113211872] to [447f23c872075e86].

@@ -142,15 +142,15 @@
     : key   (   -c ) @fid fread ;
     : read  ( an-  ) for key swap !+ next key 2drop ;
     : short ( an-  ) drop repeat key dup 10 =if 2drop ;then swap !+ again ;
     : all   (   -a ) @blk block 8 for dup 64 @action execute 64 + next ;
     : end   (  a-  ) @fid fclose 2drop ;
-    : common (  -  ) ask open @fid if all end then clear ;
+    : common (  -  ) ask !mode !action open @fid if all end then clear ;
   ---reveal---
-    : $${  &dump  !action :w !mode s" Save to:" common ;
-    : $$}  &read  !action :r !mode s" Read from:" common ;
-    : $$|  &short !action :r !mode s" Read from:" common ;
+    : $${  &dump  :w s" Save to:"   common ;
+    : $$}  &read  :r s" Read from:" common ;
+    : $$|  &short :r s" Read from:" common ;
   }}
 ))
 
 : edit ( - )
   &remap &remap-keys :is