SlideShare a Scribd company logo
Ring Documentation, Release 1.6
Sprite Class, 472
Sprite Keypress Event, 481
Sprite Mouse Event, 482
Sprite State Event, 483
Stars Fighter Game, 492
Super Man 2016 Game, 507
Text Class, 472
What is new in Ring 1.1?, 129
GameObject Class
Game Engine for 2D Games, 471
Games Layer
Game Engine for 2D Games, 470
gcd()
Stdlib Functions, 331
Generate Object File
Command Line Options, 758
Generate/Execute Ring Object Files (*.ringo)
What is new in Ring 1.1?, 124
Generating Pages using Objects
Web Development (CGI Library), 411
Get Active Source File Name
System Functions, 251
Get Command Line Arguments
System Functions, 250
Get List Item
Lists, 207
Get List Size
Lists, 207
Get Number of Characters from position
Strings, 217
Get Parameters Values
Extension, 801
Get Request
RingLibCurl, 441
Get Stock Data From Yahoo
RingLibCurl, 443
Get String Length
Strings, 214
Get Substring from position to end
Strings, 217
getattribute()
Reflection and Meta-programming, 319
GetChar()
Getting Input, 191
getnumber()
Stdlib Functions, 324
getstring()
Stdlib Functions, 324
Getter and Setter Methods
Frequently Asked Questions, 1788
Getting Input
GetChar(), 191
Getting Started - First Style, 144
Getting Started - Second Style, 147
Getting Started - Third Style, 149
Give Command, 191
Input(), 192
Introduction, 190
Getting Started - First Style
Create Executable File, 143
Getting Input, 144
Hello World, 143
Introduction, 142
Multi-Line literals, 143
No Explicit End For Statements, 144
Not Case-Sensitive, 143
Run the program, 143
Using ? to print expression then new line, 144
Writing Comments, 145
Getting Started - Second Style
Create Executable File, 146
Getting Input, 147
Hello World, 146
Introduction, 145
Multi-Line literals, 146
No Explicit End For Statements, 147
Not Case-Sensitive, 146
Run the program, 146
Writing Comments, 147
Getting Started - Third Style
Create Executable File, 148
Getting Input, 149
Hello World, 148
Introduction, 147
Multi-Line literals, 149
No Explicit End For Statements, 149
Not Case-Sensitive, 148
Run the program, 148
Writing Comments, 149
Give Command
Getting Input, 191
globals()
Reflection and Meta-programming, 306
Goal of including the Main function in Ring
Frequently Asked Questions, 1784
Google API Shortener Application
Applications developed in little hours, 5
Gradient
Web Development (CGI Library), 410
Graphics and Game Programming
Drawing, Animation and Input, 448
Introduction, 447
Playing Sound, 456
Scaling and Rotating Images, 457
Threads, 459
Transparent Image, 458
TrueType Fonts, 455
Graphics Library Bindings
Index 1833
Ring Documentation, Release 1.6
Game Engine for 2D Games, 469
Hash Functions
Web Development (CGI Library), 405
HashTable Class
Stdlib Classes, 347
Hello World
Getting Started - First Style, 143
Getting Started - Second Style, 146
Getting Started - Third Style, 148
Hello World Program using the Web Library
Web Development (CGI Library), 388
Hex()
Data Type, 230
Hex2str()
Data Type, 231
Higher-order Functions
Functional Programming, 301
History
Introduction, 23
Natural Language Programming, 370
How can I disable maximize button and resize window?
Frequently Asked Questions, 1800
How Ring find a functions and methods?
Scope Rules for Functions and Methods, 727
How Ring find the Variable?
Scope Rules, 713
How Ring2EXE works?
Distributing Ring Application using Ring2EXE, 761
How to add Combobox and other elements to the cells of
a QTableWidget?
Frequently Asked Questions, 1807
How to Close a window then displaying another one?
Frequently Asked Questions, 1799
How to contribute?
Applications, 142
Compiler and Virtual Machine (VM), 142
Documentation, 141
Editors Support, 142
Extensions in C/C++, 142
Ideas and suggestions, 142
Introduction, 140
Libraries in Ring, 142
Samples, 141
Special thanks to contributors, 141
Testing, 141
How to create a Modal Window?
Frequently Asked Questions, 1799
How to create an array of buttons in GUI applications?
Frequently Asked Questions, 1798
How to extend RingQt and add more classes?
Frequently Asked Questions, 1804
How to get the current source file path?
Frequently Asked Questions, 1791
How to get the file size using ftell() and fseek() functions?
Frequently Asked Questions, 1791
How to insert an item to the first position in the list?
Frequently Asked Questions, 1796
How to perform some manipulations on selected cells in
QTableWidget?
Frequently Asked Questions, 1807
How to print keys or values only in List/Dictionary?
Frequently Asked Questions, 1792
How to print lists that contains objects?
Frequently Asked Questions, 1796
How to print new lines and other characters?
Frequently Asked Questions, 1797
How to use many source code files in the project?
Frequently Asked Questions, 1793
How to use NULL and ISNULL() function?
Frequently Asked Questions, 1795
How to use SQLite using ODBC?
Frequently Asked Questions, 1801
HTML Lists
Web Development (CGI Library), 408
HTML Special Characters
Web Development (CGI Library), 404
HTML Tables
Web Development (CGI Library), 409
HtmlPage Class
Web Development (CGI Library), 416, 440
HTTP Get Example
Web Development (CGI Library), 389
HTTP POST Example
Web Development (CGI Library), 394
Ideas and suggestions
How to contribute?, 142
If Statement
Control Structures - Second Style, 183
Control Structures - Third Style, 186
Important Information about Ring2EXE
Distributing Ring Application using Ring2EXE, 768
Inheritance
Object Oriented Programming, 293
Inheritance from GUI Classes
Desktop and Mobile Development, 652
Innovative
Applications developed in little hours, 19
Input()
Getting Input, 192
Insert()
Lists, 210
Install Qt for Android
Building RingQt Applications for Mobile, 695
Interactive Debugger
The Trace Library and the Interactive Debugger, 791
Interface to graphics library
Index 1834
Ring Documentation, Release 1.6
Game Engine for 2D Games, 469
Internet Class
Stdlib Classes, 363
Introduction
Features, 24
History, 23
Introduction, 21
Motivation, 22
Ring and other languages, 23
Is Ring some sort of improvement over PHP?
Frequently Asked Questions, 1779
IsAlNum()
Data Type, 226
IsAlpha()
Data Type, 226
IsAndroid() Function
System Functions, 249
isattribute()
Reflection and Meta-programming, 315
iscfunction()
Reflection and Meta-programming, 309
isclass()
Reflection and Meta-programming, 311
IsCntrl()
Data Type, 226
IsDigit()
Data Type, 227
IsFreeBSD() Function
System Functions, 249
isfunction()
Reflection and Meta-programming, 308
isglobal()
Reflection and Meta-programming, 308
IsGraph()
Data Type, 227
isleapyear()
Stdlib Functions, 333
IsLinux() Function
System Functions, 249
IsList()
Data Type, 225
islocal()
Reflection and Meta-programming, 308
IsLower()
Data Type, 227
IsMacOSX() Function
System Functions, 248
ismainsourcefile()
Stdlib Functions, 336
ismethod()
Reflection and Meta-programming, 316
IsMSDOS() Function
System Functions, 248
IsNULL()
Data Type, 225
IsNumber()
Data Type, 224
isobject()
Reflection and Meta-programming, 314
ispackage()
Reflection and Meta-programming, 310
ispackagesclass()
Reflection and Meta-programming, 312
isprime()
Stdlib Functions, 329
IsPrint()
Data Type, 227
isprivateattribute()
Reflection and Meta-programming, 315
isprivatemethod()
Reflection and Meta-programming, 316
IsPunct()
Data Type, 228
IsSpace()
Data Type, 228
isspecial()
Stdlib Functions, 327
IsString()
Data Type, 224
IsUnix() Function
System Functions, 248
IsUpper()
Data Type, 228
isvowel()
Stdlib Functions, 328
IsWindows() Function
System Functions, 248
IsWindows64() Function
System Functions, 248
IsXdigit()
Data Type, 228
JustFileName()
Stdlib Functions, 325
JustFilePath()
Stdlib Functions, 324
Keyboard Events and Colors
Using RingOpenGL and RingFreeGLUT for 3D
Graphics, 529
Keyboard Shortcuts
Form Designer, 709
KeyPress and Mouse Move Events
Desktop and Mobile Development, 646
Language Design
Compact Syntax, 30
Define Declarative Languages, 33
Define Natural Statements, 31
Index 1835
Ring Documentation, Release 1.6
Designed for a clear goal, 28
Encourage Organization, 30
Introduction, 27
Simple, 28
Smart Garbage Collector, 36
Transparent Implementation, 34
Trying to be natural, 29
Visual Implementation, 35
Why Ring?, 28
Language Functions
Reference, 1810
Language Grammar
Reference, 1813
Language Keywords
Reference, 1809
Language Shell
Demo Programs, 257
lcm()
Stdlib Functions, 331
Left()
Strings, 215
Libraries in Ring
How to contribute?, 142
Library Usage
Objects Library for RingQt Application, 699
linecount()
Stdlib Functions, 328
Lines()
Strings, 216
List Class
Stdlib Classes, 344
List index start from 1
Frequently Asked Questions, 1785
List of changes and new features
What is new in Ring 1.1?, 123
What is new in Ring 1.2?, 117
What is new in Ring 1.3?, 104
What is new in Ring 1.4?, 92
What is new in Ring 1.5?, 48
What is new in Ring 1.6?, 37
list of functions
Mathematical Functions, 232
list2file()
Stdlib Functions, 329
ListAllFiles() Function
Stdlib Functions, 338
Lists
Access List Items by String Index, 212
Add Items, 206
Copy Lists, 210
Create Lists, 206
Delete Item From List, 207
First-Class Lists, 211
Get List Item, 207
Get List Size, 207
Insert(), 210
Introduction, 205
Nested Lists, 210
Passing Lists to Functions, 211
Passing Parameters Using List, 212
Reverse(), 209
Search, 208
Set List Item, 207
Sort(), 208
Swap Items, 213
Using Lists during definition, 211
Load Syntax Files
Syntax Flexibility, 732
Loading the Trace library
The Trace Library and the Interactive Debugger, 790
locals()
Reflection and Meta-programming, 306
Logical Operators
Operators, 173
Loop Command
Control Structures - First Style, 180
Looping
Control Structures, 187
Control Structures - First Style, 177
Control Structures - Second Style, 184
Low Level Functions
callgc(), 770
Example - The Trace Library, 786
Example - Using the Trace Functions, 782
Introduction, 769
nullpointer(), 772
object2pointer(), 772
pointer2object(), 772
ptrcmp(), 773
ringvm_callfunc(), 782
RingVM_CallList(), 778
RingVM_CFunctionsList(), 774
RingVM_ClassesList(), 774
ringvm_evalinscope(), 781
RingVM_FilesList(), 779
RingVM_FunctionsList(), 774
ringvm_hideerrorMsg(), 781
RingVM_MemoryList(), 776
RingVM_PackagesList(), 775
ringvm_passerror(), 781
ringvm_scopescount(), 781
ringvm_settrace(), 780
ringvm_tracedata(), 780
ringvm_traceevent(), 780
ringvm_tracefunc(), 781
space(), 771
varptr(), 771
Index 1836
Ring Documentation, Release 1.6
Main Function
Functions - First Style, 194
Functions - Second Style, 198
Functions - Third Style, 202
Main Menu
Demo Programs, 257
Make a Cube using RingOpenGL and RingFreeGLUT
Using RingOpenGL and RingFreeGLUT for 3D
Graphics, 566
makedir()
Stdlib Functions, 337
Many Cubes
Using RingOpenGL and RingAllegro for 3D Graph-
ics, 574
Map
Game Engine for 2D Games, 486
Map Class
Game Engine for 2D Games, 473
Map Events
Game Engine for 2D Games, 487
map()
Stdlib Functions, 326
Math Class
Stdlib Classes, 349
Mathematical Functions
Decimals(), 235
Example, 232
Introduction, 231
list of functions, 232
Random(), 234
Unsigned(), 235
Using _ in numbers, 236
Using f after numbers, 236
matrixmulti()
Stdlib Functions, 333
matrixtrans()
Stdlib Functions, 334
MD5()
Security and Internet Functions, 282
Menu Events
Using RingOpenGL and RingFreeGLUT for 3D
Graphics, 542
Menubar and StyleSheet Example
Desktop and Mobile Development, 626
Menubar Designer
Form Designer, 709
mergemethods()
Reflection and Meta-programming, 321
Methods to use Events with Events Filter
Desktop and Mobile Development, 689
methods()
Reflection and Meta-programming, 314
Misc Operators
Operators, 174
Module Organization
Extension, 799
More Beatiful Code
Declarative Programming, 368
More Samples and Tests
Form Designer, 711
More Syntax Flexibility
What is new in Ring 1.5?, 79
Motivation
Introduction, 22
Mouse Events
RingLibSDL, 466
Using RingOpenGL and RingFreeGLUT for 3D
Graphics, 538
Movable Label Example
Desktop and Mobile Development, 642
Moving Objects using the Mouse
Desktop and Mobile Development, 648
Moving Text
Game Engine for 2D Games, 475
Multi-Line literals
Getting Started - First Style, 143
Getting Started - Second Style, 146
Getting Started - Third Style, 149
MurmurHash1 functions
RingMurmurHash Functions Reference, 843
MurmurHash2 functions
RingMurmurHash Functions Reference, 843
MurmurHash3 functions
RingMurmurHash Functions Reference, 843
MySQL Class
Stdlib Classes, 360
MySQL Functions
Create Database, 271
Create Table and Insert Data, 272
Introduction, 269
MySQL_AutoCommit(), 277
MySQL_Close(), 271
MySQL_Columns(), 274
MySQL_Commit(), 277
MySQL_Connect(), 271
MySQL_Error(), 271
MySQL_Escape_String(), 276
MySQL_Info(), 270
MySQL_Init(), 271
MySQL_Inser_ID(), 273
MySQL_Next_Result(), 274
MySQL_Query(), 271
MySQL_Result(), 274
MySQL_Result2(), 275
MySQL_Rollback(), 277
Print Query Result, 274
Restore Image From The Database, 276
Save Image Inside the Database, 276
Index 1837
Ring Documentation, Release 1.6
Transaction Example, 277
MySQL_AutoCommit()
MySQL Functions, 277
MySQL_Close()
MySQL Functions, 271
MySQL_Columns()
MySQL Functions, 274
MySQL_Columns() Implementation
Extension, 805
MySQL_Commit()
MySQL Functions, 277
MySQL_Connect()
MySQL Functions, 271
MySQL_Error()
MySQL Functions, 271
MySQL_Escape_String()
MySQL Functions, 276
MySQL_Info()
MySQL Functions, 270
MySQL_Init()
MySQL Functions, 271
MySQL_Inser_ID()
MySQL Functions, 273
MySQL_Next_Result()
MySQL Functions, 274
MySQL_Query()
MySQL Functions, 271
MySQL_Result()
MySQL Functions, 274
MySQL_Result2()
MySQL Functions, 275
MySQL_Rollback()
MySQL Functions, 277
Natural Language Programming
BraceError() Method, 377
BraceExprEval Method, 376
BraceStart and BraceEnd Methods, 375
Change the ’=’ operator to ’is’, 373
Change the Ring Keyword ’And’, 371
Change the Ring Operator ’+’, 372
Clean Natural Code, 378
Example, 370
History, 370
Introduction, 369
Real Natual Code, 376
Using Eval() with our Natural Code, 374
Natural Library - Demo Program
Using the Natural Library, 380
Nested Lists
Lists, 210
New Classes names - Index Start from 1
Desktop and Mobile Development, 691
New Functions
What is new in Ring 1.2?, 117
What is new in Ring 1.3?, 113
New Functions and Changes
What is new in Ring 1.1?, 126
New Style to Ring Notepad
What is new in Ring 1.4?, 95
New Tool: Folder2qrc
What is new in Ring 1.6?, 39
New Tool: Ring2EXE
What is new in Ring 1.6?, 38
newlist()
Stdlib Functions, 327
No Explicit End For Statements
Getting Started - First Style, 144
Getting Started - Second Style, 147
Getting Started - Third Style, 149
No Run
Command Line Options, 757
Not Case-Sensitive
Getting Started - First Style, 143
Getting Started - Second Style, 146
Getting Started - Third Style, 148
Notepad Application
Desktop and Mobile Development, 665
nullpointer()
Low Level Functions, 772
Number()
Data Type, 229
Numbers and Bytes
Files, 246
Object and Drawing
Game Engine for 2D Games, 489
Object Library Source Code
Objects Library for RingQt Application, 703
Object Oriented Programming
Access Objects Using Braces, 289
Classes and Objects, 287
Composition, 290
Dynamic Attributes, 294
Find() and List of Objects, 295
Inheritance, 293
Introduction, 286
Operator Overloading, 292
Packages, 294
Printing Objects, 295
Private Attributes and Methods, 291
Setter and Getter, 291
Sort() and List of Objects, 296
Using Self.Attribute, 298
object2pointer()
Low Level Functions, 772
objectid()
Reflection and Meta-programming, 313
Index 1838
Ring Documentation, Release 1.6
Objects inside lists
Declarative Programming, 364
Objects Library for RingQt
What is new in Ring 1.2?, 119
Objects Library for RingQt Application
Example, 699
Introduction, 698
Library Usage, 699
Object Library Source Code, 703
Open_WindowAndLink() Function, 702, 703
Open_WindowInPackages() Function, 703
ODBC Class
Stdlib Classes, 359
ODBC Functions
Execute Query and Print Result, 265
Introduction, 260
odbc_autocommit(), 267
odbc_close(), 262
odbc_colcount(), 264
odbc_columns(), 266
odbc_commit(), 267
odbc_connect(), 263
odbc_datasources(), 262
odbc_disconnect(), 264
odbc_drivers(), 261
odbc_execute(), 264
odbc_fetch(), 265
odbc_getdata(), 265
odbc_init(), 261
odbc_rollback(), 267
odbc_tables(), 265
Open and Close Connection, 264
Print List of ODBC Data Sources, 263
Print List of ODBC Drivers, 262
Save and Restore Images, 268
Transactions and Using Commit and Rollback, 267
odbc_autocommit()
ODBC Functions, 267
odbc_close()
ODBC Functions, 262
odbc_colcount()
ODBC Functions, 264
odbc_columns()
ODBC Functions, 266
odbc_commit()
ODBC Functions, 267
odbc_connect()
ODBC Functions, 263
odbc_datasources()
ODBC Functions, 262
odbc_disconnect()
ODBC Functions, 264
odbc_drivers()
ODBC Functions, 261
odbc_execute()
ODBC Functions, 264
odbc_fetch()
ODBC Functions, 265
odbc_getdata()
ODBC Functions, 265
odbc_init()
ODBC Functions, 261
odbc_rollback()
ODBC Functions, 267
odbc_tables()
ODBC Functions, 265
Open and Close Connection
ODBC Functions, 264
Open_WindowAndLink() Function
Objects Library for RingQt Application, 702, 703
Open_WindowInPackages() Function
Objects Library for RingQt Application, 703
Operator Overloading
Object Oriented Programming, 292
Operators
Arithmetic Operators, 173
Assignment Operators, 174
Bitwise Operators, 174
Introduction, 172
Logical Operators, 173
Misc Operators, 174
Operators Precedence, 174
Relational Operators, 173
Using the Natural Library, 384
Operators Precedence
Operators, 174
Options
Distributing Ring Application using Ring2EXE, 762
OSCopyFile() Function
Stdlib Functions, 339
OSCopyFolder() Function
Stdlib Functions, 339
OSCreateOpenFolder() Function
Stdlib Functions, 339
OSDeleteFile() Function
Stdlib Functions, 340
OSDeleteFolder() Function
Stdlib Functions, 339
OSRenameFile() Function
Stdlib Functions, 340
Other Widgets Events
Desktop and Mobile Development, 630
packagename()
Reflection and Meta-programming, 322
Packages
Object Oriented Programming, 294
packages()
Index 1839
Ring Documentation, Release 1.6
Reflection and Meta-programming, 309
packagesclasses()
Reflection and Meta-programming, 312
Page Class
Web Development (CGI Library), 436
palindrome()
Stdlib Functions, 333
Pass Error
The Trace Library and the Interactive Debugger, 791
Passing Lists to Functions
Lists, 211
Passing Parameters Using List
Lists, 212
Performance
Command Line Options, 757
permutation()
Stdlib Functions, 334
Perror()
Files, 242
Philosophy behind data types in Ring
Frequently Asked Questions, 1782
Play Sound
RingLibSDL, 467
Playing Sound
Desktop and Mobile Development, 640
Game Engine for 2D Games, 477
Graphics and Game Programming, 456
pointer2object()
Low Level Functions, 772
Post Request
RingLibCurl, 441
Practical
Applications developed in little hours, 20
Prefix for Functions Names
Code Generator, 813
PrevFileName() Function
System Functions, 251
Print files in Zip file
RingZip, 445
Print List of ODBC Data Sources
ODBC Functions, 263
Print List of ODBC Drivers
ODBC Functions, 262
Print Query Result
MySQL Functions, 274
print()
Stdlib Functions, 323
Print2Str() Function
Stdlib Functions, 323
Printing Final Intermediate Code
Command Line Options, 752
Printing Instruction Operation Code
Command Line Options, 757
Printing Intermediate Code
Command Line Options, 750
Printing Objects
Object Oriented Programming, 295
Printing Rules
Command Line Options, 746
Printing Tokens
Command Line Options, 744
Printing using QPrinter
Desktop and Mobile Development, 638
Private Attributes and Methods
Object Oriented Programming, 291
prodlist()
Stdlib Functions, 332
Program Structure
Introduction, 204
Source Code File Sections, 205
Using Many Source Code Files, 205
Project Folder
Building Games For Android, 519
Project Layers
Game Engine for 2D Games, 469
Protecting the Source Code
Distributing Ring Application, 759
ptrcmp()
Low Level Functions, 773
Pure Functions
Functional Programming, 300
puts()
Stdlib Functions, 323
QAbstractButton Class
RingQt Classes Reference, 1670
QAbstractItemView Class
RingQt Classes Reference, 1656
QAbstractScrollArea Class
RingQt Classes Reference, 1655
QAbstractSlider Class
RingQt Classes Reference, 1663
QAbstractSocket Class
RingQt Classes Reference, 1691
QAbstractSpinBox Class
RingQt Classes Reference, 1666
QAction Class
RingQt Classes Reference, 1674
QAllEvents Class
RingQt Classes Reference, 1704
QApp Class
RingQt Classes Reference, 1621
QAxBase Class
RingQt Classes Reference, 1758
QAxObject Class
RingQt Classes Reference, 1758
QBitmap Class
RingQt Classes Reference, 1629
Index 1840
Ring Documentation, Release 1.6
QBluetoothAddress Class
RingQt Classes Reference, 1764
QBluetoothDeviceDiscoveryAgent Class
RingQt Classes Reference, 1764
QBluetoothDeviceInfo Class
RingQt Classes Reference, 1764
QBluetoothHostInfo Class
RingQt Classes Reference, 1765
QBluetoothLocalDevice Class
RingQt Classes Reference, 1765
QBoxLayout Class
RingQt Classes Reference, 1748
QBrush Class
RingQt Classes Reference, 1688
QBuffer Class
RingQt Classes Reference, 1763
QButtonGroup Class
RingQt Classes Reference, 1671
QByteArray Class
RingQt Classes Reference, 1688
QCamera Class
RingQt Classes Reference, 1743
QCameraImageCapture Class
RingQt Classes Reference, 1744
QCameraViewfinder Class
RingQt Classes Reference, 1742
QCheckBox Class
RingQt Classes Reference, 1669
QColor Class
RingQt Classes Reference, 1682
QColorDialog Class
RingQt Classes Reference, 1701
QComboBox Class
RingQt Classes Reference, 1645
QCompleter Class
RingQt Classes Reference, 1752
QCompleter2 Class
RingQt Classes Reference, 1753
QCompleter3 Class
RingQt Classes Reference, 1753
QCoreApplication Class
RingQt Classes Reference, 1773
QCursor Class
RingQt Classes Reference, 1757
QDate Class
RingQt Classes Reference, 1715
QDateEdit Class
RingQt Classes Reference, 1664
QDateTime Class
RingQt Classes Reference, 1765
QDateTimeEdit Class
RingQt Classes Reference, 1664
QDesktopServices Class
RingQt Classes Reference, 1621
QDesktopWidget Class
RingQt Classes Reference, 1708
QDial Class
RingQt Classes Reference, 1667
QDialog Class
RingQt Classes Reference, 1698
QDir Class
RingQt Classes Reference, 1640
QDirModel Class
RingQt Classes Reference, 1697
QDockWidget Class
RingQt Classes Reference, 1651
QEvent Class
RingQt Classes Reference, 1675
QFileDialog Class
RingQt Classes Reference, 1677
QFileInfo Class
RingQt Classes Reference, 1696
QFileSystemModel Class
RingQt Classes Reference, 1640
QFont Class
RingQt Classes Reference, 1686
QFontDialog Class
RingQt Classes Reference, 1698
QFontMetrics Class
RingQt Classes Reference, 1747
QFrame Class
RingQt Classes Reference, 1654
QFrame2 Class
RingQt Classes Reference, 1655
QFrame3 Class
RingQt Classes Reference, 1655
QGradient Class
RingQt Classes Reference, 1750
QGraphicsVideoItem Class
RingQt Classes Reference, 1742
QGridLayout Class
RingQt Classes Reference, 1740
QGuiApplication Class
RingQt Classes Reference, 1771
QHBoxLayout Class
RingQt Classes Reference, 1634
QHeaderView Class
RingQt Classes Reference, 1744
QHostAddress Class
RingQt Classes Reference, 1695
QHostInfo Class
RingQt Classes Reference, 1695
QIcon Class
RingQt Classes Reference, 1631
QImage Class
RingQt Classes Reference, 1725
QInputDialog Class
RingQt Classes Reference, 1703
Index 1841
Ring Documentation, Release 1.6
QIODevice Class
RingQt Classes Reference, 1690
QJsonArray Class
RingQt Classes Reference, 1734
QJsonDocument Class
RingQt Classes Reference, 1735
QJsonObject Class
RingQt Classes Reference, 1736
QJsonParseError Class
RingQt Classes Reference, 1736
QJsonValue Class
RingQt Classes Reference, 1736
QKeySequence Class
RingQt Classes Reference, 1702
QLabel Class
RingQt Classes Reference, 1628
QLayout Class
RingQt Classes Reference, 1749
QLCDNumber Class
RingQt Classes Reference, 1702
QLinearGradient Class
RingQt Classes Reference, 1750
QLineEdit Class
RingQt Classes Reference, 1631
QLineEdit Events and QMessageBox
Desktop and Mobile Development, 628
QListView Class
RingQt Classes Reference, 1757
QListWidget Class
RingQt Classes Reference, 1636
QListWidgetItem Class
RingQt Classes Reference, 1714
QMainWindow Class
RingQt Classes Reference, 1649
QMdiArea Class
RingQt Classes Reference, 1755
QMdiSubWindow Class
RingQt Classes Reference, 1756
QMediaObject Class
RingQt Classes Reference, 1744
QMediaPlayer Class
RingQt Classes Reference, 1672
QMediaPlaylist Class
RingQt Classes Reference, 1672
QMenu Class
RingQt Classes Reference, 1647
QMenuBar Class
RingQt Classes Reference, 1647
QMessageBox Class
RingQt Classes Reference, 1676
QMessagebox Example
Desktop and Mobile Development, 643
QMutex Class
RingQt Classes Reference, 1763
QMutexLocker Class
RingQt Classes Reference, 1763
QNetworkAccessManager Class
RingQt Classes Reference, 1723
QNetworkProxy Class
RingQt Classes Reference, 1693
QNetworkReply Class
RingQt Classes Reference, 1724
QNetworkRequest Class
RingQt Classes Reference, 1722
QObject Class
RingQt Classes Reference, 1621
QPainter Class
RingQt Classes Reference, 1679
QPainter2 Class
RingQt Classes Reference, 1681
QPainterPath Class
RingQt Classes Reference, 1724
QPen Class
RingQt Classes Reference, 1682
QPicture Class
RingQt Classes Reference, 1681
QPixmap Class
RingQt Classes Reference, 1629
QPixmap2 Class
RingQt Classes Reference, 1631
QPlainTextEdit Class
RingQt Classes Reference, 1737
QPoint Class
RingQt Classes Reference, 1751
QPointF Class
RingQt Classes Reference, 1750
QPrinter Class
RingQt Classes Reference, 1685
QProcess Class
RingQt Classes Reference, 1754
QProgressBar Class
RingQt Classes Reference, 1661
QPushButton Class
RingQt Classes Reference, 1629
QRadioButton Class
RingQt Classes Reference, 1671
QRect Class
RingQt Classes Reference, 1708
QRegion Class
RingQt Classes Reference, 1775
QRegularExpression Class
RingQt Classes Reference, 1733
QRegularExpressionMatch Class
RingQt Classes Reference, 1733
QRegularExpressionMatchIterator Class
RingQt Classes Reference, 1734
QScreen Class
RingQt Classes Reference, 1766
Index 1842

