BASIC 256 - Language Documentation http://doc.basic256.org/ 2010-11-26T08:38:00-07:00 BASIC 256 - Language Documentation http://doc.basic256.org/ http://doc.basic256.org/lib/images/favicon.ico text/html 2010-11-10T20:59:37-07:00 admin start http://doc.basic256.org/doku.php?id=start&rev=1289447977&do=diff BASIC-256 Language Documentation Choose documentation language/Выберите документация язык/Wählen Sie Dokumentation Sprache/Choisissez la langue de documentation [BASIC 256 - Newton Ball] [en]English [ru]Русский [de]German [fr]French text/html 2010-10-29T05:03:47-07:00 renejm en:imgsave http://doc.basic256.org/doku.php?id=en:imgsave&rev=1288353827&do=diff ImgSave Format imgsave filename imgsave filename, type imgsave ( filename ) imgsave ( filename, type ) Description Save the current Graphics Output Window to an image file. By default the image is saved as a Portable Networks Graphics (PNG) file. You may optionally specify the image type as a “BMP”, “JPG”, “JPEG”, or “PNG”. text/html 2010-10-21T10:24:50-07:00 gaelle fr:dim http://doc.basic256.org/doku.php?id=fr:dim&rev=1287681890&do=diff Dim Format dim numericvariable ( integer ) dim stringvariable$ ( integer ) dim numericvariable ( rows , columns ) dim stringvariable$ ( rows , columns ) Description Retourne un nouveau tableau à 1 dimension de longueur integer ou à 2 dimensions qui peut être adressé par row et column. Selon l'assignation de la variable, un tableau numérique ou de chaînes de caractères est créé. Le premier élément d'un tableau a l'index 0 (zéro). Les index allant ainsi de 0 à {longueur}-1. text/html 2010-10-21T10:11:11-07:00 gaelle fr:degrees http://doc.basic256.org/doku.php?id=fr:degrees&rev=1287681071&do=diff Degrees Format degrees ( expression ) Description Convertis un angle en radians en degrés. Voir aussi Acos, Asin, Atan, Cos, Radians, Sin, Tan text/html 2010-10-21T10:09:42-07:00 gaelle fr:decimal http://doc.basic256.org/doku.php?id=fr:decimal&rev=1287680982&do=diff Decimal Format decimal ( expression ) decimal expression Description Définie le nombre maximal de décimales (0-16) à convertir quand un nombre à virgule flottante est transformé en chaîne de caractères. Cela ne change pas la précision interne des calculs numériques mais seulement la manière dont ils sont affichés ou enregistrés comme chaîne. Par défaut, 6 chiffres après la virgule seront affichés. text/html 2010-10-21T10:00:54-07:00 gaelle fr:dbopen http://doc.basic256.org/doku.php?id=fr:dbopen&rev=1287680454&do=diff DBOpen Format dbopen SQLiteFile dbopen ( SQLiteFile ) Description Ouvre un fichier de base de données SQLite. Si le fichier n'existe pas, il est créé. Exemple #database foo - crée une base de données, peuple une table, ouvre un enregistrement et lit les données de la table. # crée un nouveau fichier de base de données ou l'ouvre dbopen "dbtest.sqlite3" # efface l'ancienne foo table - renvoie une erreur si c'est une nouvelle base de données onerror errortrap dbexecute "drop table foo;" … text/html 2010-10-17T14:21:51-07:00 renejm en:imgload http://doc.basic256.org/doku.php?id=en:imgload&rev=1287350511&do=diff Imgload Format imgload x, y, filename imgload x, y, scale, filename imgload x, y, scale, rotation, filename Description Load an image or picture from a file and paint it on the Graphics Output Window. The parameters x and y represent the location on the screen for the CENTER of the loaded image. This behaviour is different than all of the other graphics statements. The axis of rotation will also be this CENTER point.\\The Imgload starement will read in most common image file formats inc… text/html 2010-10-17T14:13:56-07:00 renejm en:start http://doc.basic256.org/doku.php?id=en:start&rev=1287350036&do=diff BASIC-256 Syntax Reference 0.9.6.45 * Program Syntax * Numeric Constants * String Constants * Variables * Arrays * Anonymous Arrays * Operators * Error Codes Statements and Functions - Alphabetic * Abs, Acos, Asc, Asin, Atan * Ceil, Changedir, Chr, Circle, Clickb, Clickclear, Clickx, Clicky, Clg, Close, Cls, Color, Cos, Currentdir * Day, DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBOpen, DBOpenSet, DBRow, DBString, Decimal, Degrees, Dim, Do / Until * End, Eof, … text/html 2010-09-26T22:31:15-07:00 morozko77 ru:ceil http://doc.basic256.org/doku.php?id=ru:ceil&rev=1285565475&do=diff Ceil Формат ceil ( выражение ) Описание Возвращает наибольшее целое число, которое больше или равно выражению Смотри также Floor Пример print ceil(9.1) print ceil(-5.4)