Coder Social home page Coder Social logo

rpg-examples's Introduction

rpg-examples

This is an IBM RPG programming language examples repository

Notes on Free RPG

If you're using SEU, keep in mind that it does not behave well when you use full free-form syntax

Some activities

Basics and iterations

  1. Show on screen the first N numbers, given an arbitrary N.
  2. Show on screen the SUM of the first N numbers, given an arbitrary N.
  3. Show on screen the factorial of an arbitrary number N.
  4. Show on screen the first N numbers of fibonacci sequence, given an arbitrary N.
  5. Given an arbitrary number (N) determine if it is even.
  6. Determine if a given number N is a multiple of another number M.
  7. Given two arbitrary numbers N and M, calculate N^M.
  8. Given an arbitrary number (N), get the binary representation of it.
  9. Given two arbitrary numbers, M and N, get the n-base representation of M
  10. Given an arbitrary number N, determine if it is a prime number.
  11. Show on screen all the even numbers from 1 to N, given an arbitrary N.
  12. Print on screen the first N prime numbers, given an arbitrary N.
  13. Given a date in YYYYMMDD format, parse it to DDMMYYYY format

File managing

Sequential access

  1. Read a file and show it's records on screen.
  2. Read a file and count the amount of records.
  3. Read a file and calculate the sum of one numeric field.
  4. Read a file and calculate the product of one numeric field.
  5. Read a file and calculate the average of one numeric field.
  6. Read a file and update one column on all the records.
  7. Read a file and update one column on one specific record, based on a given Key.
  8. Mass insert records on a file.

Indexed access

  1. TO DO

Report Generation

  1. TO DO

rpg-examples's People

Contributors

patriciocostilla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.