The colors in the Wealth-Lab code
Author: joannakim
Creation Date: 9/28/2010 3:52 PM
profile picture

joannakim

#1
Hi. I am not sure whether I am posting this question in the right area, but here it is: I am trying to learn to code my custom strategies ( good luck, right?) And I noticed that there were different color script: Burgundy, black, green, etc. Could you please tell me what each color denotes? Thanks.

Joanna
profile picture

Eugene

#2
Sure, MSDN is the right place to look .NET specific things:

Colors by Name
profile picture

joannakim

#3
I don't think you understood my question correctly which is a really basic one. Under the "Editor" tab of a WLP strategy window, there is the code for the strategy. And the code comprised 4 different colored text: Burgundy, blue, black, red and green, and I believe green is the "comments" that are not part of programming commands. What do each of the colors denote?

Joanna
profile picture

joannakim

#4
I meant to say that there were 5 different colors rather than 4.

J
profile picture

Eugene

#5
The colors denote the different parts of the language synthax. While in the Editor, click Options, Font & Colors.
profile picture

joannakim

#6
Under Options, Colors and Fonts under the Editor tab, it says that the color blue is for directives. What are "directives?"

Joanna
profile picture

Eugene

#7
For example, the using Directive at the top. There are others such as conditional compilation directives (more advanced stuff).
profile picture

joannakim

#8
My question was: What do "directives" mean? For example, do "directives" ask or command the program to do certain things? What do they do?

Joanna
profile picture

Eugene

#9
My answer would be: please get a C# 101 book or tutorial. For example:

How do I start with C# ?
profile picture

joannakim

#10
The link above:" Hoe do I ...." does not click into anything either. Thanks.

J
profile picture

Eugene

#11
Two suggestions: Always double-check from some other browser. Fix your browser issues.
profile picture

joannakim

#12
How would I fix my browser issues, any suggestions?
profile picture

Eugene

#13
As this is the Wealth-Lab forum, we only support Wealth-Lab products.
profile picture

Cone

#14
When you click the link, it opens in another browser tab. If you're using Internet Explorer, for example, that might not be obvious since the focus doesn't switch to the new tab.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).