Home

VB Statements(s) mode does not (automatically) evaluate expression for selected text

edited December 2015
In C# you can select a (single) word and it will be evaluated instead of executed:

image

Could this me possible for VB too? Currently not working:

image

v5.04.00

Comments

  • Hmmm. I actually note a selection from a C# Program will run as a C# Statement(s) or as a C# Expression presumably depending upon the inclusion of a semicolon. We VB programmers have had to make the dropdown change ourselves :-(
  • Also, the entire query is executed if only a single character is selected:

    image

    image

    However, by your post @markhurd I understand it can be quite complex to implement the 'auto switch' feature so I would call this a minor quirk / not a problem.
Sign In or Register to comment.