[Javascript] Conversions of variant type...better explanation...

Carlos carlos at unica.cu
Thu May 3 09:06:55 CDT 2001


RE: [Javascript] Functions arguments...Well, sorry for my hurriness...

I'll try to explain the problem again, according to what you said to me, let's see...

I'm trying to perform a search in a directory, this search is inside files, but there are text files and binary files, so what did I do, I treated all the files as binary files and tried to read its contents, but the problem is that when I use the ADODB.Stream.Read(numBytes) function, it returns a variant type (that's what all references of ASP say) and I thought that I could perform the search very well if I converted the variant type to a string data type...but...the variant type doesn't seem to appear "as is" in my Javascript's tutorial...so, my question is related to that conversion, but maybe anyone owns a better way of doing this search, so I accept it too...

I'm interested in this conversion, cause maybe (if the conversion variant - string is possible) you can convert any variant type to a byte or an integer.

I guess that,  this is my real problem...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010503/f7cea460/attachment.htm>


More information about the Javascript mailing list