gettingstarted
[Top] [All Lists]

Re: Getting Started Digest #111

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Getting Started Digest #111
From: Harrie Westphal <harriew at frontiernet dot net>
Date: Mon, 24 Nov 2003 10:04:50 -0600

On Monday, November 24, 2003, at 08:00  AM, Getting Started wrote:


  for x= 0 to 169
    s=chr(x)+chr(13)
    me.text=me.text + str(x)+"  "+s
  next

RB just stalled and quit. So I limited the loop to x= 164 to 169 and this is the result.

164  ¬¨¬®¬¨¬Æ¬¨¬®¬¨?ÜÄö?Ñ??àöÄ àöàÇÄö? ??¬¨à´
165  Äö?Ñ??àö?ëàöàÇÄö? ??àö?´¬¨¬®¬¨¬¢
166  ¬¨¬®Äö? ?á
167  àö?º
168  ®
169  ©

Writing the code exactly as you have it above I got the same gibberish in the editfield that you showed above. However, if I change the code as follows the editfield looks fine in the end, one character per line as and the character you would expect.

for x=164 to 169
  s=s+chr(x)+chr(13)
next
me.text=s

And the output is (providing these come through the e-mail process):

§
•
¶
ß
®
©

Seems like something with the editfield isn't working exactly right when you keep appending to it as in your original example.

=====================
A Mac addict in Tennessee
=====================


- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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