sbsbats
asked on
return the ? charactor
Hello,
Want a simple piece of code that returns the ? charactor - I know the OS should prevent this but has anybody found/know of a fudge workaround? not bothered what language just want to show it being done
Want a simple piece of code that returns the ? charactor - I know the OS should prevent this but has anybody found/know of a fudge workaround? not bothered what language just want to show it being done
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Const QMARK = &h3f
Dim QMark As Integer
QMark = &h3f
response.write(Hex(3F))
Dim QMark As Integer
QMark = &h3f
response.write(Hex(3F))
Use the Hex code for it, or Oct 077, or Dec 63.
If you are on Windows a ? is an illegal character in a filename, so I don't think the O/S will let you create a file with a question mark in the name, no matter how you code it. So I don't think it can be done.
~bp
~bp
Bill is correct about the name itself. That's an illegal character for the name only.
ASKER
cheers
ASKER