ADDRESS
ARRAY
Assembler
QComponents
Console
Device
Display graphic images
Directories
DLL
Files and directories
Loops
Manage memory

Function

Mouse
Operators

PRINTER
Procedures, Functions
RESOURCE
SORTING
Strings
fixed-length strings

Types
Variables
VARIANT

ADDRESS
CALLBACK
VARPTR
VARPTR$

sadd - Returns the memory offset of the string data in the string variable
' use as pointer to the string variable
ARRAY
INITARRAY
DEF...
DIM
LBOUND
MEMSET
QUICKSORT
REDIM
UBOUND

How do you pass an array to a DLL??

Array functions
(func_array.inc)
CONVERSION
BIN$
RGB
CEIL
CINT
CLNG
CONVBASE$
FIX
FLOOR
FRAC
HEX$
INT -
Convert NumericExpression to a 32-bit INTEGER, truncating decimals

Custom - Conversion.inc
vidnum$
- returns the string representation of a rounded numeric
Hex2Dec
DecToHex
CNumByte
- converts number to bytes sequence
CByteNum
- converts bytes sequence to number
SecTime - return  number of seconds from 0:00
DayDate -  return  number of days from 0 year.
TimeString - convert number of seconds from 0:00 to hh:mm:ss fofmat
Ob2Grad - convert value of revolutions to degree of arc

 

CONSOLE
Writing Console Applications
GET$
INKEY$
INPUT
LOCATE
PCOPY
PEEK
POKE
PRINT
SETCONSOLETITLE
input/output
INP
INPW
Display graphic images

DLL
LIB -
How to call a DLL
LIBRARYINST
UNLOADLIBRARY

How do you pass an array to a DLL??
FreeBasic DLL
-
Passing string parameter
Files
Introduction to streams
FILEEXISTS
KILL
QFILESTREAM
QFILELISTBOX

Custom file functions
QSHFileOperation.inc
QSHFileOperation
-copy, rename, delete and move files and folders with wildcard and recursivly
-----------------------
Files.inc
STRIPPATH
- Returns file path (without file name)
STIPFILENAME
- Returns file name (without path)
STRIPFILEEXT
- Returns file extension (like ".exe", ".html"  etc.)
FILENAMENOEXT
- Returns file name without extension
FULLPATHNOEXT
- Returns full path without file extension
C_Style
Returns "slashed" path from a "backslashed" one
ChangeFileExt - Changes the extention of FileName to NewExt
ExtractFileName
- Returns only the file name
ExtractFilePath
- returns only the path
ChangeFileName
- create string with new
filename with the same path

ChangeFilePath
- create string with new path with the  same filename
io2Rnd - convert text file with single value strings to binary
Rnd2io  - convert  binary file with single type value data to  text file with single type value strings
FileCopy-Copy FileSrc$ to FileDst$
KillFiles-Kill files in FileName$  with mask
FileSize - returns size of file
SaveString -
save string in file
LoadString -
load string from file
 


Directories
CHDIR
CHDRIVE
CURDIR$
DIREXISTS
DIR$
MKDIR
QDIRTREE
RMDIR
Custom -Files.inc
MKSubDir
SubDirCopy-
Copy directory with full subdir structure and files
fSubDirCopy-the same, but return result of operation
DirCopy
KillSubDir
-Kill files by mask$ in all subdirs
SYSDIR
Retrieves windows shell directories
HOMEDIR
The folder where the application is

Functions & Sub
SUBI, FUNCTIONI, and DLLs
Rapid-Q Sub & Functions
PARAMSTR$
PARAMSTRCOUNT
Loops
Loops
FOR .. NEXT Loop
EXIT FOR
WHILE .. WEND
EXIT WHILE
DO .. LOOP
EXIT DO
Math Functions
Arithmetic operators
ABS
ACOS
ASIN
ATAN
ATN
COS
DEC
EXP
INC
INV
LOG
MOD
RANDOMIZE
RND
ROUND
SGN
SIN
SQR
TAN
-- custom math func
ACOSH
ACOT
ACOTH
ACOSEC
ACOSECH
ADDZ
ASINH
ASEC
ASECH
ATANH
CONJZ
COSEC
COSECH
COSH
COSZ
COSHZ
COT
COTH
DEG2RAD
DIVZ
EVEN
EXPZ
FAC
GCD
INVZ
LOG10
LOG10Z
LOGAZ
LOGZ
MAGZ
MULZ
NORZ
ODD
POLZ
POWZ
RAD2DEG
RQE
RQPI
SEC
SECH
SINH
SINZ
SINHZ
SQRZ
SUBZ
TANH
TANZ
FindMax
also see CONVERSION
Manage memory
MEMCMP
MEMCPY
MEMSET
Mouse
MOUSEX, MOUSEY
POINTER
BIND
BIND
CALLFUNC
CALLFUNC
PRINTER
LPRINT
LFLUSH
PRINTER
using
Procedures
RESOURCE
EXTRACTRESOURCE
RESOURCE
RESOURCECOUNT
SORTING
QUICKSORT
Strings
Chapter 6- Strings formats

Custom functions -
Conversion.inc
Add0Before
- A function that pre-padd string with 0's to  required Length
ByteReOrder
- A function that reorder bytes in string.
LIKE - pattern matching routine
TimeString
- return time in Houre, Min, Sec.
 


ASC
BIN$
CHR$
CONVBASE$
- Bin to Hex, ets.
DATE$
- MM-DD-YYYY
DELETE$
FIELD$
FORMAT$
HEX$
INKEY$
INSERT$
INSTR
LCASE$
LEFT$
LEN
LTRIM$
MID$
REPLACE$
REPLACESUBSTR$
REVERSE$
RIGHT$
RINSTR
RTRIM$
SPACE$
STRING$
STR$
STRF$
TALLY
TIME$
UCASE$

SYSTEM
ENVIRON$

custom
Control.inc -
Windows control panel library for Rapid-Q

 

 

Types
objects
variants
udts
arrays
INITARRAY
DIM Array
Saving/Loading UDTs and Arrays
DEF
Set traps for events and errors
Relational
Functional
Logical
AND
Variables
Variables and Assignments
BYTE (?)
WORD (??)
DWORD (???)
SHORT (%)
LONG (&) or INTEGER
SINGLE (!)
DOUBLE (#)
STRING ($)
VARIANT