Learn RPG on IBM i with VSCode. Advanced arrays in RPG ( %LIST, FOR-EACH, WHEN-IS, WHEN-IN, %RANGE )
In this episode, we continue working with arrays in RPG… but now using some of the most modern and elegant features available in free-format RPG. We introduce: ✅ %LIST ✅ FOR-EACH ✅ Modern SELECT syntax ✅ WHEN-IN and WHEN-IS ✅ %RANGE These features make RPG code: cleaner, easier to maintain, and much more expressive. If you are learning modern RPG, this is an extremely important episode. 🚀 In this video you will learn: 🔹 How to initialize arrays using %LIST 🔹 How to use lists directly inside IF conditions 🔹 Why FOR-EACH loops are cleaner than traditional indexed loops 🔹 How to simplify SELECT statements 🔹 Using WHEN-IN with lists of values 🔹 Using WHEN-IS for comparisons 🔹 Using %RANGE for checking if a value is inside a range 🔹 Writing more modern and readable RPG code 💻 We also build practical examples step by step directly in VS Code. This series is designed for beginners, but also for RPG developers who want to modernize their coding style using fully free RPG and modern IBM i development tools. 🔔 Subscribe and hit the bell so you don't miss the next episode! 👍 Like if this helped you — it really supports the channel! 💬 Drop a comment! 00:00 Introduction 00:44 Quick recap about arrays 01:58 Initializing arrays using %LIST 03:26 Using IN to comparing values in a %LIST 05:48 Using FOR-EACH for processing arrays 08:13 Introducing WHEN-IN and WHEN-IS to the SELECT statement 11:13 An example 18:52 Ending and .... what's next?? #IBM #IBMi #RPG #RPGLE #AS400 #IBMChampion #VSCode #Programming #LearnRPG #RPGLE #IBM #SoftwareDevelopment #IBMChampion

Learn RPG on IBM i with VSCode. Sorting and searching data in arrays ( %LOOKUP and SORTA )

Learn RPG on IBM i with VSCode. IF, SELECT and Indicators for beginners.

Learn RPG on IBM i with VSCode. Arrays & Data Structures Explained (Beginner Guide)

Connecting to PUB400 using Visual Studio Code for IBM i

Storchennest Live Webcam in Bad Salzungen, Thüringen

Rural Countryside Field Path Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames

God Says:"GET READY — ONLY I CAN STOP WHAT IS COMING"/God Message Now/God Message

I Think They Are Lying To You

Android 17 sucks. So I put Linux on a phone.

Learn RPG on IBM i with VSCode. FOR, DOW and DOU loops (Beginner Guide)

New Jellyfish Aquarium • Healing of Stress, Anxiety and Depressive States • Goodbye Insomnia #30

Die Wahrheit über die Öffentlich-Rechtlichen

Why AI Has Failed to Take Your Job Since 1976

DO NOT BUY STOCKS! (Michael Burry’s Final Warning)

Learn RPG on IBM i with VSCode. Variable-Dimension Arrays (AUTO and VAR)

Tuscan Cottage Wildflowers Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames

Learn RPG on IBM i with VSCode. Connecting to the IBM i

Learn RPG on IBM i with VSCode. Using variables and constants.

