Notifications
Clear all

New Member

25 Posts
5 Users
16 Likes
1,496 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7021
 

@rallard No problem, at one time we were all novices. When you get a compile error, scroll back the error log to the first error message and fix that. Often but not always the error msg will tell you what is wrong. In this case I was seeing error msgs that I have never seen before but by simply looking at the line (line # is in the error msg) I could see the problem. I have attached a picture of the first error. Notice that it points ^ to the 'thing' that is wrong, in this case the = assignment operator that should be the equality operator ==. BTW, a very common newbie error.

Did you manually copy the code, because it looks like in the case of the {} being [] that you are entering the code. Why not just use copy/paste to get the code and then do whatever you were planning on doing with it.

Screen Shot 2022 02 22 at 17.20.10

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
Inst-Tech reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7021
 

@rallard It has nothing to do with the version of windows.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7021
 

@rallard Some error msgs can be very cryptic, but most are obvious. If you can't see the problem, look for another line of code similar to the one with an error and compare to see if you can spot the difference. It also might be helpful for learning to use ARDUINO IDE 2.0 or PlatformIO as they will highlight many errors before the compile step.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
Inst-Tech reacted
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2535
 
Posted by: @zander

Notice that it points ^ to the 'thing' that is wrong, in this case the = assignment operator that should be the equality operator ==. BTW, a very common newbie error.

Did you manually copy the code, because it looks like in the case of the {} being [] that you are entering the code. Why not just use copy/paste to get the code and then do whatever you were planning on doing with it.

Screen Shot 2022 02 22 at 17.20.10

 

I don't think that's supposed to be the equality symbol, more likely <= since it's a loop conditional. It wouldn't make sense as: for i starting at zero while i is equal to 256 ...

Anything seems possible when you don't know what you're talking about.


   
Inst-Tech reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7021
 

@will OMG, yes of course. The common error as I am sure you know is to mixup the = and ==. I failed to take the context into account. Hey, I been at this 63 years, the brain is leaking good data now, nowhere left to put it all. LOL BUT it does compile!!!

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
Inst-Tech reacted
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2535
 

@zander 

Bad programmer ... NO BISCUIT :))

Anything seems possible when you don't know what you're talking about.


   
Inst-Tech reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7021
 

@will BTW, since this will take a while based on what we are seeing so far, how do we get the thread moved to a 'Help Wanted' section?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
Inst-Tech reacted
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2535
 

@zander 

Probably just start a new thread on that forum and leave a last post here with a link to the new thread.

Anything seems possible when you don't know what you're talking about.


   
Inst-Tech reacted
ReplyQuote
(@rallard)
Member
Joined: 4 years ago
Posts: 14
Topic starter  

@zander Hi Ron,

I would like to thank you for all your help. I have tried a few new projects using your advice and they worked out great! Thank you very much and thanks for working on what was going on with my compilier.


   
Inst-Tech reacted
ReplyQuote
(@rallard)
Member
Joined: 4 years ago
Posts: 14
Topic starter  

@zander Hi Ron.,

I was able to get that program running with your help. I would like to thank you for

all your help.


   
ReplyQuote
Page 2 / 2