<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6618.4">
<TITLE>Embedded Quotation Marks</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT FACE="Tahoma">Here's a little bug that bothers me.</FONT>
</P>
<P><FONT FACE="Tahoma">In most languages, there is a way to embed special characters in a string literal.</FONT>
</P>
<P><FONT FACE="Tahoma">So that, for example if $ has a meaning to a language, you might use %$ in a literal to tell the language to embed the $ sign in the literal and not run the $ function (whatever it may be). In this example, a %% would tell the parser that the literal contains a percent sign.</FONT></P>
<P><FONT FACE="Tahoma">I have not been able to find a similar feature in the VB scripting language (I've tried a bunch of the "usual" special characters, but none seem to work). So in a literal (which starts and ends with a " sign) if you want to include the " sign as part of the literal, there is no way to tell VB that " is a symbol and not the end of the string. I have temporarily gotten around this by using two ' signs in my literals (e.g., for degrees, minutes and seconds of lat/long) but there has to be a better solution.</FONT></P>
<P><FONT FACE="Tahoma">I looked through the VB 6.0 manuals and could not find such a solution, however.</FONT>
</P>
<P><FONT FACE="Tahoma">Any thoughts?</FONT>
</P>
<P><B><FONT SIZE=6 FACE="Brush Script MT">-- John</FONT></B>
</P>
</BODY>
</HTML>