TrueGui Help
TrueGUI Translation Mode

Glossary Item Box

 

The .NET framework syntax defines string and character literals that use specific delimiters: 

1. String literals are delimited by enclosing them in double quotes such as "A string literal" 

2. Character literals are delimited by enclosing them in single quotes or apostrophes such as 'X'

 

Since the BASIC programming language uses double quotes for its own string literals and to PRINT a double quote requires two in a row, a clearer means of defining .NET strings within BASIC strings is available to use so TrueGUI commands may be easily distinguished within string variables or statements. Other languages may have similar constraints for strings and characters as well. 

The TrueGUI Interface defines public properties for these string and character delimiters which may be set to some other character to allow string and character literals to be easily defined within TrueGUI commands. We predefine the string delimiter character to the reverse apostrophe. The character delimiter is set to the standard apostrophe since this does not interfere with the BASIC programming syntax. 

 

It is important to define the difference between TrueGUI Translation mode and native .NET mode because they are both used in different places.

1. All commands coming from the application program running on the server will pass thru the TrueGUI translator and thus be in .NET native mode OR translated as above into .NET native mode. 

2. All commands entered manually into the TrueGUI debugger MUST be in .NET native mode 

3. All commands executed from within a TrueGUI script file MUST be in .NET native mode