extern and int difference

Franzel Botha  
Small question.
I have this EA that has external input following as  focusing on the pipcount in the mt4 settings.
extern double  PipCount    = 20;

If I need the pipcount  not to  be able to be edited in the mt4 terminal setting I should use the following?

int PipCount    = 30;

or do I use the following?

double  PipCount    = 30;
Franzel Botha  
whroeder1:
drop the extern. Perhaps you should read the manual.

i kinda figured that.
Thanx for the input.
I am no developer. I am only trying to edit my own EA.

Franzel Botha  
Anthony Garot:

@whroeder1 already answered your question about extern.

As for int vs. double:

I typically use double for pips and int for points. Depending upon your currency pair, a portion of a pip is meaningful, ergo double.

thnx. makes sense.

abdi65  

in mql5 extern doesn't work correctly. 

extern int XT = 10;

 Not displayed in the output window.

pls help.

Vladimir Karputov  
abdi65 :

in mql5 extern doesn't work correctly. 

extern int XT = 10;

 Not displayed in the output window.

pls help.

Use 'input'. Forget about ' extern'.