comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: When should objects be used?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: When should objects be used? [message #15946 is a reply to message #15940] Sat, 26 June 1999 00:00 Go to previous messageGo to previous message
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
I wrote in bad syntax
> Perhaps the task you mention of writing TeX tables might be a
> good place to start:
>
> Table = OBJ_NEW ('teXTable') ; Make an instance of a 'teXTable' obj
> Table->setColumns (5) ; This table will have 5 cols.
> Table->setData (myData) ; myData might be an array of structures
> ; with 5 tags. You could even omit the
> ; setColumns() method, and just figure
> ; out the number of columns
> Table->write ('myTable.tex') ; Write a table
> OBJ_DESTROY (Table) ; Clean up memory
>

when of course I should have written

Table = OBJ_NEW ('teXTable')
Table->setColumns, 5
Table->setData, myData
Table->write, 'myTable.tex'
OBJ_DESTROY, Table



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Robert S. Mallozzi 256-544-0887
Mail Code SD 50
Work: http://gammaray.msfc.nasa.gov/ Marshall Space Flight Center
Play: http://cspar.uah.edu/~mallozzir/ Huntsville, AL 35812
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Conflicting Data structures
Next Topic: Re: repeat.. until loops

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:59:05 PDT 2025

Total time taken to generate the page: 7.52111 seconds