Regular expressions (regex) provide a pattern matching scheme you can use to search and, optionally manipulate, a string. Although regex has been around for almost 50 years, it is often either completely ignored or relegated to the "will learn later" pile by many programmers. This article, the first in a series, introduces you to using regular expressions with ASNA Visual RPG.
Document Page 4
ASNA Visual RPG for .NET (AVR) comes with many project templates. The templates provided are generally serviceable, but wouldn't it be handy to be able to create your own templates? This way each time you start a new project it's got just the things you want, the basic forms you need, and all the extra goodies you usually use. And wouldn't it be nice to make many of those suit your different application challenges! Read on, this article shows you how.
One of the frustrations of writing Web or mobile applications is that before you can demo them you must deploy them. For many apps, deployment takes nearly as much work as writing them! Imagine having an ASNA Visual RPG Web app, or an ASNA Mobile RPG app, in Visual Studio on your desktop and, in about 20 seconds, being able to show it to anyone, anywhere, on the Internet. Without deploying it!
This article shows two ways to read and two ways to write Json with ASNA Visual RPG using the popular open source library Json.NET.
This article considers the challenge of implementing a scrolling grid in ASP.NET with ASNA Visual RPG. It shows how to achieve the effect, but also discusses the effect's downside. An alternative, although not a simple snap-in solution for existing pages, is also discussed.
Distributing reports as PDF files is a very common practice in the enterprise. This article shows how to do that with ASNA Visual RPG for .NET and Amyuni PDF Converter Application Server Edition. The code provided works with either Windows or ASP.NET applications.
Unlike AVR Classic or green-screen RPG, AVR for .NET is built on an object oriented foundation. This article, the first in a series, provides an introduction to using classes with AVR for .NET.
IBM i's Open Query File is dated but does provide effective results with ASNA Visual RPG in many use cases. This article shows you how to use it with AVR.
*All* IBM i shops have legacy RPG applications. These applications are typically built out of hundreds, sometimes thousands, of RPG programs. It's not uncommon for many of those RPG programs to be reusable program objects that are called by many other RPG programs in the application. This article shows how to use ASNA Visual RPG's Call/Parm to call IBM i program objects.
The seven-digit date (in the format cyymmdd) is used in some IBM i ERP and custom applications. This article shows how to use that date type with ASNA Visual RPG.
When reading from a record format in a physical or logical file it is often handy to map fields from that format to array elements. This article shows you how.
You can easily pass an AVR for .NET array, as an argument, to subroutines and functions. This article explains how and reveals a "gotcha"!