Kommentar: Einfügen von HTML im Kommentar: Link einfügen: <a href="LINKURL" target="_blank">LINKTITEL</a> Bild einfügen: <img src="BILDURL"> Text formatieren: <b>fetter Text</b> <i>kursiver Text</i> <u>unterstrichener Text</u> Kombinationen sind auch möglich z.B.: <b><i>fetter & kursiver Text</i></b> C Quellcode formatieren: <code>Quellcode</code> BASIC Quellcode formatieren: <basic>Quellcode</basic> (Innerhalb eines Quellcodeabschnitts ist kein html möglich.) Wichtig: Bitte mache Zeilenumbrüche, bevor Du am rechten Rand des Eingabefeldes ankommst ! -> I > > > > > Hi Peter, > > > > > > > > > > I noticed you swapped the values of the port definitions PORT_ON and PORT_OFF > > > > > in IntFunc_Lib.cc. That can have huge consequences for existing programs. I did not > > > > > see any warnings for this change; did I overlook something? > > > > > > > > I checked it, I made the correction internally mid 2011. The old definition was > > > > definitely wrong. But you maybe right, perhaps some people used PORT_ON, PORT_OFF > > > > the wrong way, and now programs may fail. I will add a warning. > > > > > > I have put a new build 2.31.0.89 with some added warnings online. > > > > > > > > > > > Regards, > > > > > > > > Peter > > > > > > > > > > > > > > Regards, > > > > > Pepe > > > > > > > > Hi Peter, > > > > It is good that you added the warnings. I hope it is enough because the new > > definitions of PORT_ON and PORT_OFF will be an issue for all Pro-Bot 128 users. > > The library PRO-BOT128_Lib.cbas makes extensive use of PORT_ON and > > PORT_OFF. > > The old definitions PORT_ON 0 and PORT_OFF 1 where not illogical for > > Pro-Bot 128 users because the circuit design is such that a value of 1 at a port > > causes a led to switch off and vice versa. I think Pro-Bot 128 users are often > > beginners so many will not understand what is happening when the run their > > programs from the new IDE. I would therefore like to issue this > > > > <b>WARNING FOR ALL PRO-BOT 128 USERS</b>: to work with this new > > IDE 2.31, the library PRO-BOT128_Lib.cbas should be adapted. All occurences of > > PORT_ON should be replaced by PORT_OFF and all occurences of PORT_OFF > > should be replaced PORT_ON. > > > > Regards, > > Pepe > > Hello Pepe, > > I will talk to the author of the ProBot Library on Monday. There will > be an update soon. > > Best Regards, > > Peter