realbasic-nug
[Top] [All Lists]

RE: Why is this not incrementing?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: RE: Why is this not incrementing?
From: Kevin Gale <KevinG@transeomedia.com>
Date: Tue, 30 Jun 2009 13:32:13 +0100
Accept-language: en-US, en-GB
Acceptlanguage: en-US, en-GB
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <C66FD15D.5791F%markus_winter@online.de>
References: <C66FD15D.5791F%markus_winter@online.de>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Thread-index: Acn5fik/Z6bnEmVxEd6jAAAX8sP4eQAAKI9d
Thread-topic: Why is this not incrementing?
Mark.

You have defined i as an integer rather than a single or double.

HTH
Kev
________________________________________
From: realbasic-nug-bounces@lists.realsoftware.com 
[realbasic-nug-bounces@lists.realsoftware.com] On Behalf Of Markus Winter 
[markus_winter@online.de]
Sent: 30 June 2009 13:27
To: REALbasic Network Users Group
Subject: Why is this not incrementing?

Hi,

  dim i as integer

  for i = 1 to 10 step 0.1
    EditField1.AppendText Str(i) + EndOfLine
  next

It works fine with steps 1, -1, 2 etc but as soon as the step is not an
integer i fails to increment.

I tried it on RB2007R3, RB2007R4, and RB2009R2, and even restarted the
computer just to make sure nothing had gone bonkers Š

Thanks

Markus
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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