realbasic-nug
[Top] [All Lists]

About the use of Int8 in loops with ListBox Columns

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: About the use of Int8 in loops with ListBox Columns
From: Emile Schwarz <emile dot a dot schwarz at wanadoo dot fr>
Date: Thu, 31 May 2007 14:52:03 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi all,

REALbasic "current"
Mac OS X "current"

In a - current - ListBox, the max number of Columns is 64 (less than 
what can hold an Int8).

I wanted to set a property for all columns (two or three) for  specific 
ListBox, and asked myself if I can use as the Loop index, a variable of 
type Int8.

In that case, AND NOW (read point b below), an Int8 is a viable solution 
and I had another question:

is it a good idea to do so ?

a. Is this will speed up the loop (even for 64 columns) ?

b. Is this worth the risk ? [In case REAL Software enlarge the possible 
number of columns in the ListBox Control]


As usual, send your feelings, reaction, whatever here :)

TIA,

Emile

_______________________________________________
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>
  • About the use of Int8 in loops with ListBox Columns, Emile Schwarz <=