ENUM example{ Identifier_one, // Identifier One Identifier_two, // Identifier Two Identifier_Three // Identifier Three };
Use comments for the input dialog.
Thanks.
Note to both posters ...
Please always use the CODE button (Alt-S) when inserting code.
Fernando Carreiro #: Note to both posters ...
Please always use the CODE button (Alt-S) when inserting code.
:-)
Thx
Ashok Nale: The intention is to get the identifier show up in the drop-down list the way it is shown in the above list.
enum example{ ex_one, // Option one ex_two, // Option two ex_Three // Option three }; input example option = ex_one; input int i;// Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I am looking for defining ENUM data type with list of identifier using two separate words.
For example :
The intention is to get the identifier show up in the drop-down list the way it is shown in the above list.
The above ENUM example definition gives syntax error.
Is there any other way each identifier can be described in the list such that when access from the input parameter from EA properties it will show up as two separate words?
I would appreciate if someone could suggest on how to do it.
Thanks