<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Javascript] Functions arguments...</TITLE>

<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=949361513-03052001>Now 
that sheds some light. Why are you trying to search binary files? Use 
notepad.exe and open a executable binary file and see what you get. Usually a 
lot of unprintable characters and occasionally you will see readable text where 
literals have been stored.</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<P><FONT size=2>Bob Filipiak (Contractor)<BR>MCP </FONT></P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Carlos 
  [mailto:carlos@unica.cu]<BR><B>Sent:</B> Thursday, May 03, 2001 10:07 
  AM<BR><B>To:</B> javascript@LaTech.edu<BR><B>Subject:</B> [Javascript] 
  Conversions of variant type...better explanation...<BR><BR></DIV></FONT>
  <DIV><FONT face=Arial size=2>Well, sorry for my hurriness...</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I'll try to explain the problem again, according 
  to what you said to me, let's see...</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>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...</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>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.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I guess that, this is my real 
  problem...</FONT></DIV></BLOCKQUOTE></BODY></HTML>