ASNA Visual RPG 17.0 Help
Visual RPG Changes
What's New in the Visual RPG Language?
.NET Framework Multi-Targeting Support
How to work with Non-English Characters
Generic Types Overview
What's Changed in the Visual RPG Language?
Top Ten Biggest Changes from AVR Classic 4.0
Language Recommendations for Upgrading
Preparing an AVR Application for Upgrading
Things to Consider Before Upgrading
Introducing Visual RPG
Using Visual Studio 2022
What's New in Visual RPG 17.0
Managed Compatibility
Managing Projects
Application Page, Project Designer
Reference Paths Page, Project Designer
Build Events Page, Project Designer
Build Page, Project Designer
Debug Page, Project Designer
Resources Page, Project Designer
Settings Page, Project Designer
Code Analysis Overview
Code Analysis, Project Designer
Getting Started in Visual RPG
Examples and Tutorials
Examples
Tutorials: Creating a Web or Windows Application
Installation and Setup
Visual RPG for Visual Studio Hardware Requirements
Language Concepts
Arrays
Arrays Overview
Array Usage
Assemblies
Allocating Memory
Namespaces
Custom Attributes
Strong-Named Assemblies
Control Flow
Decision Structures
Loop Structures
Nested Control Statements
DataTypes
DataType Declaration
Elementary DataTypes
Numeric DataTypes
Integral Types
NonIntegral Types
*Char Data Type
DataType Implementation
Values Types and Reference Types
Value Types vs. Reference Types
DataTypes as Classes and Structures
DataType Comparison
Data Structure Changes
Declared Elements
Declared Element Characteristics
Declared Element Lifetime
Static Variable Initialization
Declared Element Scope
Levels of Scope
Accessibility
Enumerations Overview
Events
Expressions
Calculating Numeric Values
Value Comparisons
Boolean Expressions
Objects
What is an Object?
Relation of Objects to Each Other
The Basics of Working with Objects
Objects, Properties, Methods, and Events
Using Constructors
Object-Oriented Programming
Using NetBlockFactor
Performing Multiple Actions on an Object
Namespaces
Namespace Declarations
Namespace Concepts
Operators
Arithmetic Operators
Comparison Operators
Concatenation Operators
Logical Operators
Properties
Setting and Retrieving Properties
Strings
Manipulating Strings
Type Members
Variables
Variable Declaration
Object Variables
Object Variable Assignment
Object Variable Declaration
BegUsing/EndUsing Blocks
Object Variable Values
Collapsing and Hiding Code
DataGate Print File Designer Overview
Renderer Command Options
Using the InfSR keyword
Considerations for OLE Print File Conversion
Rules of Subroutine Overloading
Unicode
RPG Cycle
Level Break Indicator (*INL1...*INL9)
*DetailCalc Method
*FetchOverflow Method
Matching Record Indicator (*INMR)"
Handling Cycle Output to Database Files
Overflow Indicators
*StartCycle Method
*TotalCalc Method
Interfaces in Visual RPG
Operation Codes
Operation Codes Overview
Assignment Operation Codes
Declaration Operation Codes
Executable Operation Codes
Language Tour
Object-Oriented Programming in Visual RPG
Early and Late Binding
Shared Members
Understanding Classes
Classes
Classes vs. Standard Programs
Object Lifetime
Using Constructors
Class Properties, Fields and Methods
Adding Fields and Properties to a Class
Properties and Property Procedures
Property Procedures vs. fields
Properties vs. Methods
Overloaded Properties
Overriding Properties and Methods
Override Modifiers
Events
Inheritance
Inheritance (Extensibility) Basics
When to Use Inheritance
When to Use Interfaces
Inheritance and the .NET Framework
Creating and Using Objects
Introduction to Objects in Visual RPG
Setting and Retrieving Properties
Performing Actions with Methods
Treating Forms as Objects
WCF Support
Web Server Sizing Recommendations
Creating a Virtual Directory
WPF Support
Language Reference
Language Elements
Comments
File Processing
Mainline Code
Continuation Lines
Control Language
Miscellaneous Data Types
Declarations
Access Types
Internal Access
Public Access
Private Access
Protected Access
General Subroutines
Multiple Occurrence Data Structures
Names
Printing
Reserved Names
Simple Types
Subroutine Parameters
Type Conversions
Setting Colors
Methods
Comparison Commands
Comparison Operators
Compare Operations Rules
Programs
Functions
Event Subroutines
Event Subroutine Parameters
Properties
Control Properties
Rules on Naming a Control Property
Edit Code Table
Edit Code Table
Commitment Control
Edit Word Usage
Edit Word Usage
Built-In Functions
%ABS Function
%BOOL Function
%CHAR Function
%CHECK Function
%CHECKR Function
%DATE Function
%DAYS Function
%DEC Function
%DECH Function
DECPOS Function
%DIFF Function
%DIGITS Function
%DIV Function
%EDITC Function
%EDITFLT Function
%EDITW Function
%ELEM Function
%EOF Function
%ERROR Function
%EQUAL Function
%FLOAT Function
%FOUND Function
%HOURS Function
%INT Function
%INTH Function
%OMITTED Function
%KDS Function
%LEN Function
%LOOKUP Function
%MINUTES Function
%MONTHS Function
%MSECONDS Function
%NULLIND Function
%OCCUR Function
%OPEN Function
%PARMS Function
%REM Function
%REPLACE Function
%SCAN Function
%SECONDS Function
%SIZE Function
%SQRT Function
%SUBDT Function
SUBST Function
%TIME Function
%TIMESTAMP Function
%TLOOKUP Function
%TRIM Function
%TRIML Function
%TRIMR Function
%XFOOT_Function
%XLATE Function
%YEARS Function
%MSECONDS Function
Class Library
ASNA.VisualRPG.Runtime Namespace
Database Class
Database Members
Database Constructors
Database.Database (string)
Database Methods
Database.AddMember Method
Database.ClearMember Method
Database.RenameMember Method
Database.CopyFileToDb Method
Database.CopyLogicalFileToDb Method
Database.CreateDirectory Method
Database.CreateName Method
Database.DeleteFile Method
Database.DeleteName Method
Database.GetNames Method
Database.InitializeMember Method
Database.RemoveDirectory Method
Database.RemoveMember Method
Database.RenameFile Method
Database.UpdateName Method
Database Properties
Database.CurrentUserLibl Property
Database.DBName Property
Database.InitialException Property
Database.InitialLibl Property
Database.IsOpen Property
Database.Label Property
Database.Password Property
Database.PlatformAttribute Property
Database.PoolingTimeOut Property
Database.Port Property
Database.Server Property
Database.Text Property
Database.User Property
DataGateException Class
DataGateException Members
DataGateException Methods
DataGateException.ToString Method
DataGateException Fields
DataGateException.CausingException Field
DataGateException.DclFileName Field
DBFile Class
DBFile Members
DBFile Properties
DBFile.Overrider Property
DBFile.FormatName Property
IsEof Property
IsEqual Property
IsError Property
IsFound Property
DBFile.RecCount Property
DBFile.RecNum Property
DBFile Fields
DBFile.BlockingFactor Field
PrintFile.DclFileName Field
DBFile.FilePath Field
DBFile.IsDefaultRFN Field
DBFile.IsFormatID Field
DBFile.IsKeyed Field
DBFile.MemberName Field
DBFile.QryFileName Field
DBFile.QryKeyFlds Field
DBFile.QrySelect Field
DBFile.ShareType Field
DBFile.WaitRec Field
DBFile Constructors
DBFile.DBFile (string, string, string, int, string, boolean, int, string, string, string)
IDS Interface
IDS Members
IDS Methods
IDS.Clear Method
IDS.Dump Method
IDS.Load Method
IDS.ObjectToParm Method
IDS.ParmToObject Method
IDS Properties
IDS.Length Property
IMODS Interface
IMODS Members
IMODS Methods
IMODS.ClearAll Method
IMODS.DumpAll Method
IMODS.LoadAll Method
IMODS Properties
IMODS.Occurance Property
MemoryFile Class
MemoryFile Members
MemoryFile Methods
MemoryFile.GetDataColumn Method
MemoryFile.ClearFileData Methods
MemoryFile.ClearFileData Method
MemoryFile.ClearFileData Method
MemoryFile.ClearFileData Method
MemoryFile.GetFileData Methods
MemoryFile.GetFileData Method
MemoryFile.GetFileData Method
MemoryFile.GetFileData Method
MemoryFile Properties
MemoryFile.DataSet Property
MemoryFile.SflRRN Property
MemoryFile Fields
MemoryFile.sflRRN Field
MessageFileReader Class
MessageFileReader Members
MessageFileReader Methods
GetMessageText Method
GetSecondMessageText Method
MessageFileReader Constructors
PrintFile Class
PrintFile Members
PrintFile Properties
PrintFile.Collate Property
File.LastException Property
PrintFile.Copies Property
PrintFile.CursorY Property
PrintFile.Duplex Property
PrintFile.FooterSize Property
PrintFile.FormName Property
PrintFile.InOverflow Property
PrintFile.ManuscriptPath Property
PrintFile.Orientation Property
PrintFile.PaperLength Property
PrintFile.PaperSize Property
PrintFile.PaperSource Property
PrintFile.PaperWidth Property
PrintFile.IsOpen Property
PrintFile.Preview Property
PrintFile.PrintableLength Property
PrintFile.PrintableWidth Property
PrintFile.Printer Property
PrintFile.PrintSetup Property
PrintFile.ProcessMacro Property
PrintFile.Quality Property
PrintFile.ReportName Property
PrintFile.Scale Property
PrintFile.TTOPTION Property
PrintFile.UseColor Property
PrintFile.YResolution Property
PrintFile.PageLength Property
PrintFile.PageWidth Property
PrintFile Fields
PrintFile.DclPrintFileName Field
PrintFile.FilePath Field
PrintFile.IsFormatID Field
PrintFile.isOpen Field
PrintFile.lastException Field
PrintFile Constructors
PrintFile.PrintFile (string, string, string, boolean)
ImplicitDecimal Property
ASNA.VisualRPG.Windows.Controls Namespace
GridArgs Class
GridArgs Members
GridArgs.GridArgs Constructors
GridArgs.GridArgs (integer, integer)
GridArgs Fields
GridArgs.CurrRow Field
GridArgs.PriorRow Field
RecordDeleteArgs Class
RecordDeleteArgs Members
RecordDeleteArgs.RecordDeleteArgs Constructors
RecordDeleteArgs.RecordDeleteArgs (integer, boolean)
RecordDeleteArgs Fields
Cancel Field
Row Field
RecordNewArgs Class
RecordNewArgs Members
RecordNewArgs.RecordNewArgs Constructors
RecordNewArgs.RecordNewArgs (integer)
RecordNewArgs Fields
Row Field
SubfileControl
SubfileControl Members
SubfileControl Events
Bottom Event
DoubleClick Event
KeyDown Event
KeyPress Event
KeyUp Event
RecordDelete Event
RecordNew Event
RecordSwitch Event
SelectionChanged Event
Top Event
SubfileControl Methods
Clear Method
Select Method
Select Method(integer, integer, integer, integer)
SubfileControl Properties
AllowSort Property
Browse Property
CellBackColor Property
CellBrowse Property
CellForeColor Property
CellValue Property
Changed Property
Column Property
ColumnCount Property
FieldBackColor Property
FieldBrowse Property
FieldColumnHeading Property
FieldColumnWidth Property
FieldForeColor Property
FieldHidden Property
Fields Property
FirstRow Property
FormatName Property
GridLineColor Property
KeyboardDeleteInsert Property
RecordBackColor Property
RecordBrowse Property
RecordChanged Property
RecordForeColor Property
Row Property
RowCount Property
RowSelected Property
RRNName Property
SingleSelect Property
UpperCaseOnly Property
WholeRows Property
SubfileField Collection Editor
ASNA.VisualRPG.Runtime Hierarchy
ASNA.VisualRPG.Windows.Controls Hierarchy
System.Windows.Forms Namespace
System.Windows.Forms Hierarchy
Constants
Hexadecimal Numeric Constant
Figurative Constants
Figurative Constants Rules
Literals
DataTypes
*Binary Data Type
Data Type Summary
*Boolean Data Type
*Byte Data Type
*Date Data Type
*Decimal Data Type
*Float Data Type
*Float4 Data Type
*Float8 Data Type
*Form Data Type
*Ind Data Type
*Integer Data Type
*Integer2 Data Type
*Integer4 Data Type
*Integer8 Data Type
*Onechar Data Type
*Packed Data Type
*String Data Type
*Time Data Type
*Timestamp Data Type
*Zoned Data Type
Type Parameter
Date and Time
Adding or Subtracting Dates
Calculating Durations between Dates
Date Formats
Date Operations
Default Values for all Time Formats
Default Values for all Date Formats
Duration Codes
Moving Date-Time Data
Time Formats
Compiler Directives
/DEFINE (Visual RPG)
/EOF (Visual RPG)
/IF /ELSE /ELSEIF /ENDIF (Visual RPG)
/ENDREGION (Visual RPG)
/REGION (Visual RPG)
/UNDEFINE (Visual RPG)
Figurative Constants
*ALL/*ALL'x..'
*ALLU
*BLANK/*BLANKS
*BASE
*ByRef Operator
*Date
*Day
*FALSE
*HIVAL
*LOVAL
*Month
*NEXT
*NS
*NoParm
*NOTHING
*ON
*This
*Year
*TRUE
*ZERO/*ZEROS
*OFF
Operation Codes
ADD
ADDDUR
ADDHANDLER
BEEP
BEGCLASS
BEGCONSTRUCTOR
BEGENUM
BEGFUNC
BEGGET
BEGINTERFACE
BEGPRINTATTR
BEGPROC
BEGPROP
DCLPROP
BEGSET
BEGSR
BITOFF
BITON
CAB
CABXX
CALL
CALLB
CALLD
CASE
CASEDFT
CASXX
CATCH
CHAIN
CHECK
CHECKR
CLEAR
CLOSE
COMMIT
COMPARE
CONCAT
CONNECT
DCLALIAS
DCLALIASGROUP
DCLARRAY
DCLCONST
DCLDB
DCLDELEGATE
DCLDISKFILE
DCLDISKFILE UseKeyBuffer
DCLDS
DCLDSFLD
DCLENUMFLD
DCLEVENT
DCLFILECONT
DCLFLD
DCLFMTCYCLEATTR
DCLKFLD
DCLKLIST
DCLMEMORYFILE
DCLNAMESPACE
DCLOVERLAYGROUP
DCLPARM
DCLPLIST
DCLPRINTFILE
DCLPROTOTYPE
DCLRECORDFLD
DCLRECORDFORMAT
DCLSRPARM
DCLSUBFILE
DCLSUBFILEFLD
DCLWORKSTNFILE
DELETE
DELETERANGE
DETAILSPEC
DISCONNECT
DIV
DO
DOEVENTS
DOUNTIL
DOWHILE
DSDUMP
DSLOAD
ELSE
ELSEIF
END
ENDCLASS
ENDCONSTRUCTOR
ENDCS
ENDDO
ENDENUM
ENDFOR
ENDFUNC
ENDGET
ENDIF
ENDINTERFACE
ENDPRINTATTR
ENDPROC
ENDPROP
ENDSET
ENDSL
ENDSR
ENDTPM
ENDTRY
ENDWITH
ENTERLOCK
EVAL
EVALR
EXCEPTSPEC
EXFMT
EXITAPP
EXITLOCK
EXSR
EXTRACT
FEOD
FINALLY
FOR
FORCE
FOREACH
GOTO
HEADINGSPEC
HIDE
IF
IN
ITERATE
LEAVE
LEAVESR
LOADPICTURE
LOOKUP
MOVE
MOVEARR
MOVEL
MOVEREM
MSGBOX
MULT
OCCUR
OPEN
OSEXEC
OTHER
OUT
READ
READC
READE
READP
READPE
READRAND
READRANGE
REMOVEHANDLER
RNMFLDS
ROLLBACK
SCAN
SELECT
SET
SETASSEMBLYATTRIBUTE
SETGT
SETLL
SETMOUSEPTR
SETOFF
SETON
SETRANGE
SHOW
SLEEP
SORTARR
SQRT
STARTTPM
SUB
SUBDUR
SUBSTR
SUMARR
TAG
TESTBITS
TESTNUM
TESTTIME
THROW
TIME
TOTALSPEC
TRY
UDATE
UDAY
UMONTH
UNLOAD
UNLOCK
UPDATE
USING
UYEAR
WHEN
WITH
WRITE
XFOOT
XLATE
ZADD
ZSUB
TRY..CATCH..FINALLY
Literals
Boolean Literal
Character Literal
Date Literals
Hexadecimal Literal
Numeric Literal
OneChar Literal
String Literal
Time Literal
Timestamp Literal
Unicode Literal
Special Values
*END
*New
PropVal
*START
Special Values
Syntactical Elements
Commands
Expressions
Assignments
Expression Operators and their Precedence
Operands
Expression Overview with QrySelect
Operators
Logical Operators
+ Operator
* Operator
/ Operator
** Operator
<< Operator
>> Operator
*As Operator
*ASFLD Operator
*BitAnd Operator
*BitNot Operator
*BitOr Operator
*BitXOr Operator
*Is Operator
*ISFLD Operator
*NOT
*TypeOf Operator
:= Assignment Operator
Help Strategies
Variables
Array Elements
Variable Names
Character Expression
Constant Expression
Data Structure Element
Field
Global Scope
Indicator
Indicator Variable
Integer Literal
Labels
Lexical Elements
Numeric Expression
Numeric Variable
Record Format
Rules for User Date
Subroutine
User Date Special Words
Variable Operand
Form Variables
Generic Form Variables
Typed Form Variables
Variable Length Overview
Variable-Length Character Fields
Using Variable Length Fields
Visual RPG Copyright
Gardens Point Parser Generator Copyright
Gardens Point LEX Copyright