0% found this document useful (0 votes)
56 views

Ring Programming Language Book - Part 82 of 84

This document provides documentation on Ring, an open source programming language. It covers topics such as: - Creating windows and GUI applications using libraries like RingLibSDL and RingQt - Working with dates, times, and other data types - Distributing Ring applications for Windows, mobile, and distributing source code - Using declarative programming principles and object-oriented programming in Ring - Drawing graphics, text, and images using libraries like RingLibSDL
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views

Ring Programming Language Book - Part 82 of 84

This document provides documentation on Ring, an open source programming language. It covers topics such as: - Creating windows and GUI applications using libraries like RingLibSDL and RingQt - Working with dates, times, and other data types - Distributing Ring applications for Windows, mobile, and distributing source code - Using declarative programming principles and object-oriented programming in Ring - Drawing graphics, text, and images using libraries like RingLibSDL
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Ring Documentation, Release 1.

Create Window Date and Time


RingLibSDL, 323 AddDays(), 105
Creating a Class for each Window in GUI applications clock(), 103
Scope Rules, 500 ClosPerSecond(), 103
Creating Menubar Date(), 103
Desktop and Mobile Development, 393 DiffDays(), 105
Creating more than one window Introduction, 102
Desktop and Mobile Development, 431 Time(), 103
Creating StatusBar TimeList(), 104
Desktop and Mobile Development, 397 Date()
Creating the Game Window Date and Time, 103
Game Engine for 2D Games, 334 DateTime Class
Creating Toolbar Stdlib Classes, 227
Desktop and Mobile Development, 396 dayofweek()
Creating Windows Installer Stdlib Functions, 212
Distributing Ring Application, 520 Debug Class
CRUD Example using MVC Stdlib Classes, 231
Web Development (CGI Library), 288 Dec()
CurrentDir() Function Data Type, 112
System Functions, 132 Decimals()
Mathematical Functions, 117
Data Type Declarative Programming
Ascii(), 112 Declarative programming on the top of Object-
Char(), 112 Oriented, 242
Check Character, 107 executing code after the end of object access, 242
Check Data Type, 106 Introduction, 238
Conversion, 111 More Beatiful Code, 243
Dec(), 112 Objects inside lists, 239
Hex(), 112 Return object by reference, 240
Hex2str(), 113 Declarative programming on the top of Object-Oriented
Introduction, 105 Declarative Programming, 242
IsAlNum(), 108 Declare parameters
IsAlpha(), 108 Functions, 85
IsCntrl(), 108 Decrypt()
IsDigit(), 109 Security and Internet Functions, 164
IsGraph(), 109 Deep Copy
IsList(), 107 Variables, 62
IsLower(), 109 Define Declarative Languages
IsNULL(), 107 Language Design, 21
IsNumber(), 106 Define Functions
IsPrint(), 109 Functions, 84
IsPunct(), 110 Define Natural Statements
IsSpace(), 110 Language Design, 19
IsString(), 106 Defining Constants
IsUpper(), 110 Code Generator, 563
IsXdigit(), 110 Defining Variables and Variables Access
Number(), 111 Scope Rules, 492
Str2Hex(), 113 Delete Item From List
String(), 111 Lists, 90
Type(), 107 Demo Programs
Database, ModelBase & ControllerBase classes Introduction, 136
Web Development (CGI Library), 296 Language Shell, 137
DataType Class Main Menu, 137
Stdlib Classes, 232 The Cards Game, 471

Index 790
Ring Documentation, Release 1.2

Designed for a clear goal Using QWebView, 409


