# Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
 It is currently Sun Mar 29, 2020 12:27 am

 All times are UTC - 5 hours

 Page 1 of 1 [ 6 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: On my softwarePosted: Sat Jul 28, 2012 6:05 am

Joined: Sun Mar 18, 2007 6:18 am
Posts: 62
Location: Italy
I have the following code in PushButton - Action:

`Dim i As IntegerWhile i < 100    tf1.Text = Str(i)  i = i + 1  Wend`

I would:

1 - In a TexField a column the values ​​of the i

2 - In another TextFiel another column with the logical value (true or false) of While for each i.

Is it possible ?

Sorry for my language.

Top

 Post subject: Re: On my softwarePosted: Sat Jul 28, 2012 9:10 am

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
Please try again to explain what you are attempting to accompilsh

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind

Top

 Post subject: Re: On my softwarePosted: Sat Jul 28, 2012 9:35 am

Joined: Sun Mar 18, 2007 6:18 am
Posts: 62
Location: Italy
I have the following code in PushButton - Action:
`Dim i As IntegerWhile i < 100    i = i + 1  Wend`

I would in the Windows1:

1 - A column with the values ​​of i

2 - In another column the logical value (true or false) of i<100

Is it possible ?

Top

 Post subject: Re: On my softwarePosted: Sat Jul 28, 2012 10:11 am

Joined: Mon May 30, 2011 12:56 am
Posts: 702
1 - A column with the values ​​of i

You need to use a listbox. With two columns.

2 - In another column the logical value (true or false) of i<100

Dim i As Integer

While i < 110

if i < 100 then
else
end if
i = i+1
Wend

Top

 Post subject: Re: On my softwarePosted: Sat Jul 28, 2012 12:47 pm

Joined: Sun Feb 19, 2006 4:00 pm
Posts: 1282
Location: Heidelberg, Germany
Please do the tutorial or even better the curriculum first.

Top

 Post subject: Re: On my softwarePosted: Sun Jul 29, 2012 4:48 am

Joined: Sun Mar 18, 2007 6:18 am
Posts: 62
Location: Italy
Without IF THEN....

It is better ?

Regards

`Listbox1.DeleteAllRowsDim i As IntegerDim a As BooleanWhile i < 100    a = i < 100    Listbox1.AddRow Str(i), Str(a)    i = i + 1  Wend`

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 6 posts ]

 All times are UTC - 5 hours

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forum

Search for:
 Jump to:  Select a forum ------------------ General    General    Getting Started    Networking    Databases    Visual Basic to REAL Studio Conversion    Games    Plugins    Tips    Web Control SDK Platform Specific    Windows    Macintosh    Linux    Web Other Topics    Announcements    Off-Topic    Third Party Add-ons