I have not been able to compile a new ea. I get an error after the last line,
'\end_of_program' - unexpected square bracket>Exit code: 1' and cannot find an unmatched bracket anywhere! any suggestions? also what do the new default routines (OnInit(), On Deinit(), On Tick(), OnTester(),etc) need to have?
Empty4 compiler
-
jjasper7
- Trader
- Posts: 87
- Joined: Mon Mar 19, 2012 11:44 pm
- Location: Mesa,AZ (near Phoenix)
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Empty4 compiler
Yep. Latest version of CrapIDE is as uninformative as previous versions.jjasper7 » Thu Mar 20, 2014 9:58 pm wrote:I have not been able to compile a new ea. I get an error after the last line,
'\end_of_program' - unexpected square bracket>Exit code: 1' and cannot find an unmatched bracket anywhere! any suggestions? also what do the new default routines (OnInit(), On Deinit(), On Tick(), OnTester(),etc) need to have?
Somewhere in the previous 6000 lines of code, you missed out a bracket. Or added a bracket. Or stuck in a semi-colon where you should have placed a bracket.
Or breathed, or something. The fucking compiler will not tell you where you went wrong.
Earlier today, I spent half an hour hunting down an 'unbalanced right parenthesis'.
Was there buggery an 'unbalanced right parenthesis'. For sure, I could not spot it, and I am quite good at this stuff these days.
In the end, I commented out the code. Then I copy/pasted the stuff from within the comment - hey presto, no more 'unbalanced right parenthesis'.
My friend, if you want to retain your sanity when coding this rubbish, never write more than two lines of code without attempting a compilation.
Always map out a cod block before filling it. So, in an if (some conditional) for example, I always (and I mean always) type:
if (some condition)
{
}//if (some condition)
and do a recompile to make sure some buggering blasted unbalanced something or other in line 432 is not going to cause me a problem at the end of the program in 8943 lines time.
Hmm, not sure if I am helping here or merely foaming at the mouth. Let's just say: I feel you pain, buddy. Good luck in sorting out the mess this crap has landed you in.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
ovo.cz
Empty4 compiler
Lol, you even knew it was a bracket
I had it a bit harder:
I had it a bit harder:
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Empty4 compiler
Crapping hell. The bastards have excelled themselves even by their unique standards. That stuff could be written in Ancient Sanscript for all the sense it makes.
Wow.
And these silly sods want us to adopt CrapQl5? Couldn't direct any of them with a firing brain cell to this forum, could any of the readers here?
Ye Gods.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- milanese
- TechAdmin
- Posts: 3293
- Joined: Wed Jan 09, 2013 9:02 am
- Location: btr rdx, r8 +
Empty4 compiler
Global Prime is the official SHF broker 
Searching for Servers and Workstations with individual configuration?
Just PM
Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Searching for Servers and Workstations with individual configuration?
Just PM
NOTE: Cookies and JavaScript are required for the using the board, with full functionality