Language Design, 14 Using the QColorDialog Class, 432
Desktop and Mobile Development Using the QFileDialog Class, 427
Adding Hyperlink to QLabel, 413 Using the QListWidget Class, 387
Change Focus, 447 Using the QTextEdit Class, 386
Classes and their Methods to use the default events, Using the QTimer Class, 424
477 Weight History Application, 452
Creating Menubar, 393 Determine Structure Members Types
Creating more than one window, 431 Code Generator, 563
Creating StatusBar, 397 DiffDays()
Creating Toolbar, 396 Date and Time, 105
Display Image using QLabel, 417 Dir()
Display Scaled Image using QLabel, 426 Files, 120
Drawing using QPainter, 428 direxists()
Dynamic Objects, 451 Stdlib Functions, 214
Inheritance from GUI Classes, 443 Display Error Message
KeyPress and Mouse Move Events, 438 Extension, 550
Menubar and StyleSheet Example, 418 Display Image
Methods to use Events with Events Filter, 480 RingLibSDL, 323
Movable Label Example, 434 Display Image using QLabel
Moving Objects using the Mouse, 439 Desktop and Mobile Development, 417
Notepad Application, 456 Display PNG Images
Other Widgets Events, 422 RingLibSDL, 324
Playing Sound, 432 Display Scaled Image using QLabel
Printing using QPrinter, 430 Desktop and Mobile Development, 426
QLineEdit Events and QMessageBox, 420 Display Transparent Images
QMessagebox Example, 435 RingLibSDL, 325
QVideoWidget and QMediaPlayer, 414 Display Warnings Option
Regular Expressions, 448 What is new in Ring 1.2?, 27
RingQt Classes and their Qt Documentation, 482 Distributing Applications and Games for Mobile
Rotate Text, 445 Distributing Ring Application, 521
Simple Client and Server Example, 449 Distributing Applications for Microsoft Windows
The Cards Game, 471 Distributing Ring Application, 520
The Difference between Qt and RingQt, 481 Distributing Ring Application
The First GUI Application, 383 Creating Windows Installer, 520
Using Layout, 384 Distributing Applications and Games for Mobile,
Using QCheckBox, 410 521
Using QComboBox Class, 392 Distributing Applications for Microsoft Windows,
Using QDateEdit, 405 520
Using QDesktopWidget Class, 444 Introduction, 519
Using QDial, 406 Protecting the Source Code, 520
Using QDockWidget, 398 Using C/C++ Compiler and Linker, 521
Using QFrame, 415 Do Again Loop
Using QInputDialog Class, 436 Control Structures - First Style, 70
Using qLCDNumber, 433 Documentation
Using QProgressBar, 402 How to contribute?, 42
Using QProgressBar and Timer, 425 Download Requirements
Using QRadioButton and QButtonGroup, 411 Building RingQt Applications for Mobile, 483
Using QSlider, 403 Download Requirements and Update the Android SDK
Using QSpinBox, 403 Building Games For Android, 380
Using QTableWidget, 401 Download()
Using QTabWidget, 399 Security and Internet Functions, 166
Using QTreeView and QFileSystemModel, 390 Draw Rectangle
Using QTreeWidget and QTreeWidgetItem, 391 RingLibSDL, 324

Index 791
Ring Documentation, Release 1.2

Drawing Text ODBC Functions, 145


Game Engine for 2D Games, 335 executing code after the end of object access
Drawing using QPainter Declarative Programming, 242
Desktop and Mobile Development, 428 Executing code during code generation
Drawing, Animation and Input Code Generator, 564
Graphics and Game Programming, 310 ExeFileName() Function
Dynamic Attributes System Functions, 133
Object Oriented Programming, 174 ExeFolder() Function
Dynamic Objects System Functions, 133
Desktop and Mobile Development, 451 Exit
Dynamic Typing Control Structures - First Style, 70
Variables, 62 Exit from two loops
Control Structures - First Style, 70
Editors Support Exit/Loop inside sub functions
How to contribute?, 43 Control Structures - First Style, 71
Embedding Ring Language in C/C++ Programs Extension
Introduction, 556 Check Parameters Count, 549
Ring State, 557 Check Parameters Type, 550
Ring State Functions, 557 Display Error Message, 550
Ring State Variables, 558 Fopen() and Fclose() Implementation, 551
Encourage Organization Function Prototype, 551
Language Design, 16 Function Structure, 549
Encrypt() Get Parameters Values, 550
Security and Internet Functions, 164 Introduction, 546
endswith() Module Organization, 548
Stdlib Functions, 208 MySQL_Columns() Implementation, 554
Enum and Numbers Return Value, 550
Code Generator, 564 RING API - list Functions, 552
Equality of functions RING API - String Functions, 554
Functional Programming, 183 ring_ext.c, 547
Eval() ring_ext.h, 547
Eval() and Debugging, 134 Shared Libraries, 555
Eval() and Debugging Sin() Implementation, 551
Assert(), 136 Extensions in C/C++
Eval(), 134 How to contribute?, 43
Introduction, 133
Raise(), 135 Facebook Login
Try/Carch/Done, 134 RingLibCurl, 307
evenorodd() factorial()
Stdlib Functions, 209 Stdlib Functions, 206
Example factors()
Files, 126 Stdlib Functions, 210
Mathematical Functions, 114 Fclose()
Natural Language Programming, 245 Files, 121
Objects Library for RingQt Application, 486 Features
Security and Internet Functions, 165 Introduction, 10
System Functions, 130 Feof()
Example about Sharing Names between Functions and Files, 124
Methods Ferror()
Scope Rules for Functions and Methods, 507 Files, 124
Exceptions FetchStockData Application
Control Structures - Second Style, 76 Applications developed in little hours, 2
Control Structures - Third Style, 80 Fexists()
Execute Query and Print Result Files, 126

