logman0u812 wrote:
> visualize a spreadsheet. Say 10 rows by 10 columns for
> simplicity. And I only want to grab the columns
> 3,4,7,9 from each row, what would be the easiest way
> to pass a var telling me which columns to grab?
> 
> When I coded in VB (long ago) I would pass 0101010101
> etc.. which would tell me 0=no ( dont grab col ), if 1
> then yes ( grab col ).

If you know the upper limit at compile time, a set could be good. It has 
a maximum size of 256 elements, though.

For larger sizes, use a TBits object. It's like an array of Booleans, 
but each element only takes up one bit of memory instead of eight. See 
the help file for details.

-- 
Rob


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h4q94lf/M=362335.6886445.7839731.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1122639598/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to