2011/7/29 Benoît Minisini <[email protected]>: >> 2011/7/29 Kevin Fishburne <[email protected]>: >> > Caveat was kind enough to provide me with a link to the OpenGL examples. >> > I went through them all and converted them to gb3, cleaned up the code >> > and corrected some bugs. They all work now in gb3 except for one, which >> > I deleted. You can find them here: >> > >> > http://www.eightvirtues.com/misc/gb3_opengl_examples.tar.gz >> >> Very nice Kevin, and so useful of course. >> >> I found that the project 19_ParticleEngine give an error: >> >> 88- colors[p - 1, i] = Val(rgb) >> >> I replace that line with: >> >> colors[p - 1, i] = Val(Replace(rgb, ".", ",")) >> >> because decimal sign in my system is "," > > No, you must write: > > colors[p - 1, i] = CFloat(Trim(rgb)) > > You cannot decide the localization of the system where a program runs! >
Of course, you are right. I just took the first idea came to my mind, so that I could execute the example. -- Fabián Flores Vadell www.comoprogramarcongambas.blogspot.com www.speedbooksargentina.blogspot.com ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