Index 792
Ring Documentation, Release 1.2

Fflush() Strings, 100


Files, 122 Find() and List of Objects
Fgetc() Object Oriented Programming, 175
Files, 125 First-Class Functions
Fgetpos() Functional Programming, 181
Files, 124 First-Class Lists
Fgets() Lists, 94
Files, 125 Flappy Bird 3000 Game
fibonacci() Game Engine for 2D Games, 361
Stdlib Functions, 206 Fopen()
Fifteen Puzzle Game Files, 121
Applications developed in little hours, 3 Fopen() and Fclose() Implementation
File Class Extension, 551
Stdlib Classes, 229 For In Loop
File Hash Control Structures - First Style, 69
Security and Internet Functions, 165 Control Structures - Second Style, 76
file2list() Control Structures - Third Style, 80
Stdlib Functions, 207 for in to modify lists
Files Control Structures - First Style, 69
Clearerr(), 124 For Loop
Dir(), 120 Control Structures - First Style, 68
Example, 126 Control Structures - Second Style, 75
Fclose(), 121 Control Structures - Third Style, 79
Feof(), 124 Fputc()
Ferror(), 124 Files, 125
Fexists(), 126 Fputs()
Fflush(), 122 Files, 125
Fgetc(), 125 Fread()
Fgetpos(), 124 Files, 126
Fgets(), 125 Freopen()
Fopen(), 121 Files, 122
Fputc(), 125 Frequently Asked Questions
Fputs(), 125 Can I connect to dbase/harbour database?, 766
Fread(), 126 Can Ring work on Windows XP?, 768
Freopen(), 122 Conflict between Global Variables and Class At-
Fseek(), 123 tributes, 754
Fsetpos(), 124 Constructor methods in Ring, 750
Ftell(), 123 Could you explain the output of the StrCmp() func-
Fwrite(), 126 tion?, 757
Introduction, 118 Getter and Setter Methods, 752
Perror(), 124 Goal of including the Main function in Ring, 749
Read File using Read(), 120 How can I disable maximize button and resize win-
Remove(), 121 dow?, 764
Rename(), 121 How to add Combobox and other elements to the
Rewind(), 123 cells of a QTableWidget?, 771
Tempfile(), 123 How to Close a window then displaying another
Tempname(), 123 one?, 763
Ungetc(), 125 How to create a Modal Window?, 763
Write file using Write(), 120 How to create an array of buttons in GUI applica-
filter() tions?, 762
Stdlib Functions, 204 How to extend RingQt and add more classes?, 768
Filtering using Expressions How to get the current source file path?, 755
Code Generator, 564 How to get the file size using ftell() and fseek() func-
Find SubString tions?, 755

Index 793
Ring Documentation, Release 1.2

