realbasic-nug
[Top] [All Lists]

Why is this not incrementing?

To: REALbasic Network Users Group <realbasic-nug@lists.realsoftware.com>
Subject: Why is this not incrementing?
From: Markus Winter <markus_winter@online.de>
Date: Tue, 30 Jun 2009 14:27:41 +0200
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
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Thread-index: Acn5fik/Z6bnEmVxEd6jAAAX8sP4eQ==
Thread-topic: Why is this not incrementing?
User-agent: Microsoft-Entourage/11.4.0.080122
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>


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