Groups | Search | Server Info | Login | Register
Groups > comp.lang.logo > #138
| Newsgroups | comp.lang.logo |
|---|---|
| Date | 2022-09-07 14:00 -0700 |
| Message-ID | <5a3b3cc0-17a5-4cf5-831c-995c115aa67dn@googlegroups.com> (permalink) |
| Subject | blind input |
| From | "Mr. Spelunx" <mrspelunx@gmail.com> |
Hello. I'm new here. I have a question about a little procedure I'm developing in UCBLogo. I want the user to type a secret message word that gets output to another procedure/primitive. The characters are collected in a word STRING and don't appear on the screen. Here it is: TO INPUT :STRING LOCAL "K MAKE "K READCHAR IF EQUALP ASCII :K 10 [OUTPUT :STRING STOP] MAKE "STRING WORD :STRING :K INPUT :STRING END ? PRINT INPUT " (SWORDFISH) (not visible) You don't say what to do with SWORDFISH in INPUT [INPUT :STRING] I can't figure out why it won't output to PRINT. If I change the section OUTPUT :STRING to PRINT :STRING, it will print SWORDFISH. Strangely, this works in LogoWriter 2.0 for DOS, but not Apple Logo or UCBLogo.
Back to comp.lang.logo | Previous | Next | Find similar
blind input "Mr. Spelunx" <mrspelunx@gmail.com> - 2022-09-07 14:00 -0700
csiph-web