How to insert an item to the first position in the list?, Why this example use the GetChar() twice?, 758
760 Why we dont use () after the qApp class name?, 761
How to perform some manipulations on selected Why you can specify the number of loops you want
cells in QTableWidget?, 771 to break out of?, 747
How to print keys or values only in List/Dictionary?, Fseek()
756 Files, 123
How to print lists that contains objects?, 760 Fsetpos()
How to print new lines and other characters?, 761 Files, 124
How to use many source code files in the project?, Ftell()
757 Files, 123
How to use NULL and ISNULL() function?, 759 Function Prototype
How to use SQLite using ODBC?, 765 Extension, 551
Introduction, 741 function prototype
Is Ring some sort of improvement over PHP?, 744 Code Generator, 560
List index start from 1, 750 Function Structure
Philosophy behind data types in Ring, 747 Extension, 549
Search of global names while defining the class at- Functional Programming
tributes, 753 Anonymous and Nested Functions, 182
The documentation says functional programming is Equality of functions, 183
supported, but then this happens?, 746 First-Class Functions, 181
What about predefined parameters or optional pa- Higher-order Functions, 181
rameters in functions?, 755 Introduction, 179
What about the Boolean values in Ring?, 748 Pure Functions, 180
What are the advantages to using Ring over C# or Functions
Java?, 746 Call Functions, 84
What are the advantages to using Ring over Lisp or Declare parameters, 85
Smalltalk?, 743 Define Functions, 84
What are the advantages to using Ring over native C Introduction, 83
or C++?, 744 Main Function, 85
What are the advantages to using Ring over Python Recursion, 87
and Ruby?, 745 Return Value, 86
What are the advantages to using Ring over Tcl and Send Parameters, 85
Lua?, 746 Variables Scope, 86
What happens when we create a new object?, 751 functions()
What is the difference between Ring and Python? Reflection and Meta-programming, 186
And is Ring Open Source?, 744 Fwrite()
Where can I write a program and execute it?, 754 Files, 126
Why do we need Yet Another Programming Lan-
guage (YAPL)?, 742 Game Class
Why I get a strange result when printing nl with Game Engine for 2D Games, 332
lists?, 756 Game Engine Classes
Why I get Calling Function without definition Er- Game Engine for 2D Games, 331
ror?, 767 Game Engine for 2D Games
Why Ring is largely focussed on UI creation?, 744 Animate Class, 334
Why Ring is weakly typed?, 743 Animate Events, 345
Why Ring uses See, Give, But and Ok Key- Animation, 339
words?, 747 Animation and Functions, 340
Why setClickEvent() doesnt see the object methods Creating the Game Window, 334
directly?, 767 Drawing Text, 335
Why the ability to define your own languages Instead Flappy Bird 3000 Game, 361
of just handing over the syntax so you can parse Game Class, 332
it using whatever code you like?, 747 Game Engine Classes, 331
Why the window title bar is going outside the GameObject Class, 332
screen?, 761 Games Layer, 331

Index 794
Ring Documentation, Release 1.2

Graphics Library Bindings, 330 getnumber()


Interface to graphics library, 330 Stdlib Functions, 202
Introduction, 329 getstring()
Map, 347 Stdlib Functions, 202
Map Class, 334 Getter and Setter Methods
Map Events, 348 Frequently Asked Questions, 752
Moving Text, 336 Getting Input
Object and Drawing, 350 GetChar(), 82
Playing Sound, 338 Getting Started - First Style, 45
Project Layers, 330 Getting Started - Second Style, 47
Sound Class, 334 Getting Started - Third Style, 49
Sprite Automatic Movement, 341 Give Command, 82
Sprite Class, 333 Input(), 83
Sprite Keypress Event, 342 Introduction, 81
Sprite Mouse Event, 343 Getting Started - First Style
Sprite State Event, 344 Getting Input, 45
Stars Fighter Game, 353 Hello World, 44
Super Man 2016 Game, 368 Introduction, 43
Text Class, 333 Multi-Line literals, 44
What is new in Ring 1.1?, 35 No Explicit End For Statements, 45
GameObject Class Not Case-Sensitive, 44
Game Engine for 2D Games, 332 Run the program, 44
Games Layer Writing Comments, 45
Game Engine for 2D Games, 331 Getting Started - Second Style
gcd() Getting Input, 47
Stdlib Functions, 208 Hello World, 46
Generate Object File Introduction, 45
Command Line Options, 536 Multi-Line literals, 46
Generate/Execute Ring Object Files (*.ringo) No Explicit End For Statements, 47
What is new in Ring 1.1?, 30 Not Case-Sensitive, 46
Generating Pages using Objects Run the program, 46
Web Development (CGI Library), 279 Writing Comments, 47
Get Active Source File Name Getting Started - Third Style
System Functions, 132 Getting Input, 49
Get Command Line Arguments Hello World, 48
System Functions, 131 Introduction, 47
Get List Item Multi-Line literals, 48
Lists, 90 No Explicit End For Statements, 49
Get List Size Not Case-Sensitive, 48
Lists, 90 Run the program, 48
Get Number of Characters from position Writing Comments, 49
Strings, 100 Give Command
Get Parameters Values Getting Input, 82
Extension, 550 globals()
Get Request Reflection and Meta-programming, 185
RingLibCurl, 307 Goal of including the Main function in Ring
Get String Length Frequently Asked Questions, 749
Strings, 97 Gradient
Get Substring from position to end Web Development (CGI Library), 278
Strings, 100 Graphics and Game Programming
getattribute() Drawing, Animation and Input, 310
Reflection and Meta-programming, 198 Introduction, 309
GetChar() Playing Sound, 317
Getting Input, 82 Scaling and Rotating Images, 318

