Month and Year as changeable variables not working.
Forums › ProRealTime English forum › ProBuilder support › Month and Year as changeable variables not working.
- This topic has 8 replies, 4 voices, and was last updated 6 years ago by Vonasi.
-
-
01/06/2018 at 9:19 PM #57544
I have the following code in an indicator that I am working on:
123456StartMonth = 1StartYear = 1997IF OpenYear = StartYear and OpenMonth = StartMonth THENFlag = 1ENDIFand it works just fine – but if I // out the StartMonth and StartYear variables and set them as changeable integer variables then the code does not work. DrawText of them in the indicator shows 1 and 1,997 .
I’m a little baffled as to why it does not work. Any ideas?
Edit…….cancel that. Please ignore this post as it is the result of drinking beer while coding!
01/06/2018 at 10:30 PM #5754601/07/2018 at 1:22 AM #5755601/07/2018 at 9:15 AM #5756101/07/2018 at 10:08 AM #57565“it’s my round!!!”
Not something you hear very much at today’s beer prices.
Now when I was a student and beer was £1 a pint it was another matter. Afternoons at college were always much more fun after a lunchtime ‘quick one’…. or two or three. ‘Isn’t it your round?’ was said an awful lot back then. Now you are more likely to hear ‘ We’ll just get our own shall we?’ or ‘Should we just get a quick cafe latte?’
01/07/2018 at 11:18 AM #5757301/07/2018 at 12:06 PM #57575I prefer to … have warm-up drinks at your place and then hit the club direct with our feet dancing! I remember when a pint of beer was 1/10 … in old money … but I’m not sure how to even write it now! (1s – 10d??)
Despite your onset of dementia your avatar does you great credit for a man of your years. You must tell me what it was like during The Great War one day.
01/07/2018 at 2:11 PM #57596I am always delighted by (english) humor, but isn’t ProBuilder support a bit off topic for the Great War?
01/07/2018 at 2:42 PM #57605I am always delighted by (english) humor, but isn’t ProBuilder support a bit off topic for the Great War?
Sorry. My fault. I won’t drink and programme ever again. (that might not be completely actually factual).
Maybe ProRealCode needs another forum where we can all go to talk rubbish?
Subject closed…… I’m off to the pub.
-
AuthorPosts
Find exclusive trading pro-tools on