Until RPGLE, all processing statements were written in strict columnar format. The following RPGLE example changes Fahrenheit to Celsius. The A lines are Data Description Specs (DDS) code. They define a display file and are compiled separately. The F line links the processing code (C lines) to the A lines:
A DSPSIZ(24 80 *DS3) A R FHEITR A CA03(03 'End') A 6 18'Enter Fahrenheit:' A FRHEIT 3Y 0B 6 42DSPATR(PC) A EDTCDE(J) A 9 18'Celsius is:' A CGRADE 3Y 0O 9 42DSPATR(PC) A EDTCDE(J) A 23 8'F3=End' FFheitd CF E Workstn C *IN03 DoWEq *Off C ExFmt Fheitr C Eval CGrade = 0 C Eval CGrade = ((Frheit-32)*5)/9 C* ExFmt Fheitr C EndDo C Seton LR
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2008 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Laxius Force (exe)
- Our heroes are back! But so is the Order, and the demented Grand Commendanter. Embark with Random and his sexy girlfriend on a journey so vast it spans over tens of hours. Meet up to 16 friends and defeat your enemies, as you make your way to Adretana, the next...
- Software downloads 2008-08-26
- Astro Miner (exe)
- Astro Miner takes place far above the earth's atmosphere, where a group of scientist uncovered the means of extracting preciousmetal resources from the surface of an asteroid. Numerous mining teams were sent to the asteroid to collect these resources but theydid not count on one thing, hostiles. Ralph will learn...
- Software downloads 2008-08-12
- Space Siege demo (exe)
- In 2199, the colony ship Rebecca Lee arrive at the second planet orbiting Beta Canum Venaticorum. Every scan of Beta CVn II showed the same thing: a perfect world for sustaining life; a paradise 27 light years from Earth; a new home for humanity. The colonists christened it Elysium IV...
- Software downloads 2008-08-11
- Puzzle Hero (exe)
- Embark on a thrilling and amazing journey in this unique puzzle-RPG role playing game. Puzzle Hero lets you defeat more than 50 mystical 3D monsters, while you charge through picturesque environments. Hero in you must save your kidnapped brother, Tristan, from sorcerer Zalocks spell and his Army of Darkness. This...
- Software downloads 2008-07-31
- Depths of Peril (dmg)
- Depths of Peril is a single player action role-playing game RPG with strong strategy elements. You play as a faction leader protecting the barbarian city, Jorvik, by destroying threatening monsters and completing quests. At the same time, you compete with rival factions to see who will rule the city. Barbarians...
- Software downloads 2008-07-08
- What programming language should we teach?
- What programming language should we teach?Re: What programming language should we teach?How about Javascript? No, seriously... it's free, it's cross-platform, it's already available on virtually ANY computer without needing to install anything at all, it's not terribly complicated, and it greatly resembles many of the other languages in use.When it...
- Discussion threads 2008-06-27
- RPG Studio (rar)
- Free 2D Multiplayer Online RPG game wizard. The purpose of this wizard is to make everyone can develop 2D MORPG very easy and very fast. The target audience mostly for 2D/3D Artist who wish to create a sample game for High Profile demo to display their art capability in an...
- Software downloads 2008-06-24
- Vendetta Online (dmg)
- Vendetta Online is a massive multiplayer game that permits thousands of players to interact as the pilots of spaceships in a vast universe. Users may build their characters in any direction they desire, becoming rich captains of industry, military heros, or outlaws. A fast-paced, realtime "twitch" style combat model gives...
- Software downloads 2008-06-24
- Robotic Humvees in the sky?
- Robotic Humvees in the sky?Cool...but...This is, of course, _tres cool_ from a techie point of view. But that price tag makes it worthless. At $4M/bird, and this thing is intended to go into hot zones, hover and land, right? Talk about a prime target for every bad...
- Discussion threads 2008-06-19
- BIt: From Chapter one: Data Processing and the IBM Mainframe
- BIt: From Chapter one: Data Processing and the IBM MainframeReading this gives me the shakes......by bringing back my days at the Chubb Institute in 1991, learning BASIC, OS JCL & COBOL. MANY hours of flow charting...WITH PENCIL & PAPER...and many more hours at a terminal trying to get what I...
- Discussion threads 2008-06-06
- Rain-Slick Precipice of Darkness, Episode One (dmg)
- On the Rain-Slick Precipice of Darkness, Episode One is the first installment in the RPG-Adventure game series based on the Web comic Penny Arcade. Create your character in the classic comic style, and join Gabe and Tycho in the alternate 1920s universe of New Arcadia, where you'll combat savage enemies,...
- Software downloads 2008-06-05
- Action Roleplaying System (exe)
- Action Roleplaying system is a RPG editor that will let you create your own 3D games and scenarios easily, it was programmed with the idea of creating games as fast as possible. Everything can done very easily and in a couple of clicks, intuitively and rapidly to achieve a good...
- Software downloads 2008-06-05
- Rain-Slick Precipice of Darkness, Episode One (exe)
- On the Rain-Slick Precipice of Darkness, Episode One is the first installment in the RPG-Adventure game series based on the Web comic Penny Arcade. Create your character in the classic comic style, and join Gabe and Tycho in the alternate 1920s universe of New Arcadia, where you will combat savage...
- Software downloads 2008-05-28
- Buffz RPG (exe)
- Buffz RPG is a 2d Real-time Action RPG where you have an ultimate quest of defeating Nidrog, the curse creator. Wootun's King requests your help. A new source of evil magic is corrupting the planet, and only an overpowered buffer can stop this. Choose from eight buffers, with unique initial...
- Software downloads 2008-05-23
- N-Tier: Rube Goldberg meets Wintel Scalability
- N-Tier: Rube Goldberg meets Wintel ScalabilityStore procedures and serializationHow did stored procedures solve the serialization problem?If they did, it sounds like an accident due to programmers not understanding transactions and unknowingly switching from a very pessimistic locking strategy to an overly optimistic locking strategy.RE: N-Tier: Rube Goldberg meets Wintel ScalabilitySo,...
- Discussion threads 2008-05-05
- N-Tier: Rube Goldberg meets Wintel Scalability
- The core claim made by N-tier architecture proponents is that this structure breaks an application into modular elements that can be separately maintained and used for more than one application. In the simplest possible version of this you have at least one database server, at least one...
- Blog posts 2008-05-05
- (Images: 'Grand Theft Auto IV' hits the streets)
- (Images: 'Grand Theft Auto IV' hits the streets)Garbage!!!!!!!!!!!What a bunch of crap designed for low class thugs to play at being cool!RE: 'Grand Theft Auto IV' still teaching 'kids' how to be better criminalsFor fear of starting a firestorm of opinion, games like the GTA franchise shouldn't be available to...
- Discussion threads 2008-04-29
- Why client-server fails
- The client-server idea goes back at least to the early 1960s and was, at least initially, a fairly direct extension of hardware co-processor ideas already in wide use throughout the industry. Thus the vision going into the IBM Future Systems project in 1968 was simple: build future...
- Blog posts 2008-04-29
- News to know: Psystar; IT Dojo; Microsoft moral; SQL Injection attacks; Ubuntu
- Notable headlines: David Morgenstern: Is Psystar Mac clone using the Kalyway boot hack? IT Dojo: Create your own bootable USB flash drive for Windows XP Mary Jo Foley: Microsoft internal memo details Windows 7-Windows Live ties Another reason...
- Blog posts 2008-04-29
- RPG, PHP, and history
- While thinking through some of the comments recorded here as part of our discussion of development languages and environments I finally figured out what PHP reminds me of: RPG. RPG [Report generator] started out in the IBM 360 world as a report formatting aid, but never really...
- Blog posts 2008-04-28
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Marc Canter: The master of multimedia speaks
-
In this Super Techies interview, larger-than-life techie Marc Canter talks with ZDNet's Editor in Chief Dan Farber about his career as a multimedia pioneer.
- Watch the video >>
- Intel IT Data Center Efficiency Initiative - Going Green
-
"See how Intel is consolidating down to 8 global data center hubs through the use of consolidation, virtualization and standardization. The initiative is expected to save Intel $1.8B by project completion.
- See how Intel plans to save $1.8 billion >>

- Visit the all new ZDNet Enterprise Mobility Hub sponsored by Verizon Wireless. It has the latest news, commentary, and resources for your mobile strategy development.
- Read the latest from Matthew Miller's The Mobile Gadgeteer Blog
- Five steps to protect mobile devices anywhere, anytime
- Watch a video about Distributed Antenna Systems (DAS)
- Learn how you can fetch your email from anywhere
- All this and more on the ZDNet Enterprise Mobility Hub