Index 795
Ring Documentation, Release 1.2

Threads, 320 How to get the current source file path?


Transparent Image, 319 Frequently Asked Questions, 755
TrueType Fonts, 316 How to get the file size using ftell() and fseek() functions?
Graphics Library Bindings Frequently Asked Questions, 755
Game Engine for 2D Games, 330 How to insert an item to the first position in the list?
Frequently Asked Questions, 760
Hash Functions How to perform some manipulations on selected cells in
Web Development (CGI Library), 273 QTableWidget?
HashTable Class Frequently Asked Questions, 771
Stdlib Classes, 222 How to print keys or values only in List/Dictionary?
Hello World Frequently Asked Questions, 756
Getting Started - First Style, 44 How to print lists that contains objects?
Getting Started - Second Style, 46 Frequently Asked Questions, 760
Getting Started - Third Style, 48 How to print new lines and other characters?
Hello World Program using the Web Library Frequently Asked Questions, 761
Web Development (CGI Library), 256 How to use many source code files in the project?
Hex() Frequently Asked Questions, 757
Data Type, 112 How to use NULL and ISNULL() function?
Hex2str() Frequently Asked Questions, 759
Data Type, 113 How to use SQLite using ODBC?
Higher-order Functions Frequently Asked Questions, 765
Functional Programming, 181 HTML Lists
History Web Development (CGI Library), 276
Introduction, 10 HTML Special Characters
Natural Language Programming, 245 Web Development (CGI Library), 272
How can I disable maximize button and resize window? HTML Tables
Frequently Asked Questions, 764 Web Development (CGI Library), 277
How Ring find a functions and methods? HTTP Get Example
Scope Rules for Functions and Methods, 507 Web Development (CGI Library), 257
How Ring find the Variable? HTTP POST Example
Scope Rules, 493 Web Development (CGI Library), 262
How to add Combobox and other elements to the cells of
a QTableWidget? Ideas and suggestions
Frequently Asked Questions, 771 How to contribute?, 43
How to Close a window then displaying another one? If Statement
Frequently Asked Questions, 763 Control Structures - Second Style, 74
How to contribute? Control Structures - Third Style, 77
Applications, 43 Inheritance
Compiler and Virtual Machine (VM), 43 Object Oriented Programming, 173
Documentation, 42 Inheritance from GUI Classes
Editors Support, 43 Desktop and Mobile Development, 443
Extensions in C/C++, 43 Input()
Ideas and suggestions, 43 Getting Input, 83
Introduction, 41 Insert()
Libraries in Ring, 43 Lists, 93
Samples, 42 Install Qt for Android
Special thanks to contributors, 42 Building RingQt Applications for Mobile, 483
Testing, 42 Interface to graphics library
How to create a Modal Window? Game Engine for 2D Games, 330
Frequently Asked Questions, 763 Internet Class
How to create an array of buttons in GUI applications? Stdlib Classes, 238
Frequently Asked Questions, 762 Introduction
How to extend RingQt and add more classes? Features, 10
Frequently Asked Questions, 768 History, 10

