At 6:27 PM -0600 2/14/06, [EMAIL PROTECTED] wrote:
I think there are more surprises. No error for me on this either in the Add Property pane:

Declaration: myString
As: String
= -1

That's quite legal.  It's the same as:

dim myString as String = "-1"

AFAICT.

However, for avoidance of confusion, it would be a nice touch if the property editor required a valid constant of the proper type. So for a string constant, you should have to type the " marks in the constant field. Right now, you can optionally omit them.

The property editor is doing some interesting "error correction" on strings entered as constants.

Try:

"derf"
""derf""
 ""derf""
" "derf" "

and so on.

The end result is that you can take a definition in code, cut and paste the parts into a property, and get something different. Not really a landmine; more like a M80...

--
===========================================================
Robert Woodhead, CEO, AnimEigo     http://www.animeigo.com/
===========================================================
http://selfpromotion.com/   The Net's only URL registration
SHARESERVICE.  A power tool for power webmasters.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to