Converting Part of a Program to a Function

Discussion in 'True Programming Stories' started by Dan Allen, Jun 28, 2018.

  1. Dan Allen

    Dan Allen Administrator Founder Not Banned Radio Button Problem - Leader

    I am fixing a problem we have had for a few years. That problem is having two different programs that do the same thing. What I mean is, we have two programs that enroll people in classes. One of those programs is the one that runs when people signup for a class. When adding classes through admin, we have been using a completely separate program. There are benefits to having two programs do the same thing, but usually, it pays to consolidate the programs into one. That is what I am doing now. I am rearranging the program for adding classes used when people make purchases so it can be used by admin.


    upload_2018-6-28_21-22-23.png
     
  2. Dan Allen

    Dan Allen Administrator Founder Not Banned Radio Button Problem - Leader

    Here is the same function being used by another part of the system, the goal of making the function.

    upload_2018-6-29_2-38-53.png
     

Share This Page