[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> Problems with 'rc' in MSWLogo



At 09:31 18-10-98 -0700, you wrote:
>Hi All
>
>I have found a curious problem with READCHAR in MSWLogo. My computer
>doesn't seem to be able to accept successive RC commands.
>
>A test procedure which follows ignores the second RC and the SHOW
>command......
>
>to testRC
>	make "first rc
>	make "second rc
>	show (word :first :second)
>end
>
>...... results in variable values as follows:
>
>Make "first "a
>Make "second "\
>
[ ... ]

Hi Paul.
In fact, when You type a single "a" in dialog box, there is the second
character created by "Enter" key. Your second RC takes that char and outputs
to :second value "\

If You expand your test as follows, the situation will be clear:

to testRC
	make "first rc
	make "second rc
	show (word :first :second)
	show ascii :second
end

I wouldn't call it a problem with "rc" in MSWLogo. But if someone should
answer to a successive single keystrokes, he is to use "keyboardon" instead.

Regards.
Andrzej B.

---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home