Index 796
Ring Documentation, Release 1.2

Introduction, 8 ispackagesclass()
Motivation, 9 Reflection and Meta-programming, 192
Is Ring some sort of improvement over PHP? isprime()
Frequently Asked Questions, 744 Stdlib Functions, 206
IsAlNum() IsPrint()
Data Type, 108 Data Type, 109
IsAlpha() isprivateattribute()
Data Type, 108 Reflection and Meta-programming, 194
IsAndroid() Function isprivatemethod()
System Functions, 130 Reflection and Meta-programming, 195
isattribute() IsPunct()
Reflection and Meta-programming, 194 Data Type, 110
iscfunction() IsSpace()
Reflection and Meta-programming, 188 Data Type, 110
isclass() isspecial()
Reflection and Meta-programming, 190 Stdlib Functions, 205
IsCntrl() IsString()
Data Type, 108 Data Type, 106
IsDigit() IsUnix() Function
Data Type, 109 System Functions, 129
IsFreeBSD() Function IsUpper()
System Functions, 130 Data Type, 110
isfunction() isvowel()
Reflection and Meta-programming, 188 Stdlib Functions, 205
isglobal() IsWindows() Function
Reflection and Meta-programming, 187 System Functions, 129
IsGraph() IsWindows64() Function
Data Type, 109 System Functions, 129
isleapyear() IsXdigit()
Stdlib Functions, 210 Data Type, 110
IsLinux() Function
System Functions, 130 KeyPress and Mouse Move Events
IsList() Desktop and Mobile Development, 438
Data Type, 107
islocal() Language Design
Reflection and Meta-programming, 187 Compact Syntax, 18
IsLower() Define Declarative Languages, 21
Data Type, 109 Define Natural Statements, 19
IsMacOSX() Function Designed for a clear goal, 14
System Functions, 129 Encourage Organization, 16
ismainsourcefile() Introduction, 13
Stdlib Functions, 214 Simple, 14
ismethod() Smart Garbage Collector, 22
Reflection and Meta-programming, 195 Transparent Implementation, 16
IsMSDOS() Function Trying to be natural, 15
System Functions, 129 Visual Implementation, 17
IsNULL() Why Ring?, 14
Data Type, 107 Language Functions
IsNumber() Reference, 774
Data Type, 106 Language Grammar
isobject() Reference, 777
Reflection and Meta-programming, 193 Language Keywords
ispackage() Reference, 773
Reflection and Meta-programming, 189 Language Shell

Index 797
Ring Documentation, Release 1.2

Demo Programs, 137 Control Structures - Second Style, 75


lcm() Low Level Functions
Stdlib Functions, 209 callgc(), 537
Left() Introduction, 536
Strings, 98 nullpointer(), 539
Libraries in Ring object2pointer(), 539
How to contribute?, 43 pointer2object(), 539
Library Usage ptrcmp(), 540
Objects Library for RingQt Application, 486 RingVM_CallList(), 545
linecount() RingVM_CFunctionsList(), 540
Stdlib Functions, 206 RingVM_ClassesList(), 541
Lines() RingVM_FilesList(), 546
Strings, 99 RingVM_FunctionsList(), 541
List Class RingVM_MemoryList(), 543
Stdlib Classes, 219 RingVM_PackagesList(), 542
List index start from 1 space(), 538
Frequently Asked Questions, 750 varptr(), 538
List of changes and new features
What is new in Ring 1.1?, 29 Main Function
What is new in Ring 1.2?, 23 Functions, 85
list of functions Main Menu
Mathematical Functions, 114 Demo Programs, 137
list2file() makedir()
Stdlib Functions, 207 Stdlib Functions, 214
Lists Map
Access List Items by String Index, 95 Game Engine for 2D Games, 347
Add Items, 89 Map Class
Copy Lists, 93 Game Engine for 2D Games, 334
Create Lists, 89 Map Events
Delete Item From List, 90 Game Engine for 2D Games, 348
First-Class Lists, 94 map()
Get List Item, 90 Stdlib Functions, 203
Get List Size, 90 Math Class
Insert(), 93 Stdlib Classes, 224
Introduction, 88 Mathematical Functions
Nested Lists, 93 Decimals(), 117
Passing Lists to Functions, 94 Example, 114
Passing Parameters Using List, 95 Introduction, 113
Reverse(), 92 list of functions, 114
Search, 91 Random(), 116
Set List Item, 90 Unsigned(), 117
Sort(), 91 matrixmulti()
Using Lists during definition, 94 Stdlib Functions, 211
Load Syntax Files matrixtrans()
Syntax Flexibility, 512 Stdlib Functions, 211
locals() MD5()
Reflection and Meta-programming, 185 Security and Internet Functions, 162
Logical Operators Menubar and StyleSheet Example
Operators, 64 Desktop and Mobile Development, 418
Loop Command mergemethods()
Control Structures - First Style, 71 Reflection and Meta-programming, 200
Looping Methods to use Events with Events Filter
Control Structures, 78 Desktop and Mobile Development, 480
Control Structures - First Style, 68 methods()