More Related Content

PDF
The Ring programming language version 1.5.2 book - Part 179 of 181
PDF
The Ring programming language version 1.5.3 book - Part 191 of 194
PDF
The Ring programming language version 1.5 book - Part 31 of 31
PDF
The Ring programming language version 1.5.4 book - Part 182 of 185
PDF
The Ring programming language version 1.3 book - Part 87 of 88
PDF
Odessapy2013 - Graph databases and Python
PDF
The Ring programming language version 1.5.4 book - Part 183 of 185
PDF
The Ring programming language version 1.8 book - Part 200 of 202
The Ring programming language version 1.5.2 book - Part 179 of 181
The Ring programming language version 1.5.3 book - Part 191 of 194
The Ring programming language version 1.5 book - Part 31 of 31
The Ring programming language version 1.5.4 book - Part 182 of 185
The Ring programming language version 1.3 book - Part 87 of 88
Odessapy2013 - Graph databases and Python
The Ring programming language version 1.5.4 book - Part 183 of 185
The Ring programming language version 1.8 book - Part 200 of 202

Similar to The Ring programming language version 1.6 book - Part 187 of 189 (20)

PDF
The Ring programming language version 1.6 book - Part 186 of 189
PDF
The Ring programming language version 1.8 book - Part 199 of 202
PDF
The Ring programming language version 1.4.1 book - Part 31 of 31
PDF
The Ring programming language version 1.3 book - Part 86 of 88
PDF
The Ring programming language version 1.4 book - Part 30 of 30
PDF
The Ring programming language version 1.5.1 book - Part 178 of 180
PDF
The Ring programming language version 1.5.2 book - Part 178 of 181
PDF
The Ring programming language version 1.9 book - Part 206 of 210
PDF
The Ring programming language version 1.7 book - Part 196 of 196
PDF
The Ring programming language version 1.7 book - Part 194 of 196
PDF
The Ring programming language version 1.2 book - Part 82 of 84
PDF
The Ring programming language version 1.10 book - Part 208 of 212
PDF
The Ring programming language version 1.5.3 book - Part 192 of 194
PDF
The Ring programming language version 1.2 book - Part 84 of 84
PDF
The Ring programming language version 1.9 book - Part 207 of 210
PDF
The Ring programming language version 1.8 book - Part 201 of 202
PDF
The Ring programming language version 1.6 book - Part 189 of 189
PDF
The Ring programming language version 1.10 book - Part 212 of 212
PDF
The Ring programming language version 1.2 book - Part 83 of 84
PDF
The Ring programming language version 1.10 book - Part 210 of 212
The Ring programming language version 1.6 book - Part 186 of 189
The Ring programming language version 1.8 book - Part 199 of 202
The Ring programming language version 1.4.1 book - Part 31 of 31
The Ring programming language version 1.3 book - Part 86 of 88
The Ring programming language version 1.4 book - Part 30 of 30
The Ring programming language version 1.5.1 book - Part 178 of 180
The Ring programming language version 1.5.2 book - Part 178 of 181
The Ring programming language version 1.9 book - Part 206 of 210
The Ring programming language version 1.7 book - Part 196 of 196
The Ring programming language version 1.7 book - Part 194 of 196
The Ring programming language version 1.2 book - Part 82 of 84
The Ring programming language version 1.10 book - Part 208 of 212
The Ring programming language version 1.5.3 book - Part 192 of 194
The Ring programming language version 1.2 book - Part 84 of 84
The Ring programming language version 1.9 book - Part 207 of 210
The Ring programming language version 1.8 book - Part 201 of 202
The Ring programming language version 1.6 book - Part 189 of 189
The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.2 book - Part 83 of 84
The Ring programming language version 1.10 book - Part 210 of 212
Ad

