Maybe a bug in DelimitedFile?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Maybe a bug in DelimitedFile?

FDominicus
I don't know really but in readFrom the implementation is:
readFrom: aFilenameString
        "read a delimited file and convert content to object representation in 'records' collection"
        | stream |
        self filename: aFilenameString asFilename.

asFilename probably should be asFileName
at least in String there is not asFilename
but in SpFileName

I do  not know which one is meant here but just taking a
String gives an error

Regards
Friedrich

--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Maybe a bug in DelimitedFile?

Janko Mivšek
Hi Friedrich,

Corrected! Thanks for reporting.

A portable way of making a SpFilename from string is:

        SpFilename named: aFilenameString

Best regards
Janko

S, Friedrich Dominicus piše:

> I don't know really but in readFrom the implementation is:
> readFrom: aFilenameString
> "read a delimited file and convert content to object representation in 'records' collection"
> | stream |
> self filename: aFilenameString asFilename.
>
> asFilename probably should be asFileName
> at least in String there is not asFilename
> but in SpFileName
>
> I do  not know which one is meant here but just taking a
> String gives an error
>
> Regards
> Friedrich
>

--
Janko Mivšek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida