gettingstarted
[Top] [All Lists]

Re: PC code and Mac code different?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: PC code and Mac code different?
From: Terry Ford <tmford at shaw dot ca>
Date: Sun, 27 Feb 2005 15:10:15 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BAY2-F11E5EEE5711DDAB7491673DA670 at phx dot gbl> <4186348157533c5ce5f61d5966122034 at shaw dot ca>
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>

<Prev in Thread] Current Thread [Next in Thread>