Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alphabetical sort in ISTringMap array
#4
I wrote this short routine to detect BOM at the beginning of a file. Any advice most welcome.

Function BOM_Det
Code:
Copy      Help
function# str's
if s[0]=239 and    s[1]=187 and s[2]=191
,ret 1
else
,ret 0


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)