From: Terry Ford <tmford at shaw dot ca>
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: PC code and Mac code different?
Date: Sun, 27 Feb 2005 15:10:15 -0800
Bad news. Double checked my code. Totally wrong. Back to the drawing board.
Sigh :-(
Terry
Ignore the expression. It's still wrong.
Sort of works. though.
On 27-Feb-05, at 2:44 PM, Terry Ford wrote:
On 27-Feb-05, at 1:25 PM, Lennox Jacob wrote:
Thanks Terry,
Worked flawlessly.
Would really appreciate some help with PC printing too.
I'll look into it later. Bedtime now.
BTW, do you understand *how* the following expression works?
If (asc(Key)<32 and asc(Key)>48) or asc(Key)>57 then
Beep
Return True
End if
It's really quite important that you do for things like this.
In this case, you only want the allowed ranges of Chr(0) to Chr(31)
[Control Keys] and Chr(48) to Chr(57) [Numbers].
Hint: If you read it from left to right, it really shouldn't work.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>