Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the structure of the settings file. And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how to save a value. So, the syntax is Settings["High_Score/xxx"] = HighScore. Regards, Matti
Am 27.07.2014 05:02, schrieb Shane: > I'm getting file already exists error when trying to run this code > Settings["High_Score"] = HighScore > am i doing this the right way? also this is a sdl program. > > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.8.0-35-generic > Architecture=x86_64 > Distribution=Linux Mint 15 Olivia > Desktop=GNOME > Theme=QGtk > Language=en_AU.UTF-8 > Memory=3808M > [Libraries] > Cairo=libcairo.so.2.11200.14 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.2 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.6.0 > GTK+3=libgtk-3.so.0.600.4 > GTK+=libgtk-x11-2.0.so.0.2400.17 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.28.0.0 > Qt4=libQtCore.so.4.8.4 > SDL=libSDL-1.2.so.0.11.4 > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
