> 2011/7/29 Kevin Fishburne <kevinfishbu...@eightvirtues.com>: > > 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! -- Benoît Minisini ------------------------------------------------------------------------------ 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 Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user