Index 798
Ring Documentation, Release 1.2

Reflection and Meta-programming, 193 MySQL_Commit()


Misc Operators MySQL Functions, 157
Operators, 65 MySQL_Connect()
Module Organization MySQL Functions, 151
Extension, 548 MySQL_Error()
More Beatiful Code MySQL Functions, 151
Declarative Programming, 243 MySQL_Escape_String()
Motivation MySQL Functions, 156
Introduction, 9 MySQL_Info()
Mouse Events MySQL Functions, 150
RingLibSDL, 327 MySQL_Init()
Movable Label Example MySQL Functions, 150
Desktop and Mobile Development, 434 MySQL_Inser_ID()
Moving Objects using the Mouse MySQL Functions, 153
Desktop and Mobile Development, 439 MySQL_Next_Result()
Moving Text MySQL Functions, 154
Game Engine for 2D Games, 336 MySQL_Query()
Multi-Line literals MySQL Functions, 151
Getting Started - First Style, 44 MySQL_Result()
Getting Started - Second Style, 46 MySQL Functions, 153
Getting Started - Third Style, 48 MySQL_Result2()
MySQL Class MySQL Functions, 155
Stdlib Classes, 235 MySQL_Rollback()
MySQL Functions MySQL Functions, 157
Create Database, 151
Create Table and Insert Data, 152 Natural Language Programming
Introduction, 149 BraceError() Method, 252
MySQL_AutoCommit(), 157 BraceExprEval Method, 251
MySQL_Close(), 151 BraceStart and BraceEnd Methods, 250
MySQL_Columns(), 154 Change the = operator to is, 248
MySQL_Commit(), 157 Change the Ring Keyword And, 246
MySQL_Connect(), 151 Change the Ring Operator +, 247
MySQL_Error(), 151 Clean Natural Code, 253
MySQL_Escape_String(), 156 Example, 245
MySQL_Info(), 150 History, 245
MySQL_Init(), 150 Introduction, 244
MySQL_Inser_ID(), 153 Real Natual Code, 251
MySQL_Next_Result(), 154 Using Eval() with our Natural Code, 249
MySQL_Query(), 151 Nested Lists
MySQL_Result(), 153 Lists, 93
MySQL_Result2(), 155 New Functions
MySQL_Rollback(), 157 What is new in Ring 1.2?, 23
Print Query Result, 154 New Functions and Changes
Restore Image From The Database, 156 What is new in Ring 1.1?, 32
Save Image Inside the Database, 156 newlist()
Transaction Example, 157 Stdlib Functions, 204
MySQL_AutoCommit() No Explicit End For Statements
MySQL Functions, 157 Getting Started - First Style, 45
MySQL_Close() Getting Started - Second Style, 47
MySQL Functions, 151 Getting Started - Third Style, 49
MySQL_Columns() No Run
MySQL Functions, 154 Command Line Options, 535
MySQL_Columns() Implementation Not Case-Sensitive
Extension, 554 Getting Started - First Style, 44

Index 799

You might also like