From: Bart Schaefer <schaefer@brasslantern.com>
To: Zefram <zefram@fysh.org>, zsh-workers@sunsite.dk
Subject: Re: Tetris
Date: Mon, 3 Sep 2001 17:43:57 +0000 [thread overview]
Message-ID: <1010903174357.ZM11813@candle.brasslantern.com> (raw)
In-Reply-To: <1010903171420.ZM11666@candle.brasslantern.com>
On Sep 3, 5:14pm, Bart Schaefer wrote:
}
} I end up (I think, I'm not sure) in vi insert mode when I press 's'.
I figured it out. I set up the entire file as an autoloadable function,
so the tetris_rotations array became a local. Might be useful to protect
against that:
--- tetris.0 Mon Sep 3 09:38:55 2001
+++ tetris Mon Sep 3 10:39:54 2001
@@ -4,7 +4,7 @@
tetris_hsz=11
tetris_vsz=20
tetris_shapes=(0x0f00 0x4e00 0x6600 0x4620 0x2640 0x2260 0x4460)
-typeset -A tetris_rotations
+typeset -gA tetris_rotations
tetris_rotations=(
0x0f00 0x4444 0x4444 0x0f00
0x4e00 0x4c40 0x4c40 0x0e40 0x0e40 0x4640 0x4640 0x4e00
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
prev parent reply other threads:[~2001-09-03 17:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-03 0:03 Tetris Zefram
2001-09-03 6:08 ` Tetris Wayne Davison
2001-09-03 9:50 ` Tetris Zefram
2001-09-03 17:14 ` Tetris Bart Schaefer
2001-09-03 17:43 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1010903174357.ZM11813@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zefram@fysh.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).