More from Mahmoud Samir Fayed (20)

PDF
The Ring programming language version 1.10 book - Part 211 of 212
PDF
The Ring programming language version 1.10 book - Part 207 of 212
PDF
The Ring programming language version 1.10 book - Part 205 of 212
PDF
The Ring programming language version 1.10 book - Part 206 of 212
PDF
The Ring programming language version 1.10 book - Part 204 of 212
PDF
The Ring programming language version 1.10 book - Part 203 of 212
PDF
The Ring programming language version 1.10 book - Part 202 of 212
PDF
The Ring programming language version 1.10 book - Part 201 of 212
PDF
The Ring programming language version 1.10 book - Part 200 of 212
PDF
The Ring programming language version 1.10 book - Part 199 of 212
PDF
The Ring programming language version 1.10 book - Part 198 of 212
PDF
The Ring programming language version 1.10 book - Part 197 of 212
PDF
The Ring programming language version 1.10 book - Part 196 of 212
PDF
The Ring programming language version 1.10 book - Part 195 of 212
PDF
The Ring programming language version 1.10 book - Part 194 of 212
PDF
The Ring programming language version 1.10 book - Part 193 of 212
PDF
The Ring programming language version 1.10 book - Part 192 of 212
PDF
The Ring programming language version 1.10 book - Part 191 of 212
PDF
The Ring programming language version 1.10 book - Part 190 of 212
PDF
The Ring programming language version 1.10 book - Part 189 of 212
The Ring programming language version 1.10 book - Part 211 of 212
The Ring programming language version 1.10 book - Part 207 of 212
The Ring programming language version 1.10 book - Part 205 of 212
The Ring programming language version 1.10 book - Part 206 of 212
The Ring programming language version 1.10 book - Part 204 of 212
The Ring programming language version 1.10 book - Part 203 of 212
The Ring programming language version 1.10 book - Part 202 of 212
The Ring programming language version 1.10 book - Part 201 of 212
The Ring programming language version 1.10 book - Part 200 of 212
The Ring programming language version 1.10 book - Part 199 of 212
The Ring programming language version 1.10 book - Part 198 of 212
The Ring programming language version 1.10 book - Part 197 of 212
The Ring programming language version 1.10 book - Part 196 of 212
The Ring programming language version 1.10 book - Part 195 of 212
The Ring programming language version 1.10 book - Part 194 of 212
The Ring programming language version 1.10 book - Part 193 of 212
The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 191 of 212
The Ring programming language version 1.10 book - Part 190 of 212
The Ring programming language version 1.10 book - Part 189 of 212
Ad

