Errors, bugs, questions - page 789

 
Zeleniy:

After closing the site today, a message icon is missing from some pages of the site


Does Ctrl + F5 help?
 
tol64:
Does Ctrl + F5 help?
Yes, why does it?
 
Zeleniy:
Yeah, why is that?
Old scripts are cached by the browser. Ctrl+F5 allows you to re-request all scripts.
 
Renat:

But there is something huge, isn't there?

For example, include a local copy of a class which just has a ton of static arrays in its members. That's usually where the deposits of local stack consumers are hiding.

Divide up functions, stack into classes.

Inliner probably has nothing to do with it - it doesn't insert too big chunks of code. Especially if they have heavy/lots of local variables.

Fulfilled my request in the SD - everything works now. Thanks
 
notused:
Fulfilled my request to the SD - everything works now. Thank you
You tell me what happened first. In good detectives, they tell you the name of the culprit at the end.
 
MetaDriver:
You tell me what happened first. In good detectives, they tell you the name of the culprit at the end.
Looks like something about an inline of big features.
 
MetaDriver:
You tell us what happened first. In good detectives, the name of the culprit is given at the end.
The code is the same, but the errors are gone + ex5 is reduced to its previous size.
sergeev:
Looks like something about an inline of big functions.
It's probably true, but it's not clear which function is "big".
 


Help with the code

CSymbolInfo m_smbinf;
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
  m_smbinf.Name(_Symbol);
  m_smbinf.Refresh();
  Print("Bid :",m_smbinf.Bid()," Ask :",m_smbinf.Ask());
//---
   
  }

//+------------------------------------------------------------------+

2012.08.01 05:14:16	Proverka (EURUSD,H1)	Bid :0.0 Ask :0.0

 
beginner:

Help me figure out the code

I don't remember exactly, but I should have added

m_smbinf.Refresh();

or something similar. Anyway, I've come across it myself.

 

Added it, doesn't help.

2012.08.01 05:58:57     Proverka (EURUSD,H1)    Bid :0.0 Ask :0.0

What's interesting is that not so long ago everything was working in the EA.