Macros and Programming

General Information and User Interface Usage

%PRODUCTNAME Basic Help
Programming with %PRODUCTNAME Basic
%PRODUCTNAME Grunn-atriðisorðaskrá
Grunnatriði
Notkun
%PRODUCTNAME Basic IDE
IDE Overview
The Basic Editor
Vöktunargluggi
Macro Toolbar
Fjölvi

Command Reference

Using Procedures and Functions
Libraries, Modules and Dialogs

Run-Time Functions, Statements, and Operators

Screen I/O Functions
File I/O Functions
Date and Time Functions
Error-Handling Functions
Logical Operators
Stærðfræðiaðgerðatákn
Numeric Functions
Controlling Program Execution
Breytur
Comparison Operators
Strengir
Aðrar skipanir

Alphabetic List of Functions, Statements, and Operators

Abs Fall [Runtime]
AND Operator [Runtime]
Array Fall [Runtime]
Asc Fall [Runtime]
Atn Fall [Runtime]
Beep Skipun [Runtime]
Blue Fall [Runtime]
CBool Fall [Runtime]
CByte Fall [Runtime]
CDateFromIso Fall [Runtime]
CDateToIso Fall [Runtime]
CDate Fall [Runtime]
CDbl Fall [Runtime]
CInt Fall [Runtime]
CLng Fall [Runtime]
CSng Fall[Runtime]
CStr Function [Runtime]
Call Skipun [Runtime]
ChDir Skipun [Runtime]
ChDrive Statement [Runtime]
Choose Function [Runtime]
Chr Fall [Runtime]
Close Skipun [Runtime]
Comparison Operators [Runtime]
Const Skipun [Runtime]
ConvertFromURL Fall [Runtime]
ConvertToURL Fall [Runtime]
Cos Fall [Runtime]
CreateUnoDialog Fall [Runtime]
CreateUnoListener Fall [Runtime]
CreateUnoService Fall [Runtime]
CreateUnoStruct Fall [Runtime]
CurDir Function [Runtime]
DateSerial Fall [Runtime]
DateValue Fall [Runtime]
Date Skipun [Runtime]
Day Fall [Runtime]
Declare Statement [Runtime]
DefBool Skipun [Runtime]
DefDate Skipun [Runtime]
DefDbl Skipun [Runtime]
DefInt Skipun [Runtime]
DefLng Skipun [Runtime]
DefObj Skipun [Runtime]
DefVar Skipun [Runtime]
DimArray Fall [Runtime]
Dim Skipun [Runtime]
Dir Function [Runtime]
Do...Loop skipun [Runtime]
Comparison Operators [Runtime]
End Statement [Runtime]
Environ Fall [Runtime]
Eof Fall [Runtime]
EqualUnoObjects Fall [Runtime]
Eqv Operator [Runtime]
Erl Fall [Runtime]
Err Fall [Runtime]
Error Fall [Runtime]
Error-Handling Functions
Exit Skipun [Runtime]
Exp Fall [Runtime]
FileAttr-Function [Runtime]
FileCopy Skipun [Runtime]
FileDateTime Fall [Runtime]
FileExists Function [Runtime]
FileLen-Function [Runtime]
FindObject Fall [Runtime]
FindPropertyObject Fall [Runtime]
Fix Fall [Runtime]
For...Next skipun [Runtime]
Format Fall [Runtime]
FreeFile Function[Runtime]
FreeLibrary Fall [Runtime]
Function Statement [Runtime]
Further Statements
Generating Random Numbers
GetAttr Fall [Runtime]
GetProcessServiceManager Fall [Runtime]
GetSolarVersion Fall [Runtime]
GetSystemTicks Fall [Runtime]
Get Skipun [Runtime]
GlobalScope [Runtime]
GoSub...Return Statement [Runtime]
GoTo Skipun [Runtime]
Green Fall [Runtime]
HasUnoInterfaces Fall [Runtime]
Hex Fall [Runtime]
Hour Fall [Runtime]
IIf Skipun [Runtime]
If...Then...Else Statement [Runtime]
Imp-Operator [Runtime]
InStr Fall [Runtime]
InputBox Fall [Runtime]
Input# Statement [Runtime]
Int Fall [Runtime]
IsArray Fall [Runtime]
IsDate Fall [Runtime]
IsEmpty Fall [Runtime]
IsMissing function [Runtime]
IsNull Fall [Runtime]
IsNumeric Fall [Runtime]
IsObject Function [Runtime]
IsUnoStruct Fall [Runtime]
Join Function [Runtime]
Kill Skipun [Runtime]
LBound Fall [Runtime]
LCase Fall [Runtime]
LSet Skipun [Runtime]
LTrim Fall [Runtime]
Left Fall [Runtime]
Len Fall [Runtime]
Let Skipun [Runtime]
Line Input # Statement [Runtime]
Loc Fall [Runtime]
Lof Fall [Runtime]
Log Fall [Runtime]
Mid Function, Mid Statement [Runtime]
Minute Fall [Runtime]
MkDir Skipun [Runtime]
Mod-Operator [Runtime]
Month Fall [Runtime]
MsgBox Fall [Runtime]
MsgBox Skipun [Runtime]
Name Skipun [Runtime]
Not-Operator [Runtime]
Now Fall [Runtime]
Numeric Functions
Oct Fall [Runtime]
On Error GoTo ... Resume Statement [Runtime]
On...GoSub Statement; On...GoTo Statement [Runtime]
Open Statement[Runtime]
Option Base Statement [Runtime]
Option Explicit Statement [Runtime]
Optional (in Function Statement) [Runtime]
Or-Operator [Runtime]
Print Skipun [Runtime]
Public Skipun [Runtime]
Put Skipun [Runtime]
QBColor Fall [Runtime]
RGB Fall [Runtime]
RSet Skipun [Runtime]
RTrim Fall [Runtime]
Randomize Skipun [Runtime]
ReDim Statement [Runtime]
Red Fall [Runtime]
Rem Statement [Runtime]
Reset Skipun [Runtime]
Right Fall [Runtime]
RmDir Skipun [Runtime]
Rnd Fall [Runtime]
Second Fall [Runtime]
Seek Function [Runtime]
Seek Statement [Runtime]
Select...Case Statement [Runtime]
SetAttr Skipun [Runtime]
Set Statement[Runtime]
Sgn Fall [Runtime]
Shell Function [Runtime]
Sin Fall [Runtime]
Space Fall [Runtime]
Split Fall [Runtime]
Sqr Fall [Runtime]
Square Root Calculation
Static Skipun [Runtime]
Stop Skipun [Runtime]
StrComp Fall [Runtime]
Str Fall [Runtime]
String Fall [Runtime]
Sub Skipun [Runtime]
Switch Fall [Runtime]
Tan Fall [Runtime]
TimeSerial Fall [Runtime]
TimeValue Fall [Runtime]
Time Skipun [Runtime]
Timer Fall [Runtime]
Trigonometric Functions
Trim Fall [Runtime]
TwipsPerPixelX Fall [Runtime]
TwipsPerPixelY Fall [Runtime]
TypeName Function; VarType Function[Runtime]
UBound Fall [Runtime]
UCase Fall [Runtime]
Val Fall [Runtime]
Wait Skipun [Runtime]
WeekDay Fall [Runtime]
While...Wend Statement[Runtime]
With Skipun [Runtime]
Write Skipun [Runtime]
Xor-Operator [Runtime]
Year Fall [Runtime]
"-" Operator [Runtime]
"*" Operator [Runtime]
"+" Operator [Runtime]
"/" Operator [Runtime]
"^" Operator [Runtime]

Guides

Changing the Properties of Controls in the Dialog Editor
Creating Controls in the Dialog Editor
Programming Examples for Controls in the Dialog Editor
Opening a Dialog With Program Code
Creating a Basic Dialog
Organizing Libraries and Modules
Using Variables
Using Objects
Debugging a Basic Program
Event-Driven Macros