Recently uploaded (20)

PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
System and Network Administration Chapter 2
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
top salesforce developer skills in 2025.pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
ai tools demonstartion for schools and inter college
PPTX
Introduction to Artificial Intelligence
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Digital Strategies for Manufacturing Companies
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Transform Your Business with a Software ERP System
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
System and Network Administration Chapter 2
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
top salesforce developer skills in 2025.pdf
Computer Software and OS of computer science of grade 11.pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
ai tools demonstartion for schools and inter college
Introduction to Artificial Intelligence
Softaken Excel to vCard Converter Software.pdf
wealthsignaloriginal-com-DS-text-... (1).pdf
Odoo Companies in India – Driving Business Transformation.pdf
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Digital Strategies for Manufacturing Companies
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PTS Company Brochure 2025 (1).pdf.......
Transform Your Business with a Software ERP System
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free

The Ring programming language version 1.6 book - Part 187 of 189

  • 1. Ring Documentation, Release 1.6 Sprite Class, 472 Sprite Keypress Event, 481 Sprite Mouse Event, 482 Sprite State Event, 483 Stars Fighter Game, 492 Super Man 2016 Game, 507 Text Class, 472 What is new in Ring 1.1?, 129 GameObject Class Game Engine for 2D Games, 471 Games Layer Game Engine for 2D Games, 470 gcd() Stdlib Functions, 331 Generate Object File Command Line Options, 758 Generate/Execute Ring Object Files (*.ringo) What is new in Ring 1.1?, 124 Generating Pages using Objects Web Development (CGI Library), 411 Get Active Source File Name System Functions, 251 Get Command Line Arguments System Functions, 250 Get List Item Lists, 207 Get List Size Lists, 207 Get Number of Characters from position Strings, 217 Get Parameters Values Extension, 801 Get Request RingLibCurl, 441 Get Stock Data From Yahoo RingLibCurl, 443 Get String Length Strings, 214 Get Substring from position to end Strings, 217 getattribute() Reflection and Meta-programming, 319 GetChar() Getting Input, 191 getnumber() Stdlib Functions, 324 getstring() Stdlib Functions, 324 Getter and Setter Methods Frequently Asked Questions, 1788 Getting Input GetChar(), 191 Getting Started - First Style, 144 Getting Started - Second Style, 147 Getting Started - Third Style, 149 Give Command, 191 Input(), 192 Introduction, 190 Getting Started - First Style Create Executable File, 143 Getting Input, 144 Hello World, 143 Introduction, 142 Multi-Line literals, 143 No Explicit End For Statements, 144 Not Case-Sensitive, 143 Run the program, 143 Using ? to print expression then new line, 144 Writing Comments, 145 Getting Started - Second Style Create Executable File, 146 Getting Input, 147 Hello World, 146 Introduction, 145 Multi-Line literals, 146 No Explicit End For Statements, 147 Not Case-Sensitive, 146 Run the program, 146 Writing Comments, 147 Getting Started - Third Style Create Executable File, 148 Getting Input, 149 Hello World, 148 Introduction, 147 Multi-Line literals, 149 No Explicit End For Statements, 149 Not Case-Sensitive, 148 Run the program, 148 Writing Comments, 149 Give Command Getting Input, 191 globals() Reflection and Meta-programming, 306 Goal of including the Main function in Ring Frequently Asked Questions, 1784 Google API Shortener Application Applications developed in little hours, 5 Gradient Web Development (CGI Library), 410 Graphics and Game Programming Drawing, Animation and Input, 448 Introduction, 447 Playing Sound, 456 Scaling and Rotating Images, 457 Threads, 459 Transparent Image, 458 TrueType Fonts, 455 Graphics Library Bindings Index 1833
  • 2. Ring Documentation, Release 1.6 Game Engine for 2D Games, 469 Hash Functions Web Development (CGI Library), 405 HashTable Class Stdlib Classes, 347 Hello World Getting Started - First Style, 143 Getting Started - Second Style, 146 Getting Started - Third Style, 148 Hello World Program using the Web Library Web Development (CGI Library), 388 Hex() Data Type, 230 Hex2str() Data Type, 231 Higher-order Functions Functional Programming, 301 History Introduction, 23 Natural Language Programming, 370 How can I disable maximize button and resize window? Frequently Asked Questions, 1800 How Ring find a functions and methods? Scope Rules for Functions and Methods, 727 How Ring find the Variable? Scope Rules, 713 How Ring2EXE works? Distributing Ring Application using Ring2EXE, 761 How to add Combobox and other elements to the cells of a QTableWidget? Frequently Asked Questions, 1807 How to Close a window then displaying another one? Frequently Asked Questions, 1799 How to contribute? Applications, 142 Compiler and Virtual Machine (VM), 142 Documentation, 141 Editors Support, 142 Extensions in C/C++, 142 Ideas and suggestions, 142 Introduction, 140 Libraries in Ring, 142 Samples, 141 Special thanks to contributors, 141 Testing, 141 How to create a Modal Window? Frequently Asked Questions, 1799 How to create an array of buttons in GUI applications? Frequently Asked Questions, 1798 How to extend RingQt and add more classes? Frequently Asked Questions, 1804 How to get the current source file path? Frequently Asked Questions, 1791 How to get the file size using ftell() and fseek() functions? Frequently Asked Questions, 1791 How to insert an item to the first position in the list? Frequently Asked Questions, 1796 How to perform some manipulations on selected cells in QTableWidget? Frequently Asked Questions, 1807 How to print keys or values only in List/Dictionary? Frequently Asked Questions, 1792 How to print lists that contains objects? Frequently Asked Questions, 1796 How to print new lines and other characters? Frequently Asked Questions, 1797 How to use many source code files in the project? Frequently Asked Questions, 1793 How to use NULL and ISNULL() function? Frequently Asked Questions, 1795 How to use SQLite using ODBC? Frequently Asked Questions, 1801 HTML Lists Web Development (CGI Library), 408 HTML Special Characters Web Development (CGI Library), 404 HTML Tables Web Development (CGI Library), 409 HtmlPage Class Web Development (CGI Library), 416, 440 HTTP Get Example Web Development (CGI Library), 389 HTTP POST Example Web Development (CGI Library), 394 Ideas and suggestions How to contribute?, 142 If Statement Control Structures - Second Style, 183 Control Structures - Third Style, 186 Important Information about Ring2EXE Distributing Ring Application using Ring2EXE, 768 Inheritance Object Oriented Programming, 293 Inheritance from GUI Classes Desktop and Mobile Development, 652 Innovative Applications developed in little hours, 19 Input() Getting Input, 192 Insert() Lists, 210 Install Qt for Android Building RingQt Applications for Mobile, 695 Interactive Debugger The Trace Library and the Interactive Debugger, 791 Interface to graphics library Index 1834
  • 3. Ring Documentation, Release 1.6 Game Engine for 2D Games, 469 Internet Class Stdlib Classes, 363 Introduction Features, 24 History, 23 Introduction, 21 Motivation, 22 Ring and other languages, 23 Is Ring some sort of improvement over PHP? Frequently Asked Questions, 1779 IsAlNum() Data Type, 226 IsAlpha() Data Type, 226 IsAndroid() Function System Functions, 249 isattribute() Reflection and Meta-programming, 315 iscfunction() Reflection and Meta-programming, 309 isclass() Reflection and Meta-programming, 311 IsCntrl() Data Type, 226 IsDigit() Data Type, 227 IsFreeBSD() Function System Functions, 249 isfunction() Reflection and Meta-programming, 308 isglobal() Reflection and Meta-programming, 308 IsGraph() Data Type, 227 isleapyear() Stdlib Functions, 333 IsLinux() Function System Functions, 249 IsList() Data Type, 225 islocal() Reflection and Meta-programming, 308 IsLower() Data Type, 227 IsMacOSX() Function System Functions, 248 ismainsourcefile() Stdlib Functions, 336 ismethod() Reflection and Meta-programming, 316 IsMSDOS() Function System Functions, 248 IsNULL() Data Type, 225 IsNumber() Data Type, 224 isobject() Reflection and Meta-programming, 314 ispackage() Reflection and Meta-programming, 310 ispackagesclass() Reflection and Meta-programming, 312 isprime() Stdlib Functions, 329 IsPrint() Data Type, 227 isprivateattribute() Reflection and Meta-programming, 315 isprivatemethod() Reflection and Meta-programming, 316 IsPunct() Data Type, 228 IsSpace() Data Type, 228 isspecial() Stdlib Functions, 327 IsString() Data Type, 224 IsUnix() Function System Functions, 248 IsUpper() Data Type, 228 isvowel() Stdlib Functions, 328 IsWindows() Function System Functions, 248 IsWindows64() Function System Functions, 248 IsXdigit() Data Type, 228 JustFileName() Stdlib Functions, 325 JustFilePath() Stdlib Functions, 324 Keyboard Events and Colors Using RingOpenGL and RingFreeGLUT for 3D Graphics, 529 Keyboard Shortcuts Form Designer, 709 KeyPress and Mouse Move Events Desktop and Mobile Development, 646 Language Design Compact Syntax, 30 Define Declarative Languages, 33 Define Natural Statements, 31 Index 1835
  • 4. Ring Documentation, Release 1.6 Designed for a clear goal, 28 Encourage Organization, 30 Introduction, 27 Simple, 28 Smart Garbage Collector, 36 Transparent Implementation, 34 Trying to be natural, 29 Visual Implementation, 35 Why Ring?, 28 Language Functions Reference, 1810 Language Grammar Reference, 1813 Language Keywords Reference, 1809 Language Shell Demo Programs, 257 lcm() Stdlib Functions, 331 Left() Strings, 215 Libraries in Ring How to contribute?, 142 Library Usage Objects Library for RingQt Application, 699 linecount() Stdlib Functions, 328 Lines() Strings, 216 List Class Stdlib Classes, 344 List index start from 1 Frequently Asked Questions, 1785 List of changes and new features What is new in Ring 1.1?, 123 What is new in Ring 1.2?, 117 What is new in Ring 1.3?, 104 What is new in Ring 1.4?, 92 What is new in Ring 1.5?, 48 What is new in Ring 1.6?, 37 list of functions Mathematical Functions, 232 list2file() Stdlib Functions, 329 ListAllFiles() Function Stdlib Functions, 338 Lists Access List Items by String Index, 212 Add Items, 206 Copy Lists, 210 Create Lists, 206 Delete Item From List, 207 First-Class Lists, 211 Get List Item, 207 Get List Size, 207 Insert(), 210 Introduction, 205 Nested Lists, 210 Passing Lists to Functions, 211 Passing Parameters Using List, 212 Reverse(), 209 Search, 208 Set List Item, 207 Sort(), 208 Swap Items, 213 Using Lists during definition, 211 Load Syntax Files Syntax Flexibility, 732 Loading the Trace library The Trace Library and the Interactive Debugger, 790 locals() Reflection and Meta-programming, 306 Logical Operators Operators, 173 Loop Command Control Structures - First Style, 180 Looping Control Structures, 187 Control Structures - First Style, 177 Control Structures - Second Style, 184 Low Level Functions callgc(), 770 Example - The Trace Library, 786 Example - Using the Trace Functions, 782 Introduction, 769 nullpointer(), 772 object2pointer(), 772 pointer2object(), 772 ptrcmp(), 773 ringvm_callfunc(), 782 RingVM_CallList(), 778 RingVM_CFunctionsList(), 774 RingVM_ClassesList(), 774 ringvm_evalinscope(), 781 RingVM_FilesList(), 779 RingVM_FunctionsList(), 774 ringvm_hideerrorMsg(), 781 RingVM_MemoryList(), 776 RingVM_PackagesList(), 775 ringvm_passerror(), 781 ringvm_scopescount(), 781 ringvm_settrace(), 780 ringvm_tracedata(), 780 ringvm_traceevent(), 780 ringvm_tracefunc(), 781 space(), 771 varptr(), 771 Index 1836
  • 5. Ring Documentation, Release 1.6 Main Function Functions - First Style, 194 Functions - Second Style, 198 Functions - Third Style, 202 Main Menu Demo Programs, 257 Make a Cube using RingOpenGL and RingFreeGLUT Using RingOpenGL and RingFreeGLUT for 3D Graphics, 566 makedir() Stdlib Functions, 337 Many Cubes Using RingOpenGL and RingAllegro for 3D Graph- ics, 574 Map Game Engine for 2D Games, 486 Map Class Game Engine for 2D Games, 473 Map Events Game Engine for 2D Games, 487 map() Stdlib Functions, 326 Math Class Stdlib Classes, 349 Mathematical Functions Decimals(), 235 Example, 232 Introduction, 231 list of functions, 232 Random(), 234 Unsigned(), 235 Using _ in numbers, 236 Using f after numbers, 236 matrixmulti() Stdlib Functions, 333 matrixtrans() Stdlib Functions, 334 MD5() Security and Internet Functions, 282 Menu Events Using RingOpenGL and RingFreeGLUT for 3D Graphics, 542 Menubar and StyleSheet Example Desktop and Mobile Development, 626 Menubar Designer Form Designer, 709 mergemethods() Reflection and Meta-programming, 321 Methods to use Events with Events Filter Desktop and Mobile Development, 689 methods() Reflection and Meta-programming, 314 Misc Operators Operators, 174 Module Organization Extension, 799 More Beatiful Code Declarative Programming, 368 More Samples and Tests Form Designer, 711 More Syntax Flexibility What is new in Ring 1.5?, 79 Motivation Introduction, 22 Mouse Events RingLibSDL, 466 Using RingOpenGL and RingFreeGLUT for 3D Graphics, 538 Movable Label Example Desktop and Mobile Development, 642 Moving Objects using the Mouse Desktop and Mobile Development, 648 Moving Text Game Engine for 2D Games, 475 Multi-Line literals Getting Started - First Style, 143 Getting Started - Second Style, 146 Getting Started - Third Style, 149 MurmurHash1 functions RingMurmurHash Functions Reference, 843 MurmurHash2 functions RingMurmurHash Functions Reference, 843 MurmurHash3 functions RingMurmurHash Functions Reference, 843 MySQL Class Stdlib Classes, 360 MySQL Functions Create Database, 271 Create Table and Insert Data, 272 Introduction, 269 MySQL_AutoCommit(), 277 MySQL_Close(), 271 MySQL_Columns(), 274 MySQL_Commit(), 277 MySQL_Connect(), 271 MySQL_Error(), 271 MySQL_Escape_String(), 276 MySQL_Info(), 270 MySQL_Init(), 271 MySQL_Inser_ID(), 273 MySQL_Next_Result(), 274 MySQL_Query(), 271 MySQL_Result(), 274 MySQL_Result2(), 275 MySQL_Rollback(), 277 Print Query Result, 274 Restore Image From The Database, 276 Save Image Inside the Database, 276 Index 1837
  • 6. Ring Documentation, Release 1.6 Transaction Example, 277 MySQL_AutoCommit() MySQL Functions, 277 MySQL_Close() MySQL Functions, 271 MySQL_Columns() MySQL Functions, 274 MySQL_Columns() Implementation Extension, 805 MySQL_Commit() MySQL Functions, 277 MySQL_Connect() MySQL Functions, 271 MySQL_Error() MySQL Functions, 271 MySQL_Escape_String() MySQL Functions, 276 MySQL_Info() MySQL Functions, 270 MySQL_Init() MySQL Functions, 271 MySQL_Inser_ID() MySQL Functions, 273 MySQL_Next_Result() MySQL Functions, 274 MySQL_Query() MySQL Functions, 271 MySQL_Result() MySQL Functions, 274 MySQL_Result2() MySQL Functions, 275 MySQL_Rollback() MySQL Functions, 277 Natural Language Programming BraceError() Method, 377 BraceExprEval Method, 376 BraceStart and BraceEnd Methods, 375 Change the ’=’ operator to ’is’, 373 Change the Ring Keyword ’And’, 371 Change the Ring Operator ’+’, 372 Clean Natural Code, 378 Example, 370 History, 370 Introduction, 369 Real Natual Code, 376 Using Eval() with our Natural Code, 374 Natural Library - Demo Program Using the Natural Library, 380 Nested Lists Lists, 210 New Classes names - Index Start from 1 Desktop and Mobile Development, 691 New Functions What is new in Ring 1.2?, 117 What is new in Ring 1.3?, 113 New Functions and Changes What is new in Ring 1.1?, 126 New Style to Ring Notepad What is new in Ring 1.4?, 95 New Tool: Folder2qrc What is new in Ring 1.6?, 39 New Tool: Ring2EXE What is new in Ring 1.6?, 38 newlist() Stdlib Functions, 327 No Explicit End For Statements Getting Started - First Style, 144 Getting Started - Second Style, 147 Getting Started - Third Style, 149 No Run Command Line Options, 757 Not Case-Sensitive Getting Started - First Style, 143 Getting Started - Second Style, 146 Getting Started - Third Style, 148 Notepad Application Desktop and Mobile Development, 665 nullpointer() Low Level Functions, 772 Number() Data Type, 229 Numbers and Bytes Files, 246 Object and Drawing Game Engine for 2D Games, 489 Object Library Source Code Objects Library for RingQt Application, 703 Object Oriented Programming Access Objects Using Braces, 289 Classes and Objects, 287 Composition, 290 Dynamic Attributes, 294 Find() and List of Objects, 295 Inheritance, 293 Introduction, 286 Operator Overloading, 292 Packages, 294 Printing Objects, 295 Private Attributes and Methods, 291 Setter and Getter, 291 Sort() and List of Objects, 296 Using Self.Attribute, 298 object2pointer() Low Level Functions, 772 objectid() Reflection and Meta-programming, 313 Index 1838
  • 7. Ring Documentation, Release 1.6 Objects inside lists Declarative Programming, 364 Objects Library for RingQt What is new in Ring 1.2?, 119 Objects Library for RingQt Application Example, 699 Introduction, 698 Library Usage, 699 Object Library Source Code, 703 Open_WindowAndLink() Function, 702, 703 Open_WindowInPackages() Function, 703 ODBC Class Stdlib Classes, 359 ODBC Functions Execute Query and Print Result, 265 Introduction, 260 odbc_autocommit(), 267 odbc_close(), 262 odbc_colcount(), 264 odbc_columns(), 266 odbc_commit(), 267 odbc_connect(), 263 odbc_datasources(), 262 odbc_disconnect(), 264 odbc_drivers(), 261 odbc_execute(), 264 odbc_fetch(), 265 odbc_getdata(), 265 odbc_init(), 261 odbc_rollback(), 267 odbc_tables(), 265 Open and Close Connection, 264 Print List of ODBC Data Sources, 263 Print List of ODBC Drivers, 262 Save and Restore Images, 268 Transactions and Using Commit and Rollback, 267 odbc_autocommit() ODBC Functions, 267 odbc_close() ODBC Functions, 262 odbc_colcount() ODBC Functions, 264 odbc_columns() ODBC Functions, 266 odbc_commit() ODBC Functions, 267 odbc_connect() ODBC Functions, 263 odbc_datasources() ODBC Functions, 262 odbc_disconnect() ODBC Functions, 264 odbc_drivers() ODBC Functions, 261 odbc_execute() ODBC Functions, 264 odbc_fetch() ODBC Functions, 265 odbc_getdata() ODBC Functions, 265 odbc_init() ODBC Functions, 261 odbc_rollback() ODBC Functions, 267 odbc_tables() ODBC Functions, 265 Open and Close Connection ODBC Functions, 264 Open_WindowAndLink() Function Objects Library for RingQt Application, 702, 703 Open_WindowInPackages() Function Objects Library for RingQt Application, 703 Operator Overloading Object Oriented Programming, 292 Operators Arithmetic Operators, 173 Assignment Operators, 174 Bitwise Operators, 174 Introduction, 172 Logical Operators, 173 Misc Operators, 174 Operators Precedence, 174 Relational Operators, 173 Using the Natural Library, 384 Operators Precedence Operators, 174 Options Distributing Ring Application using Ring2EXE, 762 OSCopyFile() Function Stdlib Functions, 339 OSCopyFolder() Function Stdlib Functions, 339 OSCreateOpenFolder() Function Stdlib Functions, 339 OSDeleteFile() Function Stdlib Functions, 340 OSDeleteFolder() Function Stdlib Functions, 339 OSRenameFile() Function Stdlib Functions, 340 Other Widgets Events Desktop and Mobile Development, 630 packagename() Reflection and Meta-programming, 322 Packages Object Oriented Programming, 294 packages() Index 1839
  • 8. Ring Documentation, Release 1.6 Reflection and Meta-programming, 309 packagesclasses() Reflection and Meta-programming, 312 Page Class Web Development (CGI Library), 436 palindrome() Stdlib Functions, 333 Pass Error The Trace Library and the Interactive Debugger, 791 Passing Lists to Functions Lists, 211 Passing Parameters Using List Lists, 212 Performance Command Line Options, 757 permutation() Stdlib Functions, 334 Perror() Files, 242 Philosophy behind data types in Ring Frequently Asked Questions, 1782 Play Sound RingLibSDL, 467 Playing Sound Desktop and Mobile Development, 640 Game Engine for 2D Games, 477 Graphics and Game Programming, 456 pointer2object() Low Level Functions, 772 Post Request RingLibCurl, 441 Practical Applications developed in little hours, 20 Prefix for Functions Names Code Generator, 813 PrevFileName() Function System Functions, 251 Print files in Zip file RingZip, 445 Print List of ODBC Data Sources ODBC Functions, 263 Print List of ODBC Drivers ODBC Functions, 262 Print Query Result MySQL Functions, 274 print() Stdlib Functions, 323 Print2Str() Function Stdlib Functions, 323 Printing Final Intermediate Code Command Line Options, 752 Printing Instruction Operation Code Command Line Options, 757 Printing Intermediate Code Command Line Options, 750 Printing Objects Object Oriented Programming, 295 Printing Rules Command Line Options, 746 Printing Tokens Command Line Options, 744 Printing using QPrinter Desktop and Mobile Development, 638 Private Attributes and Methods Object Oriented Programming, 291 prodlist() Stdlib Functions, 332 Program Structure Introduction, 204 Source Code File Sections, 205 Using Many Source Code Files, 205 Project Folder Building Games For Android, 519 Project Layers Game Engine for 2D Games, 469 Protecting the Source Code Distributing Ring Application, 759 ptrcmp() Low Level Functions, 773 Pure Functions Functional Programming, 300 puts() Stdlib Functions, 323 QAbstractButton Class RingQt Classes Reference, 1670 QAbstractItemView Class RingQt Classes Reference, 1656 QAbstractScrollArea Class RingQt Classes Reference, 1655 QAbstractSlider Class RingQt Classes Reference, 1663 QAbstractSocket Class RingQt Classes Reference, 1691 QAbstractSpinBox Class RingQt Classes Reference, 1666 QAction Class RingQt Classes Reference, 1674 QAllEvents Class RingQt Classes Reference, 1704 QApp Class RingQt Classes Reference, 1621 QAxBase Class RingQt Classes Reference, 1758 QAxObject Class RingQt Classes Reference, 1758 QBitmap Class RingQt Classes Reference, 1629 Index 1840
  • 9. Ring Documentation, Release 1.6 QBluetoothAddress Class RingQt Classes Reference, 1764 QBluetoothDeviceDiscoveryAgent Class RingQt Classes Reference, 1764 QBluetoothDeviceInfo Class RingQt Classes Reference, 1764 QBluetoothHostInfo Class RingQt Classes Reference, 1765 QBluetoothLocalDevice Class RingQt Classes Reference, 1765 QBoxLayout Class RingQt Classes Reference, 1748 QBrush Class RingQt Classes Reference, 1688 QBuffer Class RingQt Classes Reference, 1763 QButtonGroup Class RingQt Classes Reference, 1671 QByteArray Class RingQt Classes Reference, 1688 QCamera Class RingQt Classes Reference, 1743 QCameraImageCapture Class RingQt Classes Reference, 1744 QCameraViewfinder Class RingQt Classes Reference, 1742 QCheckBox Class RingQt Classes Reference, 1669 QColor Class RingQt Classes Reference, 1682 QColorDialog Class RingQt Classes Reference, 1701 QComboBox Class RingQt Classes Reference, 1645 QCompleter Class RingQt Classes Reference, 1752 QCompleter2 Class RingQt Classes Reference, 1753 QCompleter3 Class RingQt Classes Reference, 1753 QCoreApplication Class RingQt Classes Reference, 1773 QCursor Class RingQt Classes Reference, 1757 QDate Class RingQt Classes Reference, 1715 QDateEdit Class RingQt Classes Reference, 1664 QDateTime Class RingQt Classes Reference, 1765 QDateTimeEdit Class RingQt Classes Reference, 1664 QDesktopServices Class RingQt Classes Reference, 1621 QDesktopWidget Class RingQt Classes Reference, 1708 QDial Class RingQt Classes Reference, 1667 QDialog Class RingQt Classes Reference, 1698 QDir Class RingQt Classes Reference, 1640 QDirModel Class RingQt Classes Reference, 1697 QDockWidget Class RingQt Classes Reference, 1651 QEvent Class RingQt Classes Reference, 1675 QFileDialog Class RingQt Classes Reference, 1677 QFileInfo Class RingQt Classes Reference, 1696 QFileSystemModel Class RingQt Classes Reference, 1640 QFont Class RingQt Classes Reference, 1686 QFontDialog Class RingQt Classes Reference, 1698 QFontMetrics Class RingQt Classes Reference, 1747 QFrame Class RingQt Classes Reference, 1654 QFrame2 Class RingQt Classes Reference, 1655 QFrame3 Class RingQt Classes Reference, 1655 QGradient Class RingQt Classes Reference, 1750 QGraphicsVideoItem Class RingQt Classes Reference, 1742 QGridLayout Class RingQt Classes Reference, 1740 QGuiApplication Class RingQt Classes Reference, 1771 QHBoxLayout Class RingQt Classes Reference, 1634 QHeaderView Class RingQt Classes Reference, 1744 QHostAddress Class RingQt Classes Reference, 1695 QHostInfo Class RingQt Classes Reference, 1695 QIcon Class RingQt Classes Reference, 1631 QImage Class RingQt Classes Reference, 1725 QInputDialog Class RingQt Classes Reference, 1703 Index 1841
  • 10. Ring Documentation, Release 1.6 QIODevice Class RingQt Classes Reference, 1690 QJsonArray Class RingQt Classes Reference, 1734 QJsonDocument Class RingQt Classes Reference, 1735 QJsonObject Class RingQt Classes Reference, 1736 QJsonParseError Class RingQt Classes Reference, 1736 QJsonValue Class RingQt Classes Reference, 1736 QKeySequence Class RingQt Classes Reference, 1702 QLabel Class RingQt Classes Reference, 1628 QLayout Class RingQt Classes Reference, 1749 QLCDNumber Class RingQt Classes Reference, 1702 QLinearGradient Class RingQt Classes Reference, 1750 QLineEdit Class RingQt Classes Reference, 1631 QLineEdit Events and QMessageBox Desktop and Mobile Development, 628 QListView Class RingQt Classes Reference, 1757 QListWidget Class RingQt Classes Reference, 1636 QListWidgetItem Class RingQt Classes Reference, 1714 QMainWindow Class RingQt Classes Reference, 1649 QMdiArea Class RingQt Classes Reference, 1755 QMdiSubWindow Class RingQt Classes Reference, 1756 QMediaObject Class RingQt Classes Reference, 1744 QMediaPlayer Class RingQt Classes Reference, 1672 QMediaPlaylist Class RingQt Classes Reference, 1672 QMenu Class RingQt Classes Reference, 1647 QMenuBar Class RingQt Classes Reference, 1647 QMessageBox Class RingQt Classes Reference, 1676 QMessagebox Example Desktop and Mobile Development, 643 QMutex Class RingQt Classes Reference, 1763 QMutexLocker Class RingQt Classes Reference, 1763 QNetworkAccessManager Class RingQt Classes Reference, 1723 QNetworkProxy Class RingQt Classes Reference, 1693 QNetworkReply Class RingQt Classes Reference, 1724 QNetworkRequest Class RingQt Classes Reference, 1722 QObject Class RingQt Classes Reference, 1621 QPainter Class RingQt Classes Reference, 1679 QPainter2 Class RingQt Classes Reference, 1681 QPainterPath Class RingQt Classes Reference, 1724 QPen Class RingQt Classes Reference, 1682 QPicture Class RingQt Classes Reference, 1681 QPixmap Class RingQt Classes Reference, 1629 QPixmap2 Class RingQt Classes Reference, 1631 QPlainTextEdit Class RingQt Classes Reference, 1737 QPoint Class RingQt Classes Reference, 1751 QPointF Class RingQt Classes Reference, 1750 QPrinter Class RingQt Classes Reference, 1685 QProcess Class RingQt Classes Reference, 1754 QProgressBar Class RingQt Classes Reference, 1661 QPushButton Class RingQt Classes Reference, 1629 QRadioButton Class RingQt Classes Reference, 1671 QRect Class RingQt Classes Reference, 1708 QRegion Class RingQt Classes Reference, 1775 QRegularExpression Class RingQt Classes Reference, 1733 QRegularExpressionMatch Class RingQt Classes Reference, 1733 QRegularExpressionMatchIterator Class RingQt Classes Reference, 1734 QScreen Class RingQt Classes Reference, 1766 Index 1842