dict.tools.cls

30 views
Skip to first unread message

tom h

unread,
Jul 29, 2012, 6:18:48 PM7/29/12
to scarl...@googlegroups.com
Hi,

I downloaded this class for education purposes ( I need to write a class, needed some pointers ) and made the following fixes:

Instead of concatenating the 'format', I put in parentheses.

0258:     if format # "" then
0259:         field.data = field.data:format   <--- This
0260:     end
     
0258:     if format # "" then
0259:        field.data = field.data ( format ) <--- becomes this.
0260:     end

I couldn't get the 'I types' to work, so I added 2 lines to assign @id and @record.

0264:    if dict.type = "I" then
   ....
0275:       @id = item.id                    <---- add this
0276:       @record = item.data          <----- and this
0277:       field.data = itype(dictrec)
0278:    end

Thanks, Tom H
Reply all
Reply to author
Forward
0 new messages