QB64.org Forum

Active Forums => Programs => Topic started by: DDBE on June 05, 2020, 03:07:25 am

Title: Still need help on my horoscope program
Post by: DDBE on June 05, 2020, 03:07:25 am
Okay, so this is about my horoscope program that some of you may already know about from Discord. I've taken the past few weeks to translate it from German to English without messing anything up. I've decided to take it to the forums because of the rather ephemeral nature of Discord where everything disappears within hours and gets hard to navigate back to.

First off, I'd like to thank Felippe for his warm welcome on Discord, and I think [banned user] was also helpful with this program so far. Even while he's probably the grumpiest person on the Discord server, the most coding magic help came from Luke.

I still maintain that in case you guys haven't yet, you ought really document this form of MS Excel-style table sorting for QB64 in a simple form that Luke came up with. There's next to nothing googleable to tell people how to sort tables in QB *OR* old BASIC, at the very least nothing I could remotely understand, and when you google for something like this, many results come up telling you it would be just impossible to do in QB, but Luke did make it work.

Okay, without any further ado, this is what it looks like by now:

Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(200, 70, 0)
  2.  
  3.  
  4. sun$ = "Aquarius"
  5. sun_House = 4
  6. moon$ = "Aries"
  7. moon_House = 6
  8. ascendent$ = "Scorpio"
  9. MC$ = "Leo"
  10. mercury$ = "Aquarius"
  11. mercury_House = 3
  12. Venus$ = "Pisces"
  13. venus_House = 5
  14. Mars$ = "Pisces"
  15. mars_House = 5
  16. Jupiter$ = "Sagittarius"
  17. jupiter_House = 2
  18. Saturn$ = "Scorpio"
  19. saturn_House = 1
  20. Chiron$ = "Taurus"
  21. chiron_House = 7
  22. Uranus$ = "Sagittarius"
  23. uranus_House = 2
  24. neptune$ = "Sagittarius"
  25. neptunee_House = 2
  26. Pluto$ = "Libra"
  27. pluto_House = 12
  28. moon_Node$ = "Capricorn"
  29. moon_node_House = 3
  30. Lilith$ = "Aquarius"
  31. lilith_House = 4
  32.  
  33. DIM house(12) AS INTEGER 'Defining 12 houses that numerical values can be added to which can be subjected to mathematical operations.
  34. house(sun_House) = house(sun_House) + 12 'Adds 12 points to the house that has the Sun in it.
  35. house(moon_House) = house(moon_House) + 12 'Adds 12 points to the house that has the Moon in it.
  36. house(mercury_House) = house(mercury_House) + 6 'Adds 6 points to the house that has Mercury in it.
  37. house(venus_House) = house(venus_House) + 6 'Adds 6 points to the house that has Venus in it.
  38. house(mars_House) = house(mars_House) + 6 'Adds 6 points to the house that has Mars in it.
  39. house(jupiter_House) = house(jupiter_House) + 5 'Adds 5 points to the house that has Jupiter in it.
  40. house(saturn_House) = house(saturn_House) + 5 'Adds 5 points to the house that has Saturn in it.
  41. house(chiron_House) = house(chiron_House) + 2 'Adds 2 points to the house that has Chiron in it.
  42. house(uranus_House) = house(uranus_House) + 2 'Adds 2 points to the house that has Uranus in it.
  43. house(neptunee_House) = house(neptunee_House) + 2 'Adds 2 points to the house that has neptunee in it.
  44. house(pluto_House) = house(pluto_House) + 2 'Adds 2 points to the house that has Pluto in it.
  45. house(moon_node_House) = house(moon_node_House) + 2 'Adds 2 points to the house that has the Moon Node in it.
  46. house(lilith_House) = house(lilith_House) + 1 'Adds 1 point to the house that has Lilith in it.
  47.  
  48.     CASE "Aries"
  49.         fire = fire + 12
  50.         aries_Value = aries_Value + 12
  51.         cardinals = cardinals + 12
  52.     CASE "Taurus"
  53.         earth = earth + 12
  54.         taurus_Value = taurus_Value + 12
  55.         fixed = fixed + 12
  56.     CASE "Gemini"
  57.         air = air + 12
  58.         gemini_Value = gemini_Value + 12
  59.         mutable = mutable + 12
  60.     CASE "Cancer"
  61.         water = water + 12
  62.         cancer_Value = cancer_Value + 12
  63.         cardinals = cardinals + 12
  64.     CASE "Leo"
  65.         fire = fire + 12
  66.         leo_Value = leo_Value + 12
  67.         fixed = fixed + 12
  68.     CASE "Virgo"
  69.         earth = earth + 12
  70.         virgo_Value = virgo_Value + 12
  71.         mutable = mutable + 12
  72.     CASE "Libra"
  73.         air = air + 12
  74.         libra_Value = libra_Value + 12
  75.         cardinals = cardinals + 12
  76.     CASE "Scorpio"
  77.         water = water + 12
  78.         scorpio_Value = scorpio_Value + 12
  79.         fixed = fixed + 12
  80.     CASE "Sagittarius"
  81.         fire = fire + 12
  82.         sagittarius_Value = sagittarius_Value + 12
  83.         mutable = mutable + 12
  84.     CASE "Capricorn"
  85.         earth = earth + 12
  86.         capricorn_Value = capricorn_Value + 12
  87.         cardinals = cardinals + 12
  88.     CASE "Aquarius"
  89.         air = air + 12
  90.         Aquarius_Value = Aquarius_Value + 12
  91.         fixed = fixed + 12
  92.     CASE "Pisces"
  93.         water = water + 12
  94.         pisces_Value = pisces_Value + 12
  95.         mutable = mutable + 12
  96.  
  97. SELECT CASE moon$
  98.     CASE "Aries"
  99.         fire = fire + 12
  100.         aries_Value = aries_Value + 12
  101.         cardinals = cardinals + 12
  102.     CASE "Taurus"
  103.         earth = earth + 12
  104.         taurus_Value = taurus_Value + 12
  105.         fixed = fixed + 12
  106.     CASE "Gemini"
  107.         air = air + 12
  108.         gemini_Value = gemini_Value + 12
  109.         mutable = mutable + 12
  110.     CASE "Cancer"
  111.         water = water + 12
  112.         cancer_Value = cancer_Value + 12
  113.         cardinals = cardinals + 12
  114.     CASE "Leo"
  115.         fire = fire + 12
  116.         leo_Value = leo_Value + 12
  117.         fixed = fixed + 12
  118.     CASE "Virgo"
  119.         earth = earth + 12
  120.         virgo_Value = virgo_Value + 12
  121.         mutable = mutable + 12
  122.     CASE "Libra"
  123.         air = air + 12
  124.         libra_Value = libra_Value + 12
  125.         cardinals = cardinals + 12
  126.     CASE "Scorpio"
  127.         water = water + 12
  128.         scorpio_Value = scorpio_Value + 12
  129.         fixed = fixed + 12
  130.     CASE "Sagittarius"
  131.         fire = fire + 12
  132.         sagittarius_Value = sagittarius_Value + 12
  133.         mutable = mutable + 12
  134.     CASE "Capricorn"
  135.         earth = earth + 12
  136.         capricorn_Value = capricorn_Value + 12
  137.         cardinals = cardinals + 12
  138.     CASE "Aquarius"
  139.         air = air + 12
  140.         Aquarius_Value = Aquarius_Value + 12
  141.         fixed = fixed + 12
  142.     CASE "Pisces"
  143.         water = water + 12
  144.         pisces_Value = pisces_Value + 12
  145.         mutable = mutable + 12
  146.  
  147. SELECT CASE ascendent$
  148.     CASE "Aries"
  149.         fire = fire + 12
  150.         aries_Value = aries_Value + 12
  151.         cardinals = cardinals + 12
  152.         IF mars_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  153.         IF mars_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  154.         IF mars_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  155.         IF mars_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  156.         IF mars_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  157.         IF mars_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  158.         IF mars_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  159.         IF mars_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  160.         IF mars_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  161.         IF mars_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  162.         IF mars_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  163.         IF mars_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  164.     CASE "Taurus"
  165.         earth = earth + 12
  166.         taurus_Value = taurus_Value + 12
  167.         fixed = fixed + 12
  168.         IF chiron_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  169.         IF chiron_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  170.         IF chiron_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  171.         IF chiron_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  172.         IF chiron_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  173.         IF chiron_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  174.         IF chiron_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  175.         IF chiron_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  176.         IF chiron_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  177.         IF chiron_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  178.         IF chiron_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  179.         IF chiron_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  180.     CASE "Gemini"
  181.         air = air + 12
  182.         gemini_Value = gemini_Value + 12
  183.         mutable = mutable + 12
  184.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  185.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  186.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  187.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  188.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  189.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  190.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  191.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  192.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  193.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  194.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  195.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  196.     CASE "Cancer"
  197.         water = water + 12
  198.         cancer_Value = cancer_Value + 12
  199.         cardinals = cardinals + 12
  200.         IF moon_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  201.         IF moon_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  202.         IF moon_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  203.         IF moon_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  204.         IF moon_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  205.         IF moon_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  206.         IF moon_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  207.         IF moon_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  208.         IF moon_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  209.         IF moon_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  210.         IF moon_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  211.         IF moon_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  212.     CASE "Leo"
  213.         fire = fire + 12
  214.         leo_Value = leo_Value + 12
  215.         fixed = fixed + 12
  216.         IF sun_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  217.         IF sun_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  218.         IF sun_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  219.         IF sun_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  220.         IF sun_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  221.         IF sun_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  222.         IF sun_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  223.         IF sun_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  224.         IF sun_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  225.         IF sun_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  226.         IF sun_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  227.         IF sun_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  228.     CASE "Virgo"
  229.         earth = earth + 12
  230.         virgo_Value = virgo_Value + 12
  231.         mutable = mutable + 12
  232.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  233.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  234.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  235.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  236.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  237.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  238.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  239.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  240.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  241.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  242.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  243.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  244.     CASE "Libra"
  245.         air = air + 12
  246.         libra_Value = libra_Value + 12
  247.         cardinals = cardinals + 12
  248.         IF venus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  249.         IF venus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  250.         IF venus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  251.         IF venus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  252.         IF venus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  253.         IF venus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  254.         IF venus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  255.         IF venus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  256.         IF venus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  257.         IF venus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  258.         IF venus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  259.         IF venus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  260.     CASE "Scorpio"
  261.         water = water + 12
  262.         scorpio_Value = scorpio_Value + 12
  263.         fixed = fixed + 12
  264.         IF pluto_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  265.         IF pluto_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  266.         IF pluto_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  267.         IF pluto_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  268.         IF pluto_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  269.         IF pluto_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  270.         IF pluto_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  271.         IF pluto_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  272.         IF pluto_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  273.         IF pluto_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  274.         IF pluto_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  275.         IF pluto_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  276.     CASE "Sagittarius"
  277.         fire = fire + 12
  278.         sagittarius_Value = sagittarius_Value + 12
  279.         mutable = mutable + 12
  280.         IF jupiter_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  281.         IF jupiter_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  282.         IF jupiter_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  283.         IF jupiter_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  284.         IF jupiter_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  285.         IF jupiter_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  286.         IF jupiter_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  287.         IF jupiter_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  288.         IF jupiter_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  289.         IF jupiter_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  290.         IF jupiter_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  291.         IF jupiter_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  292.     CASE "Capricorn"
  293.         earth = earth + 12
  294.         capricorn_Value = capricorn_Value + 12
  295.         cardinals = cardinals + 12
  296.         IF saturn_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  297.         IF saturn_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  298.         IF saturn_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  299.         IF saturn_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  300.         IF saturn_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  301.         IF saturn_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  302.         IF saturn_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  303.         IF saturn_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  304.         IF saturn_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  305.         IF saturn_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  306.         IF saturn_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  307.         IF saturn_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  308.     CASE "Aquarius"
  309.         air = air + 12
  310.         Aquarius_Value = Aquarius_Value + 12
  311.         fixed = fixed + 12
  312.         IF uranus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  313.         IF uranus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  314.         IF uranus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  315.         IF uranus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  316.         IF uranus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  317.         IF uranus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  318.         IF uranus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  319.         IF uranus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  320.         IF uranus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  321.         IF uranus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  322.         IF uranus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  323.         IF uranus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  324.     CASE "Pisces"
  325.         water = water + 12
  326.         pisces_Value = pisces_Value + 12
  327.         mutable = mutable + 12
  328.         IF neptunee_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  329.         IF neptunee_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  330.         IF neptunee_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  331.         IF neptunee_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  332.         IF neptunee_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  333.         IF neptunee_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  334.         IF neptunee_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  335.         IF neptunee_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  336.         IF neptunee_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  337.         IF neptunee_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  338.         IF neptunee_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  339.         IF neptunee_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  340.  
  341. SELECT CASE mercury$
  342.     CASE "Aries"
  343.         fire = fire + 6
  344.         aries_Value = aries_Value + 6
  345.         cardinals = cardinals + 6
  346.     CASE "Taurus"
  347.         earth = earth + 6
  348.         taurus_Value = taurus_Value + 6
  349.         fixed = fixed + 6
  350.     CASE "Gemini"
  351.         air = air + 6
  352.         gemini_Value = gemini_Value + 6
  353.         mutable = mutable + 6
  354.     CASE "Cancer"
  355.         water = water + 6
  356.         cancer_Value = cancer_Value + 6
  357.         cardinals = cardinals + 6
  358.     CASE "Leo"
  359.         fire = fire + 6
  360.         leo_Value = leo_Value + 6
  361.         fixed = fixed + 6
  362.     CASE "Virgo"
  363.         earth = earth + 6
  364.         virgo_Value = virgo_Value + 6
  365.         mutable = mutable + 6
  366.     CASE "Libra"
  367.         air = air + 6
  368.         libra_Value = libra_Value + 6
  369.         cardinals = cardinals + 6
  370.     CASE "Scorpio"
  371.         water = water + 6
  372.         scorpio_Value = scorpio_Value + 6
  373.         fixed = fixed + 6
  374.     CASE "Sagittarius"
  375.         fire = fire + 6
  376.         sagittarius_Value = sagittarius_Value + 6
  377.         mutable = mutable + 6
  378.     CASE "Capricorn"
  379.         earth = earth + 6
  380.         capricorn_Value = capricorn_Value + 6
  381.         cardinals = cardinals + 6
  382.     CASE "Aquarius"
  383.         air = air + 6
  384.         Aquarius_Value = Aquarius_Value + 6
  385.         fixed = fixed + 6
  386.     CASE "Pisces"
  387.         water = water + 6
  388.         pisces_Value = pisces_Value + 6
  389.         mutable = mutable + 6
  390.  
  391. SELECT CASE Venus$
  392.     CASE "Aries"
  393.         fire = fire + 6
  394.         aries_Value = aries_Value + 6
  395.         cardinals = cardinals + 6
  396.     CASE "Taurus"
  397.         earth = earth + 6
  398.         taurus_Value = taurus_Value + 6
  399.         fixed = fixed + 6
  400.     CASE "Gemini"
  401.         air = air + 6
  402.         gemini_Value = gemini_Value + 6
  403.         mutable = mutable + 6
  404.     CASE "Cancer"
  405.         water = water + 6
  406.         cancer_Value = cancer_Value + 6
  407.         cardinals = cardinals + 6
  408.     CASE "Leo"
  409.         fire = fire + 6
  410.         leo_Value = leo_Value + 6
  411.         fixed = fixed + 6
  412.     CASE "Virgo"
  413.         earth = earth + 6
  414.         virgo_Value = virgo_Value + 6
  415.         mutable = mutable + 6
  416.     CASE "Libra"
  417.         air = air + 6
  418.         libra_Value = libra_Value + 6
  419.         cardinals = cardinals + 6
  420.     CASE "Scorpio"
  421.         water = water + 6
  422.         scorpio_Value = scorpio_Value + 6
  423.         fixed = fixed + 5
  424.     CASE "Sagittarius"
  425.         fire = fire + 6
  426.         sagittarius_Value = sagittarius_Value + 6
  427.         mutable = mutable + 6
  428.     CASE "Capricorn"
  429.         earth = earth + 6
  430.         capricorn_Value = capricorn_Value + 6
  431.         cardinals = cardinals + 6
  432.     CASE "Aquarius"
  433.         air = air + 6
  434.         Aquarius_Value = Aquarius_Value + 6
  435.         fixed = fixed + 6
  436.     CASE "Pisces"
  437.         water = water + 6
  438.         pisces_Value = pisces_Value + 6
  439.         mutable = mutable + 6
  440.  
  441. SELECT CASE Mars$
  442.     CASE "Aries"
  443.         fire = fire + 5
  444.         aries_Value = aries_Value + 5
  445.         cardinals = cardinals + 5
  446.     CASE "Taurus"
  447.         earth = earth + 5
  448.         taurus_Value = taurus_Value + 5
  449.         fixed = fixed + 5
  450.     CASE "Gemini"
  451.         air = air + 5
  452.         gemini_Value = gemini_Value + 5
  453.         mutable = mutable + 5
  454.     CASE "Cancer"
  455.         water = water + 5
  456.         cancer_Value = cancer_Value + 5
  457.         cardinals = cardinals + 5
  458.     CASE "Leo"
  459.         fire = fire + 5
  460.         leo_Value = leo_Value + 5
  461.         fixed = fixed + 5
  462.     CASE "Virgo"
  463.         earth = earth + 5
  464.         virgo_Value = virgo_Value + 5
  465.         mutable = mutable + 5
  466.     CASE "Libra"
  467.         air = air + 5
  468.         libra_Value = libra_Value + 5
  469.         cardinals = cardinals + 5
  470.     CASE "Scorpio"
  471.         water = water + 5
  472.         scorpio_Value = scorpio_Value + 5
  473.         fixed = fixed + 5
  474.     CASE "Sagittarius"
  475.         fire = fire + 5
  476.         sagittarius_Value = sagittarius_Value + 5
  477.         mutable = mutable + 5
  478.     CASE "Capricorn"
  479.         earth = earth + 5
  480.         capricorn_Value = capricorn_Value + 5
  481.         cardinals = cardinals + 5
  482.     CASE "Aquarius"
  483.         air = air + 5
  484.         Aquarius_Value = Aquarius_Value + 5
  485.         fixed = fixed + 5
  486.     CASE "Pisces"
  487.         water = water + 5
  488.         pisces_Value = pisces_Value + 5
  489.         mutable = mutable + 5
  490.  
  491. SELECT CASE Jupiter$
  492.     CASE "Aries"
  493.         fire = fire + 5
  494.         aries_Value = aries_Value + 5
  495.         cardinals = cardinals + 5
  496.     CASE "Taurus"
  497.         earth = earth + 5
  498.         taurus_Value = taurus_Value + 5
  499.         fixed = fixed + 5
  500.     CASE "Gemini"
  501.         air = air + 5
  502.         gemini_Value = gemini_Value + 5
  503.         mutable = mutable + 5
  504.     CASE "Cancer"
  505.         water = water + 5
  506.         cancer_Value = cancer_Value + 5
  507.         cardinals = cardinals + 5
  508.     CASE "Leo"
  509.         fire = fire + 5
  510.         leo_Value = leo_Value + 5
  511.         fixed = fixed + 5
  512.     CASE "Virgo"
  513.         earth = earth + 5
  514.         virgo_Value = virgo_Value + 5
  515.         mutable = mutable + 5
  516.     CASE "Libra"
  517.         air = air + 5
  518.         libra_Value = libra_Value + 5
  519.         cardinals = cardinals + 5
  520.     CASE "Scorpio"
  521.         water = water + 5
  522.         scorpio_Value = scorpio_Value + 5
  523.         fixed = fixed + 5
  524.     CASE "Sagittarius"
  525.         fire = fire + 5
  526.         sagittarius_Value = sagittarius_Value + 5
  527.         mutable = mutable + 5
  528.     CASE "Capricorn"
  529.         earth = earth + 5
  530.         capricorn_Value = capricorn_Value + 5
  531.         cardinals = cardinals + 5
  532.     CASE "Aquarius"
  533.         air = air + 5
  534.         Aquarius_Value = Aquarius_Value + 5
  535.         fixed = fixed + 5
  536.     CASE "Pisces"
  537.         water = water + 5
  538.         pisces_Value = pisces_Value + 5
  539.         mutable = mutable + 5
  540.  
  541. SELECT CASE Saturn$
  542.     CASE "Aries"
  543.         fire = fire + 5
  544.         aries_Value = aries_Value + 5
  545.         cardinals = cardinals + 5
  546.     CASE "Taurus"
  547.         earth = earth + 5
  548.         taurus_Value = taurus_Value + 5
  549.         fixed = fixed + 5
  550.     CASE "Gemini"
  551.         air = air + 5
  552.         gemini_Value = gemini_Value + 5
  553.         mutable = mutable + 5
  554.     CASE "Cancer"
  555.         water = water + 5
  556.         cancer_Value = cancer_Value + 5
  557.         cardinals = cardinals + 5
  558.     CASE "Leo"
  559.         fire = fire + 5
  560.         leo_Value = leo_Value + 5
  561.         fixed = fixed + 5
  562.     CASE "Virgo"
  563.         earth = earth + 5
  564.         virgo_Value = virgo_Value + 5
  565.         mutable = mutable + 5
  566.     CASE "Libra"
  567.         air = air + 5
  568.         libra_Value = libra_Value + 5
  569.         cardinals = cardinals + 5
  570.     CASE "Scorpio"
  571.         water = water + 5
  572.         scorpio_Value = scorpio_Value + 5
  573.         fixed = fixed + 5
  574.     CASE "Sagittarius"
  575.         fire = fire + 5
  576.         sagittarius_Value = sagittarius_Value + 5
  577.         mutable = mutable + 5
  578.     CASE "Capricorn"
  579.         earth = earth + 5
  580.         capricorn_Value = capricorn_Value + 5
  581.         cardinals = cardinals + 5
  582.     CASE "Aquarius"
  583.         air = air + 5
  584.         Aquarius_Value = Aquarius_Value + 5
  585.         fixed = fixed + 5
  586.     CASE "Pisces"
  587.         water = water + 5
  588.         pisces_Value = pisces_Value + 5
  589.         mutable = mutable + 5
  590.  
  591.     CASE "Aries"
  592.         fire = fire + 5
  593.         aries_Value = aries_Value + 5
  594.         cardinals = cardinals + 5
  595.     CASE "Taurus"
  596.         earth = earth + 5
  597.         taurus_Value = taurus_Value + 5
  598.         fixed = fixed + 5
  599.     CASE "Gemini"
  600.         air = air + 5
  601.         gemini_Value = gemini_Value + 5
  602.         mutable = mutable + 5
  603.     CASE "Cancer"
  604.         water = water + 5
  605.         cancer_Value = cancer_Value + 5
  606.         cardinals = cardinals + 5
  607.     CASE "Leo"
  608.         fire = fire + 5
  609.         leo_Value = leo_Value + 5
  610.         fixed = fixed + 5
  611.     CASE "Virgo"
  612.         earth = earth + 5
  613.         virgo_Value = virgo_Value + 5
  614.         mutable = mutable + 5
  615.     CASE "Libra"
  616.         air = air + 5
  617.         libra_Value = libra_Value + 5
  618.         cardinals = cardinals + 5
  619.     CASE "Scorpio"
  620.         water = water + 5
  621.         scorpio_Value = scorpio_Value + 5
  622.         fixed = fixed + 5
  623.     CASE "Sagittarius"
  624.         fire = fire + 5
  625.         sagittarius_Value = sagittarius_Value + 5
  626.         mutable = mutable + 5
  627.     CASE "Capricorn"
  628.         earth = earth + 5
  629.         capricorn_Value = capricorn_Value + 5
  630.         cardinals = cardinals + 5
  631.     CASE "Aquarius"
  632.         air = air + 5
  633.         Aquarius_Value = Aquarius_Value + 5
  634.         fixed = fixed + 5
  635.     CASE "Pisces"
  636.         water = water + 5
  637.         pisces_Value = pisces_Value + 5
  638.         mutable = mutable + 5
  639.  
  640. SELECT CASE Chiron$
  641.     CASE "Aries"
  642.         fire = fire + 2
  643.         aries_Value = aries_Value + 2
  644.         cardinals = cardinals + 2
  645.     CASE "Taurus"
  646.         earth = earth + 2
  647.         taurus_Value = taurus_Value + 2
  648.         fixed = fixed + 2
  649.     CASE "Gemini"
  650.         air = air + 2
  651.         gemini_Value = gemini_Value + 2
  652.         mutable = mutable + 2
  653.     CASE "Cancer"
  654.         water = water + 2
  655.         cancer_Value = cancer_Value + 2
  656.         cardinals = cardinals + 2
  657.     CASE "Leo"
  658.         fire = fire + 2
  659.         leo_Value = leo_Value + 2
  660.         fixed = fixed + 2
  661.     CASE "Virgo"
  662.         earth = earth + 2
  663.         virgo_Value = virgo_Value + 2
  664.         mutable = mutable + 2
  665.     CASE "Libra"
  666.         air = air + 2
  667.         libra_Value = libra_Value + 2
  668.         cardinals = cardinals + 2
  669.     CASE "Scorpio"
  670.         water = water + 2
  671.         scorpio_Value = scorpio_Value + 2
  672.         fixed = fixed + 2
  673.     CASE "Sagittarius"
  674.         fire = fire + 2
  675.         sagittarius_Value = sagittarius_Value + 2
  676.         mutable = mutable + 2
  677.     CASE "Capricorn"
  678.         earth = earth + 2
  679.         capricorn_Value = capricorn_Value + 2
  680.         cardinals = cardinals + 2
  681.     CASE "Aquarius"
  682.         air = air + 2
  683.         Aquarius_Value = Aquarius_Value + 2
  684.         fixed = fixed + 2
  685.     CASE "Pisces"
  686.         water = water + 2
  687.         pisces_Value = pisces_Value + 2
  688.         mutable = mutable + 2
  689.  
  690. SELECT CASE Uranus$
  691.     CASE "Aries"
  692.         fire = fire + 2
  693.         aries_Value = aries_Value + 2
  694.         cardinals = cardinals + 2
  695.     CASE "Taurus"
  696.         earth = earth + 2
  697.         taurus_Value = taurus_Value + 2
  698.         fixed = fixed + 2
  699.     CASE "Gemini"
  700.         air = air + 2
  701.         gemini_Value = gemini_Value + 2
  702.         mutable = mutable + 2
  703.     CASE "Cancer"
  704.         water = water + 2
  705.         cancer_Value = cancer_Value + 2
  706.         cardinals = cardinals + 2
  707.     CASE "Leo"
  708.         fire = fire + 2
  709.         leo_Value = leo_Value + 2
  710.         fixed = fixed + 2
  711.     CASE "Virgo"
  712.         earth = earth + 2
  713.         virgo_Value = virgo_Value + 2
  714.         mutable = mutable + 2
  715.     CASE "Libra"
  716.         air = air + 2
  717.         libra_Value = libra_Value + 2
  718.         cardinals = cardinals + 2
  719.     CASE "Scorpio"
  720.         water = water + 2
  721.         scorpio_Value = scorpio_Value + 2
  722.         fixed = fixed + 2
  723.     CASE "Sagittarius"
  724.         fire = fire + 2
  725.         sagittarius_Value = sagittarius_Value + 2
  726.         mutable = mutable + 2
  727.     CASE "Capricorn"
  728.         earth = earth + 2
  729.         capricorn_Value = capricorn_Value + 2
  730.         cardinals = cardinals + 2
  731.     CASE "Aquarius"
  732.         air = air + 2
  733.         Aquarius_Value = Aquarius_Value + 2
  734.         fixed = fixed + 2
  735.     CASE "Pisces"
  736.         water = water + 2
  737.         pisces_Value = pisces_Value + 2
  738.         mutable = mutable + 2
  739.  
  740. SELECT CASE neptune$
  741.     CASE "Aries"
  742.         fire = fire + 2
  743.         aries_Value = aries_Value + 2
  744.         cardinals = cardinals + 2
  745.     CASE "Taurus"
  746.         earth = earth + 2
  747.         taurus_Value = taurus_Value + 2
  748.         fixed = fixed + 2
  749.     CASE "Gemini"
  750.         air = air + 2
  751.         gemini_Value = gemini_Value + 2
  752.         mutable = mutable + 2
  753.     CASE "Cancer"
  754.         water = water + 2
  755.         cancer_Value = cancer_Value + 2
  756.         cardinals = cardinals + 2
  757.     CASE "Leo"
  758.         fire = fire + 2
  759.         leo_Value = leo_Value + 2
  760.         fixed = fixed + 2
  761.     CASE "Virgo"
  762.         earth = earth + 2
  763.         virgo_Value = virgo_Value + 2
  764.         mutable = mutable + 2
  765.     CASE "Libra"
  766.         air = air + 2
  767.         libra_Value = libra_Value + 2
  768.         cardinals = cardinals + 2
  769.     CASE "Scorpio"
  770.         water = water + 2
  771.         scorpio_Value = scorpio_Value + 2
  772.         fixed = fixed + 2
  773.     CASE "Sagittarius"
  774.         fire = fire + 2
  775.         sagittarius_Value = sagittarius_Value + 2
  776.         mutable = mutable + 2
  777.     CASE "Capricorn"
  778.         earth = earth + 2
  779.         capricorn_Value = capricorn_Value + 2
  780.         cardinals = cardinals + 2
  781.     CASE "Aquarius"
  782.         air = air + 2
  783.         Aquarius_Value = Aquarius_Value + 2
  784.         fixed = fixed + 2
  785.     CASE "Pisces"
  786.         water = water + 2
  787.         pisces_Value = pisces_Value + 2
  788.         mutable = mutable + 2
  789.  
  790. SELECT CASE Pluto$
  791.     CASE "Aries"
  792.         fire = fire + 2
  793.         aries_Value = aries_Value + 2
  794.         cardinals = cardinals + 2
  795.     CASE "Taurus"
  796.         earth = earth + 2
  797.         taurus_Value = taurus_Value + 2
  798.         fixed = fixed + 2
  799.     CASE "Gemini"
  800.         air = air + 2
  801.         gemini_Value = gemini_Value + 2
  802.         mutable = mutable + 2
  803.     CASE "Cancer"
  804.         water = water + 2
  805.         cancer_Value = cancer_Value + 2
  806.         cardinals = cardinals + 2
  807.     CASE "Leo"
  808.         fire = fire + 2
  809.         leo_Value = leo_Value + 2
  810.         fixed = fixed + 2
  811.     CASE "Virgo"
  812.         earth = earth + 2
  813.         virgo_Value = virgo_Value + 2
  814.         mutable = mutable + 2
  815.     CASE "Libra"
  816.         air = air + 2
  817.         libra_Value = libra_Value + 2
  818.         cardinals = cardinals + 2
  819.     CASE "Scorpio"
  820.         water = water + 2
  821.         scorpio_Value = scorpio_Value + 2
  822.         fixed = fixed + 2
  823.     CASE "Sagittarius"
  824.         fire = fire + 2
  825.         sagittarius_Value = sagittarius_Value + 2
  826.         mutable = mutable + 2
  827.     CASE "Capricorn"
  828.         earth = earth + 2
  829.         capricorn_Value = capricorn_Value + 2
  830.         cardinals = cardinals + 2
  831.     CASE "Aquarius"
  832.         air = air + 2
  833.         Aquarius_Value = Aquarius_Value + 2
  834.         fixed = fixed + 2
  835.     CASE "Pisces"
  836.         water = water + 2
  837.         pisces_Value = pisces_Value + 2
  838.         mutable = mutable + 2
  839.  
  840. SELECT CASE moon_Node$
  841.     CASE "Aries"
  842.         fire = fire + 2
  843.         aries_Value = aries_Value + 2
  844.         cardinals = cardinals + 2
  845.     CASE "Taurus"
  846.         earth = earth + 2
  847.         taurus_Value = taurus_Value + 2
  848.         fixed = fixed + 2
  849.     CASE "Gemini"
  850.         air = air + 2
  851.         gemini_Value = gemini_Value + 2
  852.         mutable = mutable + 2
  853.     CASE "Cancer"
  854.         water = water + 2
  855.         cancer_Value = cancer_Value + 2
  856.         cardinals = cardinals + 2
  857.     CASE "Leo"
  858.         fire = fire + 2
  859.         leo_Value = leo_Value + 2
  860.         fixed = fixed + 2
  861.     CASE "Virgo"
  862.         earth = earth + 2
  863.         virgo_Value = virgo_Value + 2
  864.         mutable = mutable + 2
  865.     CASE "Libra"
  866.         air = air + 2
  867.         libra_Value = libra_Value + 2
  868.         cardinals = cardinals + 2
  869.     CASE "Scorpio"
  870.         water = water + 2
  871.         scorpio_Value = scorpio_Value + 2
  872.         fixed = fixed + 2
  873.     CASE "Sagittarius"
  874.         fire = fire + 2
  875.         sagittarius_Value = sagittarius_Value + 2
  876.         mutable = mutable + 2
  877.     CASE "Capricorn"
  878.         earth = earth + 2
  879.         capricorn_Value = capricorn_Value + 2
  880.         cardinals = cardinals + 2
  881.     CASE "Aquarius"
  882.         air = air + 2
  883.         Aquarius_Value = Aquarius_Value + 2
  884.         fixed = fixed + 2
  885.     CASE "Pisces"
  886.         water = water + 2
  887.         pisces_Value = pisces_Value + 2
  888.         mutable = mutable + 2
  889.  
  890. SELECT CASE Lilith$
  891.     CASE "Aries"
  892.         fire = fire + 1
  893.         aries_Value = aries_Value + 1
  894.         cardinals = cardinals + 1
  895.     CASE "Taurus"
  896.         earth = earth + 1
  897.         taurus_Value = taurus_Value + 1
  898.         fixed = fixed + 1
  899.     CASE "Gemini"
  900.         air = air + 1
  901.         gemini_Value = gemini_Value + 1
  902.         mutable = mutable + 1
  903.     CASE "Cancer"
  904.         water = water + 1
  905.         cancer_Value = cancer_Value + 1
  906.         cardinals = cardinals + 1
  907.     CASE "Leo"
  908.         fire = fire + 1
  909.         leo_Value = leo_Value + 1
  910.         fixed = fixed + 1
  911.     CASE "Virgo"
  912.         earth = earth + 1
  913.         virgo_Value = virgo_Value + 1
  914.         mutable = mutable + 1
  915.     CASE "Libra"
  916.         air = air + 1
  917.         libra_Value = libra_Value + 1
  918.         cardinals = cardinals + 1
  919.     CASE "Scorpio"
  920.         water = water + 1
  921.         scorpio_Value = scorpio_Value + 1
  922.         fixed = fixed + 1
  923.     CASE "Sagittarius"
  924.         fire = fire + 1
  925.         sagittarius_Value = sagittarius_Value + 1
  926.         mutable = mutable + 1
  927.     CASE "Capricorn"
  928.         earth = earth + 1
  929.         capricorn_Value = capricorn_Value + 1
  930.         cardinals = cardinals + 1
  931.     CASE "Aquarius"
  932.         air = air + 1
  933.         Aquarius_Value = Aquarius_Value + 1
  934.         fixed = fixed + 1
  935.     CASE "Pisces"
  936.         water = water + 1
  937.         pisces_Value = pisces_Value + 1
  938.         mutable = mutable + 1
  939.  
  940. elements = earth + fire + water + air
  941. Earth_Percentage = 100 / elements * earth
  942. Fire_Percentage# = 100 / elements * fire
  943. Water_Percentage# = 100 / elements * water
  944. Air_Percentage# = 100 / elements * air
  945.  
  946. Earth_percentage_Rounded# = INT(Earth_Percentage * 10 ^ 2 + .5): Earth_percentage_Rounded# = Earth_percentage_Rounded# / 100
  947. Fire_percentage_Rounded# = INT(Fire_Percentage# * 10 ^ 2 + .5): Fire_percentage_Rounded# = Fire_percentage_Rounded# / 100
  948. Water_percentage_Rounded# = INT(Water_Percentage# * 10 ^ 2 + .5): Water_percentage_Rounded# = Water_percentage_Rounded# / 100
  949. Air_percentage_Rounded# = INT(Air_Percentage# * 10 ^ 2 + .5): Air_percentage_Rounded# = Air_percentage_Rounded# / 100
  950.  
  951. qualities = cardinals + fixed + mutable
  952. cardinal_Percentage# = 100 / qualities * cardinals
  953. fixed_Percentage# = 100 / qualities * fixed
  954. mutable_Percentage# = 100 / qualities * mutable
  955.  
  956. cardinal_percentage_Rounded# = INT(cardinal_Percentage# * 10 ^ 2 + .5): cardinal_percentage_Rounded# = cardinal_percentage_Rounded# / 100
  957. fixed_percentage_Rounded# = INT(fixed_Percentage# * 10 ^ 2 + .5): fixed_percentage_Rounded# = fixed_percentage_Rounded# / 100
  958. mutable_percentage_Rounded# = INT(mutable_Percentage# * 10 ^ 2 + .5): mutable_percentage_Rounded# = mutable_percentage_Rounded# / 100
  959.  
  960. all_Signs = aries_Value + taurus_Value + gemini_Value + cancer_Value + leo_Value + virgo_Value + libra_Value + scorpio_Value + sagittarius_Value + capricorn_Value + Aquarius_Value + pisces_Value
  961. Aries_Percentage = 100 / all_Signs * aries_Value
  962. Taurus_Percentage = 100 / all_Signs * taurus_Value
  963. Gemini_Percentage = 100 / all_Signs * gemini_Value
  964. Cancer_Percentage = 100 / all_Signs * cancer_Value
  965. Leo_Percentage = 100 / all_Signs * leo_Value
  966. Virgo_Percentage = 100 / all_Signs * virgo_Value
  967. Libra_Percentage = 100 / all_Signs * libra_Value
  968. Scorpio_Percentage = 100 / all_Signs * scorpio_Value
  969. Sagittarius_Percentage = 100 / all_Signs * sagittarius_Value
  970. Capricorn_Percentage = 100 / all_Signs * capricorn_Value
  971. Aquarius_Percentage = 100 / all_Signs * Aquarius_Value
  972. Pisces_Percentage = 100 / all_Signs * pisces_Value
  973.  
  974. Aries_percentage_Rounded# = INT(Aries_Percentage * 10 ^ 2 + .5): Aries_percentage_Rounded# = Aries_percentage_Rounded# / 100
  975. Taurus_percentage_Rounded# = INT(Taurus_Percentage * 10 ^ 2 + .5): Taurus_percentage_Rounded# = Taurus_percentage_Rounded# / 100
  976. Gemini_percentage_Rounded# = INT(Gemini_Percentage * 10 ^ 2 + .5): Gemini_percentage_Rounded# = Gemini_percentage_Rounded# / 100
  977. Cancer_percentage_Rounded# = INT(Cancer_Percentage * 10 ^ 2 + .5): Cancer_percentage_Rounded# = Cancer_percentage_Rounded# / 100
  978. Leo_percentage_Rounded# = INT(Leo_Percentage * 10 ^ 2 + .5): Leo_percentage_Rounded# = Leo_percentage_Rounded# / 100
  979. Virgo_percentage_Rounded# = INT(Virgo_Percentage * 10 ^ 2 + .5): Virgo_percentage_Rounded# = Virgo_percentage_Rounded# / 100
  980. Libra_percentage_Rounded# = INT(Libra_Percentage * 10 ^ 2 + .5): Libra_percentage_Rounded# = Libra_percentage_Rounded# / 100
  981. Scorpio_percentage_Rounded# = INT(Scorpio_Percentage * 10 ^ 2 + .5): Scorpio_percentage_Rounded# = Scorpio_percentage_Rounded# / 100
  982. Sagittarius_percentage_Rounded# = INT(Sagittarius_Percentage * 10 ^ 2 + .5): Sagittarius_percentage_Rounded# = Sagittarius_percentage_Rounded# / 100
  983. Capricorn_percentage_Rounded# = INT(Capricorn_Percentage * 10 ^ 2 + .5): Capricorn_percentage_Rounded# = Capricorn_percentage_Rounded# / 100
  984. Aquarius_percentage_Rounded# = INT(Aquarius_Percentage * 10 ^ 2 + .5): Aquarius_percentage_Rounded# = Aquarius_percentage_Rounded# / 100
  985. Pisces_percentage_Rounded# = INT(Pisces_Percentage * 10 ^ 2 + .5): Pisces_percentage_Rounded# = Pisces_percentage_Rounded# / 100
  986.  
  987. all_Houses = house(1) + house(2) + house(3) + house(4) + house(5) + house(6) + house(7) + house(8) + house(9) + house(10) + house(11) + house(12)
  988. house1_Percentage = 100 / all_Houses * house(1)
  989. house2_Percentage = 100 / all_Houses * house(2)
  990. house3_Percentage = 100 / all_Houses * house(3)
  991. house4_Percentage = 100 / all_Houses * house(4)
  992. house5_Percentage = 100 / all_Houses * house(5)
  993. house6_Percentage = 100 / all_Houses * house(6)
  994. house7_Percentage = 100 / all_Houses * house(7)
  995. house8_Percentage = 100 / all_Houses * house(8)
  996. house9_Percentage = 100 / all_Houses * house(9)
  997. house10_Percentage = 100 / all_Houses * house(10)
  998. house11_Percentage = 100 / all_Houses * house(11)
  999. house12_Percentage = 100 / all_Houses * house(12)
  1000.  
  1001. house1_percentage_Rounded# = INT(house1_Percentage * 10 ^ 2 + .5): house1_percentage_Rounded# = house1_percentage_Rounded# / 100
  1002. house2_percentage_Rounded# = INT(house2_Percentage * 10 ^ 2 + .5): house2_percentage_Rounded# = house2_percentage_Rounded# / 100
  1003. house3_percentage_Rounded# = INT(house3_Percentage * 10 ^ 2 + .5): house3_percentage_Rounded# = house3_percentage_Rounded# / 100
  1004. house4_percentage_Rounded# = INT(house4_Percentage * 10 ^ 2 + .5): house4_percentage_Rounded# = house4_percentage_Rounded# / 100
  1005. house5_percentage_Rounded# = INT(house5_Percentage * 10 ^ 2 + .5): house5_percentage_Rounded# = house5_percentage_Rounded# / 100
  1006. house6_percentage_Rounded# = INT(house6_Percentage * 10 ^ 2 + .5): house6_percentage_Rounded# = house6_percentage_Rounded# / 100
  1007. house7_percentage_Rounded# = INT(house7_Percentage * 10 ^ 2 + .5): house7_percentage_Rounded# = house7_percentage_Rounded# / 100
  1008. house8_percentage_Rounded# = INT(house8_Percentage * 10 ^ 2 + .5): house8_percentage_Rounded# = house8_percentage_Rounded# / 100
  1009. house9_percentage_Rounded# = INT(house9_Percentage * 10 ^ 2 + .5): house9_percentage_Rounded# = house9_percentage_Rounded# / 100
  1010. house10_percentage_Rounded# = INT(house10_Percentage * 10 ^ 2 + .5): house10_percentage_Rounded# = house10_percentage_Rounded# / 100
  1011. house11_percentage_Rounded# = INT(house11_Percentage * 10 ^ 2 + .5): house11_percentage_Rounded# = house11_percentage_Rounded# / 100
  1012. house12_percentage_Rounded# = INT(house12_Percentage * 10 ^ 2 + .5): house12_percentage_Rounded# = house12_percentage_Rounded# / 100
  1013.  
  1014. largest = 0
  1015. IF aries_Value > largest THEN largest = aries_Value: dom_Sign$ = "Aries"
  1016. IF taurus_Value > largest THEN largest = taurus_Value: dom_Sign$ = "Taurus"
  1017. IF gemini_Value > largest THEN largest = gemini_Value: dom_Sign$ = "Gemini"
  1018. IF cancer_Value > largest THEN largest = cancer_Value: dom_Sign$ = "Cancer"
  1019. IF leo_Value > largest THEN largest = leo_Value: dom_Sign$ = "Leo"
  1020. IF virgo_Value > largest THEN largest = virgo_Value: dom_Sign$ = "Virgo"
  1021. IF libra_Value > largest THEN largest = libra_Value: dom_Sign$ = "Libra"
  1022. IF scorpio_Value > largest THEN largest = scorpio_Value: dom_Sign$ = "Scorpio"
  1023. IF sagittarius_Value > largest THEN largest = sagittarius_Value: dom_Sign$ = "Sagittarius"
  1024. IF capricorn_Value > largest THEN largest = capricorn_Value: dom_Sign$ = "Capricorn"
  1025. IF Aquarius_Value > largest THEN largest = Aquarius_Value: dom_Sign$ = "Aquarius"
  1026. IF pisces_Value > largest THEN largest = pisces_Value: dom_Sign$ = "Pisces"
  1027. signs_percentage = 100 / all_Signs * largest
  1028. signs_percentage_Rounded# = INT(signs_percentage * 10 ^ 2 + .5): signs_percentage_Rounded# = signs_percentage_Rounded# / 100
  1029.  
  1030. largesthouse = 0
  1031. IF house(1) > largesthouse THEN largesthouse = house(1): dom_House = 1
  1032. IF house(2) > largesthouse THEN largesthouse = house(2): dom_House = 2
  1033. IF house(3) > largesthouse THEN largesthouse = house(3): dom_House = 3
  1034. IF house(4) > largesthouse THEN largesthouse = house(4): dom_House = 4
  1035. IF house(5) > largesthouse THEN largesthouse = house(5): dom_House = 5
  1036. IF house(6) > largesthouse THEN largesthouse = house(6): dom_House = 6
  1037. IF house(7) > largesthouse THEN largesthouse = house(7): dom_House = 7
  1038. IF house(8) > largesthouse THEN largesthouse = house(8): dom_House = 8
  1039. IF house(9) > largesthouse THEN largesthouse = house(9): dom_House = 9
  1040. IF house(10) > largesthouse THEN largesthouse = house(10): dom_House = 10
  1041. IF house(11) > largesthouse THEN largesthouse = house(11): dom_House = 11
  1042. IF house(12) > largesthouse THEN largesthouse = house(12): dom_House = 12
  1043. largesthouse_percentage = 100 / all_Houses * largesthouse
  1044. largesthouse_percentage_Rounded# = INT(largesthouse_percentage * 10 ^ 2 + .5): largesthouse_percentage_Rounded# = largesthouse_percentage_Rounded# / 100
  1045.  
  1046. Quad1 = house(1) + house(2) + house(3)
  1047. Quad2 = house(4) + house(5) + house(6)
  1048. Quad3 = house(7) + house(8) + house(9)
  1049. Quad4 = house(10) + house(11) + house(12)
  1050. all_Quads = Quad1 + Quad2 + Quad3 + Quad4
  1051.  
  1052. largedom_Quad = 0
  1053. IF Quad1 > largedom_Quad THEN largedom_Quad = Quad1: dom_Quad$ = "1st aka Fire or energy quadrant"
  1054. IF Quad2 > largedom_Quad THEN largedom_Quad = Quad2: dom_Quad$ = "2nd aka Water or emotional quadrant"
  1055. IF Quad3 > largedom_Quad THEN largedom_Quad = Quad3: dom_Quad$ = "3rd aka Air or intellectual quadrant"
  1056. IF Quad4 > largedom_Quad THEN largedom_Quad = Quad4: dom_Quad$ = "4th aka Earth or reality quadrant"
  1057. large_dom_Quad_percentage = 100 / all_Quads * largedom_Quad
  1058. large_dom_Quad_percentage_Rounded# = INT(large_dom_Quad_percentage * 10 ^ 2 + .5): large_dom_Quad_percentage_Rounded# = large_dom_Quad_percentage_Rounded# / 100
  1059.  
  1060. quad1_Percentage = 100 / all_Quads * Quad1
  1061. quad2_Percentage = 100 / all_Quads * Quad2
  1062. quad3_Percentage = 100 / all_Quads * Quad3
  1063. quad4_Percentage = 100 / all_Quads * Quad4
  1064.  
  1065. quad1_percentage_Rounded# = INT(quad1_Percentage * 10 ^ 2 + .5): quad1_percentage_Rounded# = quad1_percentage_Rounded# / 100
  1066. quad2_percentage_Rounded# = INT(quad2_Percentage * 10 ^ 2 + .5): quad2_percentage_Rounded# = quad2_percentage_Rounded# / 100
  1067. quad3_percentage_Rounded# = INT(quad3_Percentage * 10 ^ 2 + .5): quad3_percentage_Rounded# = quad3_percentage_Rounded# / 100
  1068. quad4_percentage_Rounded# = INT(quad4_Percentage * 10 ^ 2 + .5): quad4_percentage_Rounded# = quad4_percentage_Rounded# / 100
  1069.  
  1070. earth_String$ = "The sum of the earth signs in this birth chart is" + STR$(earth) + ". Thus, its owner is determined by the element of earth by" + STR$(Earth_percentage_Rounded#) + "%."
  1071. fire_String$ = "The sum of the fire signs in this birth chart is" + STR$(fire) + ". Thus, its owner is determined by the element of fire by" + STR$(Fire_percentage_Rounded#) + "%."
  1072. water_String$ = "The sum of the water signs in this birth chart is" + STR$(water) + ". Thus, its owner is determined by the element of water by" + STR$(Water_percentage_Rounded#) + "%."
  1073. air_String$ = "The sum of the air signs in this birth chart is" + STR$(air) + ". Thus, its owner is determined by the element of air by" + STR$(Air_percentage_Rounded#) + "%."
  1074.  
  1075. active_Signs = fire + earth
  1076. passive_Signs = water + air
  1077. polarity_Percentage = active_Signs + passive_Signs
  1078.  
  1079. active_Percentage = 100 / polarity_Percentage * active_Signs
  1080. passive_Percentage = 100 / polarity_Percentage * passive_Signs
  1081.  
  1082. active_percentage_Rounded# = INT(active_Percentage * 10 ^ 2 + .5): active_percentage_Rounded# = active_percentage_Rounded# / 100
  1083. passive_percentage_Rounded# = INT(passive_Percentage * 10 ^ 2 + .5): passive_percentage_Rounded# = passive_percentage_Rounded# / 100
  1084.  
  1085. active_String$ = "The sum of the active signs in this birth chart is" + STR$(active_Signs) + ". Thus, its owner is characterized by active polarities at" + STR$(active_percentage_Rounded#) + "%."
  1086. passive_String$ = "The sum of the passive signs in this birth chart is" + STR$(passive_Signs) + ". Thus, its owner is characterized by passive polarities at" + STR$(passive_percentage_Rounded#) + "%."
  1087.  
  1088. aries_String$ = "Strength of Aries:" + STR$(aries_Value) + " (" + STR$(Aries_percentage_Rounded#) + "%)"
  1089. taurus_String$ = "Strength of Taurus:" + STR$(taurus_Value) + " (" + STR$(Taurus_percentage_Rounded#) + "%)"
  1090. gemini_String$ = "Strength of Gemini:" + STR$(gemini_Value) + " (" + STR$(Gemini_percentage_Rounded#) + "%)"
  1091. cancer_String$ = "Strength of Cancer:" + STR$(cancer_Value) + " (" + STR$(Cancer_percentage_Rounded#) + "%)"
  1092. leo_String$ = "Strength of Leo:" + STR$(leo_Value) + " (" + STR$(Leo_percentage_Rounded#) + "%)"
  1093. virgo_String$ = "Strength of Virgo:" + STR$(virgo_Value) + " (" + STR$(Virgo_percentage_Rounded#) + "%)"
  1094. libra_String$ = "Strength of Libra:" + STR$(libra_Value) + " (" + STR$(Libra_percentage_Rounded#) + "%)"
  1095. scorpio_String$ = "Strength of Scorpio:" + STR$(scorpio_Value) + " (" + STR$(Scorpio_percentage_Rounded#) + "%)"
  1096. sagittarius_String$ = "Strength of Sagittarius:" + STR$(sagittarius_Value) + " (" + STR$(Sagittarius_percentage_Rounded#) + "%)"
  1097. capricorn_String$ = "Strength of Capricorn:" + STR$(capricorn_Value) + " (" + STR$(Capricorn_percentage_Rounded#) + "%)"
  1098. Aquarius_String$ = "Strength of Aquarius:" + STR$(Aquarius_Value) + " (" + STR$(Aquarius_percentage_Rounded#) + "%)"
  1099. pisces_String$ = "Strength of Pisces:" + STR$(pisces_Value) + " (" + STR$(Pisces_percentage_Rounded#) + "%)"
  1100.  
  1101. cardinal_String$ = "The sum of the cardinal signs in this birth chart is" + STR$(cardinals) + ". Thus, its owner is characterized by cardinal qualities at" + STR$(cardinal_percentage_Rounded#) + "%."
  1102. fixed_String$ = "The sum of the fixed signs in this birth chart is" + STR$(fixed) + ". Thus, its owner is characterized by fixed qualities at" + STR$(fixed_percentage_Rounded#) + "%."
  1103. mutable_String$ = "The sum of the mutable signs in this birth chart is" + STR$(mutable) + ". Thus, its owner is characterized by mutable qualities at" + STR$(mutable_percentage_Rounded#) + "%."
  1104.  
  1105. house1_String$ = "Strength of the 1st house: " + STR$(house(1)) + " (" + STR$(house1_percentage_Rounded#) + "%)"
  1106. house2_String$ = "Strength of the 2nd house: " + STR$(house(2)) + " (" + STR$(house2_percentage_Rounded#) + "%)"
  1107. house3_String$ = "Strength of the 3rd house: " + STR$(house(3)) + " (" + STR$(house3_percentage_Rounded#) + "%)"
  1108. house4_String$ = "Strength of the 4th house: " + STR$(house(4)) + " (" + STR$(house4_percentage_Rounded#) + "%)"
  1109. house5_String$ = "Strength of the 5th house: " + STR$(house(5)) + " (" + STR$(house5_percentage_Rounded#) + "%)"
  1110. house6_String$ = "Strength of the 6th house: " + STR$(house(6)) + " (" + STR$(house6_percentage_Rounded#) + "%)"
  1111. house7_String$ = "Strength of the 7th house: " + STR$(house(7)) + " (" + STR$(house7_percentage_Rounded#) + "%)"
  1112. house8_String$ = "Strength of the 8th house: " + STR$(house(8)) + " (" + STR$(house8_percentage_Rounded#) + "%)"
  1113. house9_String$ = "Strength of the 9th house: " + STR$(house(9)) + " (" + STR$(house9_percentage_Rounded#) + "%)"
  1114. house10_String$ = "Strength of the 10th house: " + STR$(house(10)) + " (" + STR$(house10_percentage_Rounded#) + "%)"
  1115. house11_String$ = "Strength of the 11th house: " + STR$(house(11)) + " (" + STR$(house11_percentage_Rounded#) + "%)"
  1116. house12_String$ = "Strength of the 12th house: " + STR$(house(12)) + " (" + STR$(house12_percentage_Rounded#) + "%)"
  1117.  
  1118. Quad1string$ = "Strength of the 1st quadrant: " + STR$(Quad1) + " (" + STR$(quad1_percentage_Rounded#) + "%)"
  1119. Quad2string$ = "Strength of the 2nd quadrant: " + STR$(Quad2) + " (" + STR$(quad2_percentage_Rounded#) + "%)"
  1120. Quad3string$ = "Strength of the 3rd quadrant: " + STR$(Quad3) + " (" + STR$(quad3_percentage_Rounded#) + "%)"
  1121. Quad4string$ = "Strength of the 4th quadrant: " + STR$(Quad4) + " (" + STR$(quad4_percentage_Rounded#) + "%)"
  1122.  
  1123. DECLARE SUB quicksort (min%, max%)
  1124. DECLARE SUB display ()
  1125. DIM SHARED elements_Table$(3), elements_table_Values(3)
  1126.  
  1127. elements_Table$(0) = earth_String$
  1128. elements_table_Values(0) = earth
  1129. elements_Table$(1) = fire_String$
  1130. elements_table_Values(1) = fire
  1131. elements_Table$(2) = water_String$
  1132. elements_table_Values(2) = water
  1133. elements_Table$(3) = air_String$
  1134. elements_table_Values(3) = air
  1135.  
  1136. DIM SHARED signs_Table$(11), signs_table_Values(11)
  1137.  
  1138. signs_Table$(0) = aries_String$
  1139. signs_table_Values(0) = aries_Value
  1140. signs_Table$(1) = taurus_String$
  1141. signs_table_Values(1) = taurus_Value
  1142. signs_Table$(2) = gemini_String$
  1143. signs_table_Values(2) = gemini_Value
  1144. signs_Table$(3) = cancer_String$
  1145. signs_table_Values(3) = cancer_Value
  1146. signs_Table$(4) = leo_String$
  1147. signs_table_Values(4) = leo_Value
  1148. signs_Table$(5) = virgo_String$
  1149. signs_table_Values(5) = virgo_Value
  1150. signs_Table$(6) = libra_String$
  1151. signs_table_Values(6) = libra_Value
  1152. signs_Table$(7) = Skoprionstring$
  1153. signs_table_Values(7) = scorpio_Value
  1154. signs_Table$(8) = sagittarius_String$
  1155. signs_table_Values(8) = sagittarius_Value
  1156. signs_Table$(9) = capricorn_String$
  1157. signs_table_Values(9) = capricorn_Value
  1158. signs_Table$(10) = Aquarius_String$
  1159. signs_table_Values(10) = Aquarius_Value
  1160. signs_Table$(11) = pisces_String$
  1161. signs_table_Values(11) = pisces_Value
  1162.  
  1163. PRINT "Elements:"
  1164. quicksort 0, 3, elements_Table$(), elements_table_Values()
  1165. display elements_Table$(), elements_table_Values()
  1166. PRINT "Dominance of the signs:"
  1167. quicksort 0, 11, signs_Table$(), signs_table_Values()
  1168. display signs_Table$(), signs_table_Values()
  1169. PRINT aries_String$
  1170. PRINT taurus_String$
  1171. PRINT gemini_String$
  1172. PRINT cancer_String$
  1173. PRINT leo_String$
  1174. PRINT virgo_String$
  1175. PRINT libra_String$
  1176. PRINT scorpio_String$
  1177. PRINT sagittarius_String$
  1178. PRINT capricorn_String$
  1179. PRINT Aquarius_String$
  1180. PRINT pisces_String$
  1181. PRINT "At a strength of"; largest; "("; signs_percentage_Rounded#; "% ), "; dom_Sign$; " is the dominant sign."
  1182. PRINT "Qualities:"
  1183. PRINT cardinal_String$
  1184. PRINT fixed_String$
  1185. PRINT mutable_String$
  1186. PRINT "Polarities:"
  1187. PRINT active_String$
  1188. PRINT passive_String$
  1189. PRINT "Dominance of the houses:"
  1190. PRINT house1_String$
  1191. PRINT house2_String$
  1192. PRINT house3_String$
  1193. PRINT house4_String$
  1194. PRINT house5_String$
  1195. PRINT house6_String$
  1196. PRINT house7_String$
  1197. PRINT house8_String$
  1198. PRINT house9_String$
  1199. PRINT house10_String$
  1200. PRINT house11_String$
  1201. PRINT house12_String$
  1202. PRINT "The dominant house in this birth chart is house no."; dom_House; "("; largesthouse_percentage_Rounded#; "% )."
  1203. PRINT "Dominance of the quadrants:"
  1204. PRINT Quad1string$
  1205. PRINT Quad2string$
  1206. PRINT Quad3string$
  1207. PRINT Quad4string$
  1208. PRINT "The dominant quadrant is the "; dom_Quad$; " at "; large_dom_Quad_percentage_Rounded#; "%."
  1209. PRINT "For the dominant celestial body in this birth chart, enter its birth place and birth time at www.astro.com and then select the 'Color Oracle'."
  1210.  
  1211. SUB display (a$(), b())
  1212.     FOR i% = 0 TO 3
  1213.         PRINT a$(i%), b(i%)
  1214.     NEXT
  1215.  
  1216. SUB quicksort (min%, max%, a$(), b())
  1217.     IF min% < max% THEN
  1218.         p1% = min%
  1219.         p2% = max%
  1220.         mid = b((min% + max%) \ 2) '**
  1221.         DO UNTIL p1% > p2%
  1222.             DO WHILE b(p1%) > mid '**<<invert this unequality to sort ascending
  1223.                 p1% = p1% + 1
  1224.             LOOP
  1225.             DO WHILE mid > b(p2%) '**<<this one too
  1226.                 p2% = p2% - 1
  1227.             LOOP
  1228.             IF p1% <= p2% THEN
  1229.                 SWAP a$(p1%), a$(p2%) '**
  1230.                 SWAP b(p1%), b(p2%) '**
  1231.                 p1% = p1% + 1
  1232.                 p2% = p2% - 1
  1233.             END IF
  1234.         LOOP
  1235.         IF min% < p2% THEN quicksort min%, p2%, a$(), b()
  1236.         IF p1% < max% THEN quicksort p1%, max%, a$(), b()
  1237.     END IF

Problems still with the code:

a.) Why does it print the values again at the end of each line?

b.) How to fix the fact that it seems to try printing the signs table twice, aborting the first attempt after the first three lines before starting again?

c.) How to sort not only the elements, but also the rest of the tables? Does each table need its own sorting sub-routine? I've tried both that as well as arbitrarily assigning sorting values (corresponding to the amount of lines/entries in each table) weeks ago, but neither seemed to work.

d.) I remember Luke said weeks ago that the sorting sub-routine needs to be changed for tables where different fields/lines have the same value. This is the case at least once with this example horoscope here, and many more instances of this occurance are possible with other horoscopes.

e.) I priorily tried to make all the letters in each of the four printed elements result lines to be colored in the according color (Water = blue, Earth = green, Fire = red, Air = yellow) by means of making IF seek for specific letter combinations in the $tring to be printed, but so far, it seems to have created more problems than actually work.

Remember, this code is only an intermediary step. Finally, I want chunks of this program to be under the hood of an InForm program where I've already designed the window with buttons and drop-down menues where I can easily click through and enter all the variables that are still a chunk of arbitrary assignments at the start of this program.
Title: Re: Still need help on my horoscope program
Post by: bplus on June 05, 2020, 09:30:12 am
Hi @DDBE

This might take a little time to go through being 1280 Lines Of Code, but I will give it a shot later today if no one (or you) haven't found things first.

Welcome to the forum!
Title: Re: Still need help on my horoscope program
Post by: Qwerkey on June 05, 2020, 09:46:39 am
Horoscope?  I foresee a tall dark stranger helping you with this.
Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 05, 2020, 10:56:32 am
Hi DDBE

1. welcome to the forum
2.  fine subject for a program
3. why do you use a so large SCREEN 0, I cannot see all the output to the screen... and do you? What kind of monitor are you using? However I can suggest you to use a raw SLEEP or a more suitable DO:LOOP UNTIL INKEY$ at the end of each section so you let to the user to read the output and then go on.
4. why don't you try to shrink you code? I see that more actions are repetitive.
5. to solve the repetition of number in the first 2 sections  of output  you must simply REM out the second parameter of the SUB in the line 1254 of PRINT
so changing  from
Code: QB64: [Select]
  1.     PRINT a$(i%), b(i%)
 
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
to
Code: QB64: [Select]
  1.     PRINT a$(i%) ' REM, b(i%)
 [ This attachment cannot be displayed inline in 'Print Page' view ]  

Good Coding
Title: Re: Still need help on my horoscope program
Post by: bplus on June 05, 2020, 11:23:19 am
Ah TempodiBasic found something already :)

Code: QB64: [Select]
  1. WIDTH 150, 70
right under SCREEN line makes everything fit, I think it's everything.
Title: Re: Still need help on my horoscope program
Post by: Pete on June 05, 2020, 01:12:58 pm
I tried to reverse engineer it, but QB64 gave me this error message: UNABLE TO EXECUTE. URANUS IS IN RETROGRADE.

Sorry, but I can't let Richard have all the fun. BTW - Is Tempo tall and dark?

Pete
Title: Re: Still need help on my horoscope program
Post by: Richard Frost on June 05, 2020, 06:12:50 pm
"I don't believe in astrological signs because we Virgos are very cynical. "
Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 05, 2020, 07:06:45 pm
Hi DDBE

about your issue b) it depends from your call of display sub at 1191 line of code, if you REM out it
this output
  [ This attachment cannot be displayed inline in 'Print Page' view ]  

changes in this
  [ This attachment cannot be displayed inline in 'Print Page' view ]  

here a little example about how to make flexible the display sub

Code: QB64: [Select]
  1. SUB display (a$())
  2.     FOR i% = 0 TO UBOUND(a$)
  3.         PRINT a$(i%)
  4.     NEXT

Good Coding


Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 05, 2020, 07:17:59 pm
Yeah Richard
you let me remember that I don't believe astrology, in fact astrology says that Gemini don't believe astrology and I am Gemini.
:-))
Title: Re: Still need help on my horoscope program
Post by: DDBE on June 06, 2020, 03:04:48 am
First of all, thank you for welcoming me, guys.

Quote
Horoscope?  I foresee a tall dark stranger helping you with this.

Funny, but divination astrology, aka the foretelling of events, is not what I'm interested in (or take much seriously). This is to be used for psychological astrology in the tradition of Liz Greene, where your birth chart indicates your personality. For example, most celestial bodies above the "horizon" of the horizontal AC-DC axis indicates extroversion, most of them below this "horizon" indicates introversion, most of them on the right side of the vertical IC-MC axis indicates mental processes mostly oriented towards the community/society, most of them on the left side indicate mental processes mostly focussed on ego themes, etc...

Quote
4. why don't you try to shrink you code? I see that more actions are repetitive.

Maybe I should've directly stated right beforehand that I haven't used QB, or *ANY* programming language, since the 90s (except for a two-week course on VisualBASIC c. during the early 2000s that I've never had any use for). And even back in the 90s, I hardly did anything more complicated than trying to find prime numbers on a Commodore64 and later in QB64.

Quite a lot of my horoscope program above are direct copy-pastes from Luke giving me a hand over at Discord, where he gave me small patches for this and that. I can savely say that I have no idea what Luke's table-sorting algorithm does or why it works. All I know is that it makes fields switch from left to right and from right to left, but for the life of me I can't wrap my mind around how he's managed to turn *THAT* into an Excel-style table-sorting algorithm. All I dimly remember is that I came up with the idea of assigning the absolute numerical value of each variable to its related text $tring.

But, yeah...the above program is how far I've gotten since about early-mid March this year up until now, mainly by help from the Discord server. I've gotten stuck too often with the program and found Discord is not really efficient a way of communication to iron out the kinks with such a big program.

Quote
3. why do you use a so large SCREEN 0, I cannot see all the output to the screen... and do you? What kind of monitor are you using?

I've made the screen as large as my monitor can display. My monitor has a resolution of 1920*1080 pixels.

Quote
However I can suggest you to use a raw SLEEP or a more suitable DO:LOOP UNTIL INKEY$ at the end of each section so you let to the user to read the output and then go on.

As said, this is all just a way to make the basic code work. The final version will be behind an InForm window, where the function of the first 32 lines here will be fulfilled by drop-down menues instead.

Quote
5. to solve the repetition of number in the first 2 sections  of output  you must simply REM out the second parameter of the SUB in the line 1254 of PRINT

I've tried that, but then QB told me to do the same on line 1252, and then it gave me a syntax error from that on line 1185.

Quote
WIDTH 150, 70

right under SCREEN line makes everything fit, I think it's everything.

Ew, that makes everything very hard to read. As if the font is still the same width, but only 1/4 as high or so.

Quote
about your issue b) it depends from your call of display sub at 1191 line of code, if you REM out it

Okay, that was simple enough I could make it work for a change.

Quote
here a little example about how to make flexible the display sub

Same problem as when trying to REM out part of line 1254: It only ends up giving me a syntax error on line 1185.
Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 07, 2020, 01:51:47 pm
Hi DDE
1. here your code MODded with my two suggestions and working well
REM the second variable printed out in the SUB display
REM the manual output of the 12 astrological signs
make adaptable the FOR NEXT loop into SUB display using as upper limit of the FOR the UBOUND(array)
(as you can see I am not able to count well until 3  :-))   )

Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(200, 70, 0)
  2. WIDTH 150, 70 ' Bplus fixes fit in screen
  3.  
  4. sun$ = "Aquarius"
  5. sun_House = 4
  6. moon$ = "Aries"
  7. moon_House = 6
  8. ascendent$ = "Scorpio"
  9. MC$ = "Leo"
  10. mercury$ = "Aquarius"
  11. mercury_House = 3
  12. Venus$ = "Pisces"
  13. venus_House = 5
  14. Mars$ = "Pisces"
  15. mars_House = 5
  16. Jupiter$ = "Sagittarius"
  17. jupiter_House = 2
  18. Saturn$ = "Scorpio"
  19. saturn_House = 1
  20. Chiron$ = "Taurus"
  21. chiron_House = 7
  22. Uranus$ = "Sagittarius"
  23. uranus_House = 2
  24. neptune$ = "Sagittarius"
  25. neptunee_House = 2
  26. Pluto$ = "Libra"
  27. pluto_House = 12
  28. moon_Node$ = "Capricorn"
  29. moon_node_House = 3
  30. Lilith$ = "Aquarius"
  31. lilith_House = 4
  32.  
  33. DIM house(12) AS INTEGER 'Defining 12 houses that numerical values can be added to which can be subjected to mathematical operations.
  34. house(sun_House) = house(sun_House) + 12 'Adds 12 points to the house that has the Sun in it.
  35. house(moon_House) = house(moon_House) + 12 'Adds 12 points to the house that has the Moon in it.
  36. house(mercury_House) = house(mercury_House) + 6 'Adds 6 points to the house that has Mercury in it.
  37. house(venus_House) = house(venus_House) + 6 'Adds 6 points to the house that has Venus in it.
  38. house(mars_House) = house(mars_House) + 6 'Adds 6 points to the house that has Mars in it.
  39. house(jupiter_House) = house(jupiter_House) + 5 'Adds 5 points to the house that has Jupiter in it.
  40. house(saturn_House) = house(saturn_House) + 5 'Adds 5 points to the house that has Saturn in it.
  41. house(chiron_House) = house(chiron_House) + 2 'Adds 2 points to the house that has Chiron in it.
  42. house(uranus_House) = house(uranus_House) + 2 'Adds 2 points to the house that has Uranus in it.
  43. house(neptunee_House) = house(neptunee_House) + 2 'Adds 2 points to the house that has neptunee in it.
  44. house(pluto_House) = house(pluto_House) + 2 'Adds 2 points to the house that has Pluto in it.
  45. house(moon_node_House) = house(moon_node_House) + 2 'Adds 2 points to the house that has the Moon Node in it.
  46. house(lilith_House) = house(lilith_House) + 1 'Adds 1 point to the house that has Lilith in it.
  47.  
  48.     CASE "Aries"
  49.         fire = fire + 12
  50.         aries_Value = aries_Value + 12
  51.         cardinals = cardinals + 12
  52.     CASE "Taurus"
  53.         earth = earth + 12
  54.         taurus_Value = taurus_Value + 12
  55.         fixed = fixed + 12
  56.     CASE "Gemini"
  57.         air = air + 12
  58.         gemini_Value = gemini_Value + 12
  59.         mutable = mutable + 12
  60.     CASE "Cancer"
  61.         water = water + 12
  62.         cancer_Value = cancer_Value + 12
  63.         cardinals = cardinals + 12
  64.     CASE "Leo"
  65.         fire = fire + 12
  66.         leo_Value = leo_Value + 12
  67.         fixed = fixed + 12
  68.     CASE "Virgo"
  69.         earth = earth + 12
  70.         virgo_Value = virgo_Value + 12
  71.         mutable = mutable + 12
  72.     CASE "Libra"
  73.         air = air + 12
  74.         libra_Value = libra_Value + 12
  75.         cardinals = cardinals + 12
  76.     CASE "Scorpio"
  77.         water = water + 12
  78.         scorpio_Value = scorpio_Value + 12
  79.         fixed = fixed + 12
  80.     CASE "Sagittarius"
  81.         fire = fire + 12
  82.         sagittarius_Value = sagittarius_Value + 12
  83.         mutable = mutable + 12
  84.     CASE "Capricorn"
  85.         earth = earth + 12
  86.         capricorn_Value = capricorn_Value + 12
  87.         cardinals = cardinals + 12
  88.     CASE "Aquarius"
  89.         air = air + 12
  90.         Aquarius_Value = Aquarius_Value + 12
  91.         fixed = fixed + 12
  92.     CASE "Pisces"
  93.         water = water + 12
  94.         pisces_Value = pisces_Value + 12
  95.         mutable = mutable + 12
  96.  
  97. SELECT CASE moon$
  98.     CASE "Aries"
  99.         fire = fire + 12
  100.         aries_Value = aries_Value + 12
  101.         cardinals = cardinals + 12
  102.     CASE "Taurus"
  103.         earth = earth + 12
  104.         taurus_Value = taurus_Value + 12
  105.         fixed = fixed + 12
  106.     CASE "Gemini"
  107.         air = air + 12
  108.         gemini_Value = gemini_Value + 12
  109.         mutable = mutable + 12
  110.     CASE "Cancer"
  111.         water = water + 12
  112.         cancer_Value = cancer_Value + 12
  113.         cardinals = cardinals + 12
  114.     CASE "Leo"
  115.         fire = fire + 12
  116.         leo_Value = leo_Value + 12
  117.         fixed = fixed + 12
  118.     CASE "Virgo"
  119.         earth = earth + 12
  120.         virgo_Value = virgo_Value + 12
  121.         mutable = mutable + 12
  122.     CASE "Libra"
  123.         air = air + 12
  124.         libra_Value = libra_Value + 12
  125.         cardinals = cardinals + 12
  126.     CASE "Scorpio"
  127.         water = water + 12
  128.         scorpio_Value = scorpio_Value + 12
  129.         fixed = fixed + 12
  130.     CASE "Sagittarius"
  131.         fire = fire + 12
  132.         sagittarius_Value = sagittarius_Value + 12
  133.         mutable = mutable + 12
  134.     CASE "Capricorn"
  135.         earth = earth + 12
  136.         capricorn_Value = capricorn_Value + 12
  137.         cardinals = cardinals + 12
  138.     CASE "Aquarius"
  139.         air = air + 12
  140.         Aquarius_Value = Aquarius_Value + 12
  141.         fixed = fixed + 12
  142.     CASE "Pisces"
  143.         water = water + 12
  144.         pisces_Value = pisces_Value + 12
  145.         mutable = mutable + 12
  146.  
  147. SELECT CASE ascendent$
  148.     CASE "Aries"
  149.         fire = fire + 12
  150.         aries_Value = aries_Value + 12
  151.         cardinals = cardinals + 12
  152.         IF mars_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  153.         IF mars_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  154.         IF mars_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  155.         IF mars_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  156.         IF mars_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  157.         IF mars_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  158.         IF mars_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  159.         IF mars_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  160.         IF mars_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  161.         IF mars_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  162.         IF mars_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  163.         IF mars_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  164.     CASE "Taurus"
  165.         earth = earth + 12
  166.         taurus_Value = taurus_Value + 12
  167.         fixed = fixed + 12
  168.         IF chiron_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  169.         IF chiron_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  170.         IF chiron_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  171.         IF chiron_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  172.         IF chiron_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  173.         IF chiron_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  174.         IF chiron_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  175.         IF chiron_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  176.         IF chiron_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  177.         IF chiron_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  178.         IF chiron_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  179.         IF chiron_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  180.     CASE "Gemini"
  181.         air = air + 12
  182.         gemini_Value = gemini_Value + 12
  183.         mutable = mutable + 12
  184.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  185.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  186.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  187.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  188.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  189.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  190.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  191.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  192.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  193.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  194.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  195.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  196.     CASE "Cancer"
  197.         water = water + 12
  198.         cancer_Value = cancer_Value + 12
  199.         cardinals = cardinals + 12
  200.         IF moon_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  201.         IF moon_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  202.         IF moon_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  203.         IF moon_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  204.         IF moon_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  205.         IF moon_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  206.         IF moon_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  207.         IF moon_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  208.         IF moon_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  209.         IF moon_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  210.         IF moon_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  211.         IF moon_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  212.     CASE "Leo"
  213.         fire = fire + 12
  214.         leo_Value = leo_Value + 12
  215.         fixed = fixed + 12
  216.         IF sun_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  217.         IF sun_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  218.         IF sun_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  219.         IF sun_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  220.         IF sun_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  221.         IF sun_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  222.         IF sun_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  223.         IF sun_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  224.         IF sun_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  225.         IF sun_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  226.         IF sun_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  227.         IF sun_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  228.     CASE "Virgo"
  229.         earth = earth + 12
  230.         virgo_Value = virgo_Value + 12
  231.         mutable = mutable + 12
  232.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  233.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  234.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  235.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  236.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  237.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  238.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  239.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  240.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  241.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  242.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  243.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  244.     CASE "Libra"
  245.         air = air + 12
  246.         libra_Value = libra_Value + 12
  247.         cardinals = cardinals + 12
  248.         IF venus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  249.         IF venus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  250.         IF venus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  251.         IF venus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  252.         IF venus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  253.         IF venus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  254.         IF venus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  255.         IF venus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  256.         IF venus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  257.         IF venus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  258.         IF venus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  259.         IF venus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  260.     CASE "Scorpio"
  261.         water = water + 12
  262.         scorpio_Value = scorpio_Value + 12
  263.         fixed = fixed + 12
  264.         IF pluto_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  265.         IF pluto_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  266.         IF pluto_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  267.         IF pluto_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  268.         IF pluto_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  269.         IF pluto_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  270.         IF pluto_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  271.         IF pluto_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  272.         IF pluto_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  273.         IF pluto_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  274.         IF pluto_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  275.         IF pluto_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  276.     CASE "Sagittarius"
  277.         fire = fire + 12
  278.         sagittarius_Value = sagittarius_Value + 12
  279.         mutable = mutable + 12
  280.         IF jupiter_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  281.         IF jupiter_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  282.         IF jupiter_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  283.         IF jupiter_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  284.         IF jupiter_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  285.         IF jupiter_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  286.         IF jupiter_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  287.         IF jupiter_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  288.         IF jupiter_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  289.         IF jupiter_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  290.         IF jupiter_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  291.         IF jupiter_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  292.     CASE "Capricorn"
  293.         earth = earth + 12
  294.         capricorn_Value = capricorn_Value + 12
  295.         cardinals = cardinals + 12
  296.         IF saturn_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  297.         IF saturn_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  298.         IF saturn_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  299.         IF saturn_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  300.         IF saturn_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  301.         IF saturn_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  302.         IF saturn_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  303.         IF saturn_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  304.         IF saturn_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  305.         IF saturn_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  306.         IF saturn_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  307.         IF saturn_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  308.     CASE "Aquarius"
  309.         air = air + 12
  310.         Aquarius_Value = Aquarius_Value + 12
  311.         fixed = fixed + 12
  312.         IF uranus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  313.         IF uranus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  314.         IF uranus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  315.         IF uranus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  316.         IF uranus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  317.         IF uranus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  318.         IF uranus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  319.         IF uranus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  320.         IF uranus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  321.         IF uranus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  322.         IF uranus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  323.         IF uranus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  324.     CASE "Pisces"
  325.         water = water + 12
  326.         pisces_Value = pisces_Value + 12
  327.         mutable = mutable + 12
  328.         IF neptunee_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  329.         IF neptunee_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  330.         IF neptunee_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  331.         IF neptunee_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  332.         IF neptunee_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  333.         IF neptunee_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  334.         IF neptunee_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  335.         IF neptunee_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  336.         IF neptunee_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  337.         IF neptunee_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  338.         IF neptunee_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  339.         IF neptunee_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  340.  
  341. SELECT CASE mercury$
  342.     CASE "Aries"
  343.         fire = fire + 6
  344.         aries_Value = aries_Value + 6
  345.         cardinals = cardinals + 6
  346.     CASE "Taurus"
  347.         earth = earth + 6
  348.         taurus_Value = taurus_Value + 6
  349.         fixed = fixed + 6
  350.     CASE "Gemini"
  351.         air = air + 6
  352.         gemini_Value = gemini_Value + 6
  353.         mutable = mutable + 6
  354.     CASE "Cancer"
  355.         water = water + 6
  356.         cancer_Value = cancer_Value + 6
  357.         cardinals = cardinals + 6
  358.     CASE "Leo"
  359.         fire = fire + 6
  360.         leo_Value = leo_Value + 6
  361.         fixed = fixed + 6
  362.     CASE "Virgo"
  363.         earth = earth + 6
  364.         virgo_Value = virgo_Value + 6
  365.         mutable = mutable + 6
  366.     CASE "Libra"
  367.         air = air + 6
  368.         libra_Value = libra_Value + 6
  369.         cardinals = cardinals + 6
  370.     CASE "Scorpio"
  371.         water = water + 6
  372.         scorpio_Value = scorpio_Value + 6
  373.         fixed = fixed + 6
  374.     CASE "Sagittarius"
  375.         fire = fire + 6
  376.         sagittarius_Value = sagittarius_Value + 6
  377.         mutable = mutable + 6
  378.     CASE "Capricorn"
  379.         earth = earth + 6
  380.         capricorn_Value = capricorn_Value + 6
  381.         cardinals = cardinals + 6
  382.     CASE "Aquarius"
  383.         air = air + 6
  384.         Aquarius_Value = Aquarius_Value + 6
  385.         fixed = fixed + 6
  386.     CASE "Pisces"
  387.         water = water + 6
  388.         pisces_Value = pisces_Value + 6
  389.         mutable = mutable + 6
  390.  
  391. SELECT CASE Venus$
  392.     CASE "Aries"
  393.         fire = fire + 6
  394.         aries_Value = aries_Value + 6
  395.         cardinals = cardinals + 6
  396.     CASE "Taurus"
  397.         earth = earth + 6
  398.         taurus_Value = taurus_Value + 6
  399.         fixed = fixed + 6
  400.     CASE "Gemini"
  401.         air = air + 6
  402.         gemini_Value = gemini_Value + 6
  403.         mutable = mutable + 6
  404.     CASE "Cancer"
  405.         water = water + 6
  406.         cancer_Value = cancer_Value + 6
  407.         cardinals = cardinals + 6
  408.     CASE "Leo"
  409.         fire = fire + 6
  410.         leo_Value = leo_Value + 6
  411.         fixed = fixed + 6
  412.     CASE "Virgo"
  413.         earth = earth + 6
  414.         virgo_Value = virgo_Value + 6
  415.         mutable = mutable + 6
  416.     CASE "Libra"
  417.         air = air + 6
  418.         libra_Value = libra_Value + 6
  419.         cardinals = cardinals + 6
  420.     CASE "Scorpio"
  421.         water = water + 6
  422.         scorpio_Value = scorpio_Value + 6
  423.         fixed = fixed + 5
  424.     CASE "Sagittarius"
  425.         fire = fire + 6
  426.         sagittarius_Value = sagittarius_Value + 6
  427.         mutable = mutable + 6
  428.     CASE "Capricorn"
  429.         earth = earth + 6
  430.         capricorn_Value = capricorn_Value + 6
  431.         cardinals = cardinals + 6
  432.     CASE "Aquarius"
  433.         air = air + 6
  434.         Aquarius_Value = Aquarius_Value + 6
  435.         fixed = fixed + 6
  436.     CASE "Pisces"
  437.         water = water + 6
  438.         pisces_Value = pisces_Value + 6
  439.         mutable = mutable + 6
  440.  
  441. SELECT CASE Mars$
  442.     CASE "Aries"
  443.         fire = fire + 5
  444.         aries_Value = aries_Value + 5
  445.         cardinals = cardinals + 5
  446.     CASE "Taurus"
  447.         earth = earth + 5
  448.         taurus_Value = taurus_Value + 5
  449.         fixed = fixed + 5
  450.     CASE "Gemini"
  451.         air = air + 5
  452.         gemini_Value = gemini_Value + 5
  453.         mutable = mutable + 5
  454.     CASE "Cancer"
  455.         water = water + 5
  456.         cancer_Value = cancer_Value + 5
  457.         cardinals = cardinals + 5
  458.     CASE "Leo"
  459.         fire = fire + 5
  460.         leo_Value = leo_Value + 5
  461.         fixed = fixed + 5
  462.     CASE "Virgo"
  463.         earth = earth + 5
  464.         virgo_Value = virgo_Value + 5
  465.         mutable = mutable + 5
  466.     CASE "Libra"
  467.         air = air + 5
  468.         libra_Value = libra_Value + 5
  469.         cardinals = cardinals + 5
  470.     CASE "Scorpio"
  471.         water = water + 5
  472.         scorpio_Value = scorpio_Value + 5
  473.         fixed = fixed + 5
  474.     CASE "Sagittarius"
  475.         fire = fire + 5
  476.         sagittarius_Value = sagittarius_Value + 5
  477.         mutable = mutable + 5
  478.     CASE "Capricorn"
  479.         earth = earth + 5
  480.         capricorn_Value = capricorn_Value + 5
  481.         cardinals = cardinals + 5
  482.     CASE "Aquarius"
  483.         air = air + 5
  484.         Aquarius_Value = Aquarius_Value + 5
  485.         fixed = fixed + 5
  486.     CASE "Pisces"
  487.         water = water + 5
  488.         pisces_Value = pisces_Value + 5
  489.         mutable = mutable + 5
  490.  
  491. SELECT CASE Jupiter$
  492.     CASE "Aries"
  493.         fire = fire + 5
  494.         aries_Value = aries_Value + 5
  495.         cardinals = cardinals + 5
  496.     CASE "Taurus"
  497.         earth = earth + 5
  498.         taurus_Value = taurus_Value + 5
  499.         fixed = fixed + 5
  500.     CASE "Gemini"
  501.         air = air + 5
  502.         gemini_Value = gemini_Value + 5
  503.         mutable = mutable + 5
  504.     CASE "Cancer"
  505.         water = water + 5
  506.         cancer_Value = cancer_Value + 5
  507.         cardinals = cardinals + 5
  508.     CASE "Leo"
  509.         fire = fire + 5
  510.         leo_Value = leo_Value + 5
  511.         fixed = fixed + 5
  512.     CASE "Virgo"
  513.         earth = earth + 5
  514.         virgo_Value = virgo_Value + 5
  515.         mutable = mutable + 5
  516.     CASE "Libra"
  517.         air = air + 5
  518.         libra_Value = libra_Value + 5
  519.         cardinals = cardinals + 5
  520.     CASE "Scorpio"
  521.         water = water + 5
  522.         scorpio_Value = scorpio_Value + 5
  523.         fixed = fixed + 5
  524.     CASE "Sagittarius"
  525.         fire = fire + 5
  526.         sagittarius_Value = sagittarius_Value + 5
  527.         mutable = mutable + 5
  528.     CASE "Capricorn"
  529.         earth = earth + 5
  530.         capricorn_Value = capricorn_Value + 5
  531.         cardinals = cardinals + 5
  532.     CASE "Aquarius"
  533.         air = air + 5
  534.         Aquarius_Value = Aquarius_Value + 5
  535.         fixed = fixed + 5
  536.     CASE "Pisces"
  537.         water = water + 5
  538.         pisces_Value = pisces_Value + 5
  539.         mutable = mutable + 5
  540.  
  541. SELECT CASE Saturn$
  542.     CASE "Aries"
  543.         fire = fire + 5
  544.         aries_Value = aries_Value + 5
  545.         cardinals = cardinals + 5
  546.     CASE "Taurus"
  547.         earth = earth + 5
  548.         taurus_Value = taurus_Value + 5
  549.         fixed = fixed + 5
  550.     CASE "Gemini"
  551.         air = air + 5
  552.         gemini_Value = gemini_Value + 5
  553.         mutable = mutable + 5
  554.     CASE "Cancer"
  555.         water = water + 5
  556.         cancer_Value = cancer_Value + 5
  557.         cardinals = cardinals + 5
  558.     CASE "Leo"
  559.         fire = fire + 5
  560.         leo_Value = leo_Value + 5
  561.         fixed = fixed + 5
  562.     CASE "Virgo"
  563.         earth = earth + 5
  564.         virgo_Value = virgo_Value + 5
  565.         mutable = mutable + 5
  566.     CASE "Libra"
  567.         air = air + 5
  568.         libra_Value = libra_Value + 5
  569.         cardinals = cardinals + 5
  570.     CASE "Scorpio"
  571.         water = water + 5
  572.         scorpio_Value = scorpio_Value + 5
  573.         fixed = fixed + 5
  574.     CASE "Sagittarius"
  575.         fire = fire + 5
  576.         sagittarius_Value = sagittarius_Value + 5
  577.         mutable = mutable + 5
  578.     CASE "Capricorn"
  579.         earth = earth + 5
  580.         capricorn_Value = capricorn_Value + 5
  581.         cardinals = cardinals + 5
  582.     CASE "Aquarius"
  583.         air = air + 5
  584.         Aquarius_Value = Aquarius_Value + 5
  585.         fixed = fixed + 5
  586.     CASE "Pisces"
  587.         water = water + 5
  588.         pisces_Value = pisces_Value + 5
  589.         mutable = mutable + 5
  590.  
  591.     CASE "Aries"
  592.         fire = fire + 5
  593.         aries_Value = aries_Value + 5
  594.         cardinals = cardinals + 5
  595.     CASE "Taurus"
  596.         earth = earth + 5
  597.         taurus_Value = taurus_Value + 5
  598.         fixed = fixed + 5
  599.     CASE "Gemini"
  600.         air = air + 5
  601.         gemini_Value = gemini_Value + 5
  602.         mutable = mutable + 5
  603.     CASE "Cancer"
  604.         water = water + 5
  605.         cancer_Value = cancer_Value + 5
  606.         cardinals = cardinals + 5
  607.     CASE "Leo"
  608.         fire = fire + 5
  609.         leo_Value = leo_Value + 5
  610.         fixed = fixed + 5
  611.     CASE "Virgo"
  612.         earth = earth + 5
  613.         virgo_Value = virgo_Value + 5
  614.         mutable = mutable + 5
  615.     CASE "Libra"
  616.         air = air + 5
  617.         libra_Value = libra_Value + 5
  618.         cardinals = cardinals + 5
  619.     CASE "Scorpio"
  620.         water = water + 5
  621.         scorpio_Value = scorpio_Value + 5
  622.         fixed = fixed + 5
  623.     CASE "Sagittarius"
  624.         fire = fire + 5
  625.         sagittarius_Value = sagittarius_Value + 5
  626.         mutable = mutable + 5
  627.     CASE "Capricorn"
  628.         earth = earth + 5
  629.         capricorn_Value = capricorn_Value + 5
  630.         cardinals = cardinals + 5
  631.     CASE "Aquarius"
  632.         air = air + 5
  633.         Aquarius_Value = Aquarius_Value + 5
  634.         fixed = fixed + 5
  635.     CASE "Pisces"
  636.         water = water + 5
  637.         pisces_Value = pisces_Value + 5
  638.         mutable = mutable + 5
  639.  
  640. SELECT CASE Chiron$
  641.     CASE "Aries"
  642.         fire = fire + 2
  643.         aries_Value = aries_Value + 2
  644.         cardinals = cardinals + 2
  645.     CASE "Taurus"
  646.         earth = earth + 2
  647.         taurus_Value = taurus_Value + 2
  648.         fixed = fixed + 2
  649.     CASE "Gemini"
  650.         air = air + 2
  651.         gemini_Value = gemini_Value + 2
  652.         mutable = mutable + 2
  653.     CASE "Cancer"
  654.         water = water + 2
  655.         cancer_Value = cancer_Value + 2
  656.         cardinals = cardinals + 2
  657.     CASE "Leo"
  658.         fire = fire + 2
  659.         leo_Value = leo_Value + 2
  660.         fixed = fixed + 2
  661.     CASE "Virgo"
  662.         earth = earth + 2
  663.         virgo_Value = virgo_Value + 2
  664.         mutable = mutable + 2
  665.     CASE "Libra"
  666.         air = air + 2
  667.         libra_Value = libra_Value + 2
  668.         cardinals = cardinals + 2
  669.     CASE "Scorpio"
  670.         water = water + 2
  671.         scorpio_Value = scorpio_Value + 2
  672.         fixed = fixed + 2
  673.     CASE "Sagittarius"
  674.         fire = fire + 2
  675.         sagittarius_Value = sagittarius_Value + 2
  676.         mutable = mutable + 2
  677.     CASE "Capricorn"
  678.         earth = earth + 2
  679.         capricorn_Value = capricorn_Value + 2
  680.         cardinals = cardinals + 2
  681.     CASE "Aquarius"
  682.         air = air + 2
  683.         Aquarius_Value = Aquarius_Value + 2
  684.         fixed = fixed + 2
  685.     CASE "Pisces"
  686.         water = water + 2
  687.         pisces_Value = pisces_Value + 2
  688.         mutable = mutable + 2
  689.  
  690. SELECT CASE Uranus$
  691.     CASE "Aries"
  692.         fire = fire + 2
  693.         aries_Value = aries_Value + 2
  694.         cardinals = cardinals + 2
  695.     CASE "Taurus"
  696.         earth = earth + 2
  697.         taurus_Value = taurus_Value + 2
  698.         fixed = fixed + 2
  699.     CASE "Gemini"
  700.         air = air + 2
  701.         gemini_Value = gemini_Value + 2
  702.         mutable = mutable + 2
  703.     CASE "Cancer"
  704.         water = water + 2
  705.         cancer_Value = cancer_Value + 2
  706.         cardinals = cardinals + 2
  707.     CASE "Leo"
  708.         fire = fire + 2
  709.         leo_Value = leo_Value + 2
  710.         fixed = fixed + 2
  711.     CASE "Virgo"
  712.         earth = earth + 2
  713.         virgo_Value = virgo_Value + 2
  714.         mutable = mutable + 2
  715.     CASE "Libra"
  716.         air = air + 2
  717.         libra_Value = libra_Value + 2
  718.         cardinals = cardinals + 2
  719.     CASE "Scorpio"
  720.         water = water + 2
  721.         scorpio_Value = scorpio_Value + 2
  722.         fixed = fixed + 2
  723.     CASE "Sagittarius"
  724.         fire = fire + 2
  725.         sagittarius_Value = sagittarius_Value + 2
  726.         mutable = mutable + 2
  727.     CASE "Capricorn"
  728.         earth = earth + 2
  729.         capricorn_Value = capricorn_Value + 2
  730.         cardinals = cardinals + 2
  731.     CASE "Aquarius"
  732.         air = air + 2
  733.         Aquarius_Value = Aquarius_Value + 2
  734.         fixed = fixed + 2
  735.     CASE "Pisces"
  736.         water = water + 2
  737.         pisces_Value = pisces_Value + 2
  738.         mutable = mutable + 2
  739.  
  740. SELECT CASE neptune$
  741.     CASE "Aries"
  742.         fire = fire + 2
  743.         aries_Value = aries_Value + 2
  744.         cardinals = cardinals + 2
  745.     CASE "Taurus"
  746.         earth = earth + 2
  747.         taurus_Value = taurus_Value + 2
  748.         fixed = fixed + 2
  749.     CASE "Gemini"
  750.         air = air + 2
  751.         gemini_Value = gemini_Value + 2
  752.         mutable = mutable + 2
  753.     CASE "Cancer"
  754.         water = water + 2
  755.         cancer_Value = cancer_Value + 2
  756.         cardinals = cardinals + 2
  757.     CASE "Leo"
  758.         fire = fire + 2
  759.         leo_Value = leo_Value + 2
  760.         fixed = fixed + 2
  761.     CASE "Virgo"
  762.         earth = earth + 2
  763.         virgo_Value = virgo_Value + 2
  764.         mutable = mutable + 2
  765.     CASE "Libra"
  766.         air = air + 2
  767.         libra_Value = libra_Value + 2
  768.         cardinals = cardinals + 2
  769.     CASE "Scorpio"
  770.         water = water + 2
  771.         scorpio_Value = scorpio_Value + 2
  772.         fixed = fixed + 2
  773.     CASE "Sagittarius"
  774.         fire = fire + 2
  775.         sagittarius_Value = sagittarius_Value + 2
  776.         mutable = mutable + 2
  777.     CASE "Capricorn"
  778.         earth = earth + 2
  779.         capricorn_Value = capricorn_Value + 2
  780.         cardinals = cardinals + 2
  781.     CASE "Aquarius"
  782.         air = air + 2
  783.         Aquarius_Value = Aquarius_Value + 2
  784.         fixed = fixed + 2
  785.     CASE "Pisces"
  786.         water = water + 2
  787.         pisces_Value = pisces_Value + 2
  788.         mutable = mutable + 2
  789.  
  790. SELECT CASE Pluto$
  791.     CASE "Aries"
  792.         fire = fire + 2
  793.         aries_Value = aries_Value + 2
  794.         cardinals = cardinals + 2
  795.     CASE "Taurus"
  796.         earth = earth + 2
  797.         taurus_Value = taurus_Value + 2
  798.         fixed = fixed + 2
  799.     CASE "Gemini"
  800.         air = air + 2
  801.         gemini_Value = gemini_Value + 2
  802.         mutable = mutable + 2
  803.     CASE "Cancer"
  804.         water = water + 2
  805.         cancer_Value = cancer_Value + 2
  806.         cardinals = cardinals + 2
  807.     CASE "Leo"
  808.         fire = fire + 2
  809.         leo_Value = leo_Value + 2
  810.         fixed = fixed + 2
  811.     CASE "Virgo"
  812.         earth = earth + 2
  813.         virgo_Value = virgo_Value + 2
  814.         mutable = mutable + 2
  815.     CASE "Libra"
  816.         air = air + 2
  817.         libra_Value = libra_Value + 2
  818.         cardinals = cardinals + 2
  819.     CASE "Scorpio"
  820.         water = water + 2
  821.         scorpio_Value = scorpio_Value + 2
  822.         fixed = fixed + 2
  823.     CASE "Sagittarius"
  824.         fire = fire + 2
  825.         sagittarius_Value = sagittarius_Value + 2
  826.         mutable = mutable + 2
  827.     CASE "Capricorn"
  828.         earth = earth + 2
  829.         capricorn_Value = capricorn_Value + 2
  830.         cardinals = cardinals + 2
  831.     CASE "Aquarius"
  832.         air = air + 2
  833.         Aquarius_Value = Aquarius_Value + 2
  834.         fixed = fixed + 2
  835.     CASE "Pisces"
  836.         water = water + 2
  837.         pisces_Value = pisces_Value + 2
  838.         mutable = mutable + 2
  839.  
  840. SELECT CASE moon_Node$
  841.     CASE "Aries"
  842.         fire = fire + 2
  843.         aries_Value = aries_Value + 2
  844.         cardinals = cardinals + 2
  845.     CASE "Taurus"
  846.         earth = earth + 2
  847.         taurus_Value = taurus_Value + 2
  848.         fixed = fixed + 2
  849.     CASE "Gemini"
  850.         air = air + 2
  851.         gemini_Value = gemini_Value + 2
  852.         mutable = mutable + 2
  853.     CASE "Cancer"
  854.         water = water + 2
  855.         cancer_Value = cancer_Value + 2
  856.         cardinals = cardinals + 2
  857.     CASE "Leo"
  858.         fire = fire + 2
  859.         leo_Value = leo_Value + 2
  860.         fixed = fixed + 2
  861.     CASE "Virgo"
  862.         earth = earth + 2
  863.         virgo_Value = virgo_Value + 2
  864.         mutable = mutable + 2
  865.     CASE "Libra"
  866.         air = air + 2
  867.         libra_Value = libra_Value + 2
  868.         cardinals = cardinals + 2
  869.     CASE "Scorpio"
  870.         water = water + 2
  871.         scorpio_Value = scorpio_Value + 2
  872.         fixed = fixed + 2
  873.     CASE "Sagittarius"
  874.         fire = fire + 2
  875.         sagittarius_Value = sagittarius_Value + 2
  876.         mutable = mutable + 2
  877.     CASE "Capricorn"
  878.         earth = earth + 2
  879.         capricorn_Value = capricorn_Value + 2
  880.         cardinals = cardinals + 2
  881.     CASE "Aquarius"
  882.         air = air + 2
  883.         Aquarius_Value = Aquarius_Value + 2
  884.         fixed = fixed + 2
  885.     CASE "Pisces"
  886.         water = water + 2
  887.         pisces_Value = pisces_Value + 2
  888.         mutable = mutable + 2
  889.  
  890. SELECT CASE Lilith$
  891.     CASE "Aries"
  892.         fire = fire + 1
  893.         aries_Value = aries_Value + 1
  894.         cardinals = cardinals + 1
  895.     CASE "Taurus"
  896.         earth = earth + 1
  897.         taurus_Value = taurus_Value + 1
  898.         fixed = fixed + 1
  899.     CASE "Gemini"
  900.         air = air + 1
  901.         gemini_Value = gemini_Value + 1
  902.         mutable = mutable + 1
  903.     CASE "Cancer"
  904.         water = water + 1
  905.         cancer_Value = cancer_Value + 1
  906.         cardinals = cardinals + 1
  907.     CASE "Leo"
  908.         fire = fire + 1
  909.         leo_Value = leo_Value + 1
  910.         fixed = fixed + 1
  911.     CASE "Virgo"
  912.         earth = earth + 1
  913.         virgo_Value = virgo_Value + 1
  914.         mutable = mutable + 1
  915.     CASE "Libra"
  916.         air = air + 1
  917.         libra_Value = libra_Value + 1
  918.         cardinals = cardinals + 1
  919.     CASE "Scorpio"
  920.         water = water + 1
  921.         scorpio_Value = scorpio_Value + 1
  922.         fixed = fixed + 1
  923.     CASE "Sagittarius"
  924.         fire = fire + 1
  925.         sagittarius_Value = sagittarius_Value + 1
  926.         mutable = mutable + 1
  927.     CASE "Capricorn"
  928.         earth = earth + 1
  929.         capricorn_Value = capricorn_Value + 1
  930.         cardinals = cardinals + 1
  931.     CASE "Aquarius"
  932.         air = air + 1
  933.         Aquarius_Value = Aquarius_Value + 1
  934.         fixed = fixed + 1
  935.     CASE "Pisces"
  936.         water = water + 1
  937.         pisces_Value = pisces_Value + 1
  938.         mutable = mutable + 1
  939.  
  940. elements = earth + fire + water + air
  941. Earth_Percentage = 100 / elements * earth
  942. Fire_Percentage# = 100 / elements * fire
  943. Water_Percentage# = 100 / elements * water
  944. Air_Percentage# = 100 / elements * air
  945.  
  946. Earth_percentage_Rounded# = INT(Earth_Percentage * 10 ^ 2 + .5): Earth_percentage_Rounded# = Earth_percentage_Rounded# / 100
  947. Fire_percentage_Rounded# = INT(Fire_Percentage# * 10 ^ 2 + .5): Fire_percentage_Rounded# = Fire_percentage_Rounded# / 100
  948. Water_percentage_Rounded# = INT(Water_Percentage# * 10 ^ 2 + .5): Water_percentage_Rounded# = Water_percentage_Rounded# / 100
  949. Air_percentage_Rounded# = INT(Air_Percentage# * 10 ^ 2 + .5): Air_percentage_Rounded# = Air_percentage_Rounded# / 100
  950.  
  951. qualities = cardinals + fixed + mutable
  952. cardinal_Percentage# = 100 / qualities * cardinals
  953. fixed_Percentage# = 100 / qualities * fixed
  954. mutable_Percentage# = 100 / qualities * mutable
  955.  
  956. cardinal_percentage_Rounded# = INT(cardinal_Percentage# * 10 ^ 2 + .5): cardinal_percentage_Rounded# = cardinal_percentage_Rounded# / 100
  957. fixed_percentage_Rounded# = INT(fixed_Percentage# * 10 ^ 2 + .5): fixed_percentage_Rounded# = fixed_percentage_Rounded# / 100
  958. mutable_percentage_Rounded# = INT(mutable_Percentage# * 10 ^ 2 + .5): mutable_percentage_Rounded# = mutable_percentage_Rounded# / 100
  959.  
  960. all_Signs = aries_Value + taurus_Value + gemini_Value + cancer_Value + leo_Value + virgo_Value + libra_Value + scorpio_Value + sagittarius_Value + capricorn_Value + Aquarius_Value + pisces_Value
  961. Aries_Percentage = 100 / all_Signs * aries_Value
  962. Taurus_Percentage = 100 / all_Signs * taurus_Value
  963. Gemini_Percentage = 100 / all_Signs * gemini_Value
  964. Cancer_Percentage = 100 / all_Signs * cancer_Value
  965. Leo_Percentage = 100 / all_Signs * leo_Value
  966. Virgo_Percentage = 100 / all_Signs * virgo_Value
  967. Libra_Percentage = 100 / all_Signs * libra_Value
  968. Scorpio_Percentage = 100 / all_Signs * scorpio_Value
  969. Sagittarius_Percentage = 100 / all_Signs * sagittarius_Value
  970. Capricorn_Percentage = 100 / all_Signs * capricorn_Value
  971. Aquarius_Percentage = 100 / all_Signs * Aquarius_Value
  972. Pisces_Percentage = 100 / all_Signs * pisces_Value
  973.  
  974. Aries_percentage_Rounded# = INT(Aries_Percentage * 10 ^ 2 + .5): Aries_percentage_Rounded# = Aries_percentage_Rounded# / 100
  975. Taurus_percentage_Rounded# = INT(Taurus_Percentage * 10 ^ 2 + .5): Taurus_percentage_Rounded# = Taurus_percentage_Rounded# / 100
  976. Gemini_percentage_Rounded# = INT(Gemini_Percentage * 10 ^ 2 + .5): Gemini_percentage_Rounded# = Gemini_percentage_Rounded# / 100
  977. Cancer_percentage_Rounded# = INT(Cancer_Percentage * 10 ^ 2 + .5): Cancer_percentage_Rounded# = Cancer_percentage_Rounded# / 100
  978. Leo_percentage_Rounded# = INT(Leo_Percentage * 10 ^ 2 + .5): Leo_percentage_Rounded# = Leo_percentage_Rounded# / 100
  979. Virgo_percentage_Rounded# = INT(Virgo_Percentage * 10 ^ 2 + .5): Virgo_percentage_Rounded# = Virgo_percentage_Rounded# / 100
  980. Libra_percentage_Rounded# = INT(Libra_Percentage * 10 ^ 2 + .5): Libra_percentage_Rounded# = Libra_percentage_Rounded# / 100
  981. Scorpio_percentage_Rounded# = INT(Scorpio_Percentage * 10 ^ 2 + .5): Scorpio_percentage_Rounded# = Scorpio_percentage_Rounded# / 100
  982. Sagittarius_percentage_Rounded# = INT(Sagittarius_Percentage * 10 ^ 2 + .5): Sagittarius_percentage_Rounded# = Sagittarius_percentage_Rounded# / 100
  983. Capricorn_percentage_Rounded# = INT(Capricorn_Percentage * 10 ^ 2 + .5): Capricorn_percentage_Rounded# = Capricorn_percentage_Rounded# / 100
  984. Aquarius_percentage_Rounded# = INT(Aquarius_Percentage * 10 ^ 2 + .5): Aquarius_percentage_Rounded# = Aquarius_percentage_Rounded# / 100
  985. Pisces_percentage_Rounded# = INT(Pisces_Percentage * 10 ^ 2 + .5): Pisces_percentage_Rounded# = Pisces_percentage_Rounded# / 100
  986.  
  987. all_Houses = house(1) + house(2) + house(3) + house(4) + house(5) + house(6) + house(7) + house(8) + house(9) + house(10) + house(11) + house(12)
  988. house1_Percentage = 100 / all_Houses * house(1)
  989. house2_Percentage = 100 / all_Houses * house(2)
  990. house3_Percentage = 100 / all_Houses * house(3)
  991. house4_Percentage = 100 / all_Houses * house(4)
  992. house5_Percentage = 100 / all_Houses * house(5)
  993. house6_Percentage = 100 / all_Houses * house(6)
  994. house7_Percentage = 100 / all_Houses * house(7)
  995. house8_Percentage = 100 / all_Houses * house(8)
  996. house9_Percentage = 100 / all_Houses * house(9)
  997. house10_Percentage = 100 / all_Houses * house(10)
  998. house11_Percentage = 100 / all_Houses * house(11)
  999. house12_Percentage = 100 / all_Houses * house(12)
  1000.  
  1001. house1_percentage_Rounded# = INT(house1_Percentage * 10 ^ 2 + .5): house1_percentage_Rounded# = house1_percentage_Rounded# / 100
  1002. house2_percentage_Rounded# = INT(house2_Percentage * 10 ^ 2 + .5): house2_percentage_Rounded# = house2_percentage_Rounded# / 100
  1003. house3_percentage_Rounded# = INT(house3_Percentage * 10 ^ 2 + .5): house3_percentage_Rounded# = house3_percentage_Rounded# / 100
  1004. house4_percentage_Rounded# = INT(house4_Percentage * 10 ^ 2 + .5): house4_percentage_Rounded# = house4_percentage_Rounded# / 100
  1005. house5_percentage_Rounded# = INT(house5_Percentage * 10 ^ 2 + .5): house5_percentage_Rounded# = house5_percentage_Rounded# / 100
  1006. house6_percentage_Rounded# = INT(house6_Percentage * 10 ^ 2 + .5): house6_percentage_Rounded# = house6_percentage_Rounded# / 100
  1007. house7_percentage_Rounded# = INT(house7_Percentage * 10 ^ 2 + .5): house7_percentage_Rounded# = house7_percentage_Rounded# / 100
  1008. house8_percentage_Rounded# = INT(house8_Percentage * 10 ^ 2 + .5): house8_percentage_Rounded# = house8_percentage_Rounded# / 100
  1009. house9_percentage_Rounded# = INT(house9_Percentage * 10 ^ 2 + .5): house9_percentage_Rounded# = house9_percentage_Rounded# / 100
  1010. house10_percentage_Rounded# = INT(house10_Percentage * 10 ^ 2 + .5): house10_percentage_Rounded# = house10_percentage_Rounded# / 100
  1011. house11_percentage_Rounded# = INT(house11_Percentage * 10 ^ 2 + .5): house11_percentage_Rounded# = house11_percentage_Rounded# / 100
  1012. house12_percentage_Rounded# = INT(house12_Percentage * 10 ^ 2 + .5): house12_percentage_Rounded# = house12_percentage_Rounded# / 100
  1013.  
  1014. largest = 0
  1015. IF aries_Value > largest THEN largest = aries_Value: dom_Sign$ = "Aries"
  1016. IF taurus_Value > largest THEN largest = taurus_Value: dom_Sign$ = "Taurus"
  1017. IF gemini_Value > largest THEN largest = gemini_Value: dom_Sign$ = "Gemini"
  1018. IF cancer_Value > largest THEN largest = cancer_Value: dom_Sign$ = "Cancer"
  1019. IF leo_Value > largest THEN largest = leo_Value: dom_Sign$ = "Leo"
  1020. IF virgo_Value > largest THEN largest = virgo_Value: dom_Sign$ = "Virgo"
  1021. IF libra_Value > largest THEN largest = libra_Value: dom_Sign$ = "Libra"
  1022. IF scorpio_Value > largest THEN largest = scorpio_Value: dom_Sign$ = "Scorpio"
  1023. IF sagittarius_Value > largest THEN largest = sagittarius_Value: dom_Sign$ = "Sagittarius"
  1024. IF capricorn_Value > largest THEN largest = capricorn_Value: dom_Sign$ = "Capricorn"
  1025. IF Aquarius_Value > largest THEN largest = Aquarius_Value: dom_Sign$ = "Aquarius"
  1026. IF pisces_Value > largest THEN largest = pisces_Value: dom_Sign$ = "Pisces"
  1027. signs_percentage = 100 / all_Signs * largest
  1028. signs_percentage_Rounded# = INT(signs_percentage * 10 ^ 2 + .5): signs_percentage_Rounded# = signs_percentage_Rounded# / 100
  1029.  
  1030. largesthouse = 0
  1031. IF house(1) > largesthouse THEN largesthouse = house(1): dom_House = 1
  1032. IF house(2) > largesthouse THEN largesthouse = house(2): dom_House = 2
  1033. IF house(3) > largesthouse THEN largesthouse = house(3): dom_House = 3
  1034. IF house(4) > largesthouse THEN largesthouse = house(4): dom_House = 4
  1035. IF house(5) > largesthouse THEN largesthouse = house(5): dom_House = 5
  1036. IF house(6) > largesthouse THEN largesthouse = house(6): dom_House = 6
  1037. IF house(7) > largesthouse THEN largesthouse = house(7): dom_House = 7
  1038. IF house(8) > largesthouse THEN largesthouse = house(8): dom_House = 8
  1039. IF house(9) > largesthouse THEN largesthouse = house(9): dom_House = 9
  1040. IF house(10) > largesthouse THEN largesthouse = house(10): dom_House = 10
  1041. IF house(11) > largesthouse THEN largesthouse = house(11): dom_House = 11
  1042. IF house(12) > largesthouse THEN largesthouse = house(12): dom_House = 12
  1043. largesthouse_percentage = 100 / all_Houses * largesthouse
  1044. largesthouse_percentage_Rounded# = INT(largesthouse_percentage * 10 ^ 2 + .5): largesthouse_percentage_Rounded# = largesthouse_percentage_Rounded# / 100
  1045.  
  1046. Quad1 = house(1) + house(2) + house(3)
  1047. Quad2 = house(4) + house(5) + house(6)
  1048. Quad3 = house(7) + house(8) + house(9)
  1049. Quad4 = house(10) + house(11) + house(12)
  1050. all_Quads = Quad1 + Quad2 + Quad3 + Quad4
  1051.  
  1052. largedom_Quad = 0
  1053. IF Quad1 > largedom_Quad THEN largedom_Quad = Quad1: dom_Quad$ = "1st aka Fire or energy quadrant"
  1054. IF Quad2 > largedom_Quad THEN largedom_Quad = Quad2: dom_Quad$ = "2nd aka Water or emotional quadrant"
  1055. IF Quad3 > largedom_Quad THEN largedom_Quad = Quad3: dom_Quad$ = "3rd aka Air or intellectual quadrant"
  1056. IF Quad4 > largedom_Quad THEN largedom_Quad = Quad4: dom_Quad$ = "4th aka Earth or reality quadrant"
  1057. large_dom_Quad_percentage = 100 / all_Quads * largedom_Quad
  1058. large_dom_Quad_percentage_Rounded# = INT(large_dom_Quad_percentage * 10 ^ 2 + .5): large_dom_Quad_percentage_Rounded# = large_dom_Quad_percentage_Rounded# / 100
  1059.  
  1060. quad1_Percentage = 100 / all_Quads * Quad1
  1061. quad2_Percentage = 100 / all_Quads * Quad2
  1062. quad3_Percentage = 100 / all_Quads * Quad3
  1063. quad4_Percentage = 100 / all_Quads * Quad4
  1064.  
  1065. quad1_percentage_Rounded# = INT(quad1_Percentage * 10 ^ 2 + .5): quad1_percentage_Rounded# = quad1_percentage_Rounded# / 100
  1066. quad2_percentage_Rounded# = INT(quad2_Percentage * 10 ^ 2 + .5): quad2_percentage_Rounded# = quad2_percentage_Rounded# / 100
  1067. quad3_percentage_Rounded# = INT(quad3_Percentage * 10 ^ 2 + .5): quad3_percentage_Rounded# = quad3_percentage_Rounded# / 100
  1068. quad4_percentage_Rounded# = INT(quad4_Percentage * 10 ^ 2 + .5): quad4_percentage_Rounded# = quad4_percentage_Rounded# / 100
  1069.  
  1070. earth_String$ = "The sum of the earth signs in this birth chart is" + STR$(earth) + ". Thus, its owner is determined by the element of earth by" + STR$(Earth_percentage_Rounded#) + "%."
  1071. fire_String$ = "The sum of the fire signs in this birth chart is" + STR$(fire) + ". Thus, its owner is determined by the element of fire by" + STR$(Fire_percentage_Rounded#) + "%."
  1072. water_String$ = "The sum of the water signs in this birth chart is" + STR$(water) + ". Thus, its owner is determined by the element of water by" + STR$(Water_percentage_Rounded#) + "%."
  1073. air_String$ = "The sum of the air signs in this birth chart is" + STR$(air) + ". Thus, its owner is determined by the element of air by" + STR$(Air_percentage_Rounded#) + "%."
  1074.  
  1075. active_Signs = fire + earth
  1076. passive_Signs = water + air
  1077. polarity_Percentage = active_Signs + passive_Signs
  1078.  
  1079. active_Percentage = 100 / polarity_Percentage * active_Signs
  1080. passive_Percentage = 100 / polarity_Percentage * passive_Signs
  1081.  
  1082. active_percentage_Rounded# = INT(active_Percentage * 10 ^ 2 + .5): active_percentage_Rounded# = active_percentage_Rounded# / 100
  1083. passive_percentage_Rounded# = INT(passive_Percentage * 10 ^ 2 + .5): passive_percentage_Rounded# = passive_percentage_Rounded# / 100
  1084.  
  1085. active_String$ = "The sum of the active signs in this birth chart is" + STR$(active_Signs) + ". Thus, its owner is characterized by active polarities at" + STR$(active_percentage_Rounded#) + "%."
  1086. passive_String$ = "The sum of the passive signs in this birth chart is" + STR$(passive_Signs) + ". Thus, its owner is characterized by passive polarities at" + STR$(passive_percentage_Rounded#) + "%."
  1087.  
  1088. aries_String$ = "Strength of Aries:" + STR$(aries_Value) + " (" + STR$(Aries_percentage_Rounded#) + "%)"
  1089. taurus_String$ = "Strength of Taurus:" + STR$(taurus_Value) + " (" + STR$(Taurus_percentage_Rounded#) + "%)"
  1090. gemini_String$ = "Strength of Gemini:" + STR$(gemini_Value) + " (" + STR$(Gemini_percentage_Rounded#) + "%)"
  1091. cancer_String$ = "Strength of Cancer:" + STR$(cancer_Value) + " (" + STR$(Cancer_percentage_Rounded#) + "%)"
  1092. leo_String$ = "Strength of Leo:" + STR$(leo_Value) + " (" + STR$(Leo_percentage_Rounded#) + "%)"
  1093. virgo_String$ = "Strength of Virgo:" + STR$(virgo_Value) + " (" + STR$(Virgo_percentage_Rounded#) + "%)"
  1094. libra_String$ = "Strength of Libra:" + STR$(libra_Value) + " (" + STR$(Libra_percentage_Rounded#) + "%)"
  1095. scorpio_String$ = "Strength of Scorpio:" + STR$(scorpio_Value) + " (" + STR$(Scorpio_percentage_Rounded#) + "%)"
  1096. sagittarius_String$ = "Strength of Sagittarius:" + STR$(sagittarius_Value) + " (" + STR$(Sagittarius_percentage_Rounded#) + "%)"
  1097. capricorn_String$ = "Strength of Capricorn:" + STR$(capricorn_Value) + " (" + STR$(Capricorn_percentage_Rounded#) + "%)"
  1098. Aquarius_String$ = "Strength of Aquarius:" + STR$(Aquarius_Value) + " (" + STR$(Aquarius_percentage_Rounded#) + "%)"
  1099. pisces_String$ = "Strength of Pisces:" + STR$(pisces_Value) + " (" + STR$(Pisces_percentage_Rounded#) + "%)"
  1100.  
  1101. cardinal_String$ = "The sum of the cardinal signs in this birth chart is" + STR$(cardinals) + ". Thus, its owner is characterized by cardinal qualities at" + STR$(cardinal_percentage_Rounded#) + "%."
  1102. fixed_String$ = "The sum of the fixed signs in this birth chart is" + STR$(fixed) + ". Thus, its owner is characterized by fixed qualities at" + STR$(fixed_percentage_Rounded#) + "%."
  1103. mutable_String$ = "The sum of the mutable signs in this birth chart is" + STR$(mutable) + ". Thus, its owner is characterized by mutable qualities at" + STR$(mutable_percentage_Rounded#) + "%."
  1104.  
  1105. house1_String$ = "Strength of the 1st house: " + STR$(house(1)) + " (" + STR$(house1_percentage_Rounded#) + "%)"
  1106. house2_String$ = "Strength of the 2nd house: " + STR$(house(2)) + " (" + STR$(house2_percentage_Rounded#) + "%)"
  1107. house3_String$ = "Strength of the 3rd house: " + STR$(house(3)) + " (" + STR$(house3_percentage_Rounded#) + "%)"
  1108. house4_String$ = "Strength of the 4th house: " + STR$(house(4)) + " (" + STR$(house4_percentage_Rounded#) + "%)"
  1109. house5_String$ = "Strength of the 5th house: " + STR$(house(5)) + " (" + STR$(house5_percentage_Rounded#) + "%)"
  1110. house6_String$ = "Strength of the 6th house: " + STR$(house(6)) + " (" + STR$(house6_percentage_Rounded#) + "%)"
  1111. house7_String$ = "Strength of the 7th house: " + STR$(house(7)) + " (" + STR$(house7_percentage_Rounded#) + "%)"
  1112. house8_String$ = "Strength of the 8th house: " + STR$(house(8)) + " (" + STR$(house8_percentage_Rounded#) + "%)"
  1113. house9_String$ = "Strength of the 9th house: " + STR$(house(9)) + " (" + STR$(house9_percentage_Rounded#) + "%)"
  1114. house10_String$ = "Strength of the 10th house: " + STR$(house(10)) + " (" + STR$(house10_percentage_Rounded#) + "%)"
  1115. house11_String$ = "Strength of the 11th house: " + STR$(house(11)) + " (" + STR$(house11_percentage_Rounded#) + "%)"
  1116. house12_String$ = "Strength of the 12th house: " + STR$(house(12)) + " (" + STR$(house12_percentage_Rounded#) + "%)"
  1117.  
  1118. Quad1string$ = "Strength of the 1st quadrant: " + STR$(Quad1) + " (" + STR$(quad1_percentage_Rounded#) + "%)"
  1119. Quad2string$ = "Strength of the 2nd quadrant: " + STR$(Quad2) + " (" + STR$(quad2_percentage_Rounded#) + "%)"
  1120. Quad3string$ = "Strength of the 3rd quadrant: " + STR$(Quad3) + " (" + STR$(quad3_percentage_Rounded#) + "%)"
  1121. Quad4string$ = "Strength of the 4th quadrant: " + STR$(Quad4) + " (" + STR$(quad4_percentage_Rounded#) + "%)"
  1122.  
  1123. DECLARE SUB quicksort (min%, max%)
  1124. DECLARE SUB display ()
  1125. DIM SHARED elements_Table$(3), elements_table_Values(3)
  1126.  
  1127. elements_Table$(0) = earth_String$
  1128. elements_table_Values(0) = earth
  1129. elements_Table$(1) = fire_String$
  1130. elements_table_Values(1) = fire
  1131. elements_Table$(2) = water_String$
  1132. elements_table_Values(2) = water
  1133. elements_Table$(3) = air_String$
  1134. elements_table_Values(3) = air
  1135.  
  1136. DIM SHARED signs_Table$(11), signs_table_Values(11)
  1137.  
  1138. signs_Table$(0) = aries_String$
  1139. signs_table_Values(0) = aries_Value
  1140. signs_Table$(1) = taurus_String$
  1141. signs_table_Values(1) = taurus_Value
  1142. signs_Table$(2) = gemini_String$
  1143. signs_table_Values(2) = gemini_Value
  1144. signs_Table$(3) = cancer_String$
  1145. signs_table_Values(3) = cancer_Value
  1146. signs_Table$(4) = leo_String$
  1147. signs_table_Values(4) = leo_Value
  1148. signs_Table$(5) = virgo_String$
  1149. signs_table_Values(5) = virgo_Value
  1150. signs_Table$(6) = libra_String$
  1151. signs_table_Values(6) = libra_Value
  1152. signs_Table$(7) = Skoprionstring$
  1153. signs_table_Values(7) = scorpio_Value
  1154. signs_Table$(8) = sagittarius_String$
  1155. signs_table_Values(8) = sagittarius_Value
  1156. signs_Table$(9) = capricorn_String$
  1157. signs_table_Values(9) = capricorn_Value
  1158. signs_Table$(10) = Aquarius_String$
  1159. signs_table_Values(10) = Aquarius_Value
  1160. signs_Table$(11) = pisces_String$
  1161. signs_table_Values(11) = pisces_Value
  1162.  
  1163. PRINT "Elements:"
  1164. quicksort 0, 3, elements_Table$(), elements_table_Values()
  1165. display elements_Table$(), elements_table_Values()
  1166. PRINT "Dominance of the signs:"
  1167. quicksort 0, 11, signs_Table$(), signs_table_Values()
  1168. display signs_Table$(), signs_table_Values()
  1169. 'PRINT aries_String$
  1170. 'PRINT taurus_String$
  1171. 'PRINT gemini_String$
  1172. 'PRINT cancer_String$
  1173. 'PRINT leo_String$
  1174. 'PRINT virgo_String$
  1175. 'PRINT libra_String$
  1176. 'PRINT scorpio_String$
  1177. 'PRINT sagittarius_String$
  1178. 'PRINT capricorn_String$
  1179. 'PRINT Aquarius_String$
  1180. 'PRINT pisces_String$
  1181. PRINT "At a strength of"; largest; "("; signs_percentage_Rounded#; "% ), "; dom_Sign$; " is the dominant sign."
  1182. PRINT "Qualities:"
  1183. PRINT cardinal_String$
  1184. PRINT fixed_String$
  1185. PRINT mutable_String$
  1186. PRINT "Polarities:"
  1187. PRINT active_String$
  1188. PRINT passive_String$
  1189. PRINT "Dominance of the houses:"
  1190. PRINT house1_String$
  1191. PRINT house2_String$
  1192. PRINT house3_String$
  1193. PRINT house4_String$
  1194. PRINT house5_String$
  1195. PRINT house6_String$
  1196. PRINT house7_String$
  1197. PRINT house8_String$
  1198. PRINT house9_String$
  1199. PRINT house10_String$
  1200. PRINT house11_String$
  1201. PRINT house12_String$
  1202. PRINT "The dominant house in this birth chart is house no."; dom_House; "("; largesthouse_percentage_Rounded#; "% )."
  1203. PRINT "Dominance of the quadrants:"
  1204. PRINT Quad1string$
  1205. PRINT Quad2string$
  1206. PRINT Quad3string$
  1207. PRINT Quad4string$
  1208. PRINT "The dominant quadrant is the "; dom_Quad$; " at "; large_dom_Quad_percentage_Rounded#; "%."
  1209. PRINT "For the dominant celestial body in this birth chart, enter its birth place and birth time at www.astro.com and then select the 'Color Oracle'."
  1210.  
  1211. SUB display (a$(), b())
  1212.     FOR i% = 0 TO UBOUND(a$)
  1213.         PRINT a$(i%) REM, b(i%)
  1214.     NEXT
  1215.  
  1216. SUB quicksort (min%, max%, a$(), b())
  1217.     IF min% < max% THEN
  1218.         p1% = min%
  1219.         p2% = max%
  1220.         mid = b((min% + max%) \ 2) '**
  1221.         DO UNTIL p1% > p2%
  1222.             DO WHILE b(p1%) > mid '**<<invert this unequality to sort ascending
  1223.                 p1% = p1% + 1
  1224.             LOOP
  1225.             DO WHILE mid > b(p2%) '**<<this one too
  1226.                 p2% = p2% - 1
  1227.             LOOP
  1228.             IF p1% <= p2% THEN
  1229.                 SWAP a$(p1%), a$(p2%) '**
  1230.                 SWAP b(p1%), b(p2%) '**
  1231.                 p1% = p1% + 1
  1232.                 p2% = p2% - 1
  1233.             END IF
  1234.         LOOP
  1235.         IF min% < p2% THEN quicksort min%, p2%, a$(), b()
  1236.         IF p1% < max% THEN quicksort p1%, max%, a$(), b()
  1237.     END IF
  1238.  
please try it.

2.
the
Code: QB64: [Select]
  1. WIDTH 150, 70 ' Bplus fixes fit in screen
is the solution that Bplus gives to me to let see all the output into  the screen because I have a notebook with a 15'' screen, but you needn't it for your personal screen!

3. You have a previous smart experience with VisualBasic. What version of VisualBasic?  I knew VB 3.0 for windows as first, then VB4.0. Then I left the world of programming for about 8 years, in the coming back VB was at 6.0 and it was becoming VB.net.... and I got in the web  and found RapidQ, when its community was at the last years of activity. My luck was that I had had enough experience with Qbasic and QB45 of DOS to not loose myself in so many informations useful only for single component of VB and not for being able to program. About VB it seems that Microsoft release free VBexpress 2008 for private personal use. So also if you make a program for free for a friend you are outlaw.  :-) Great marketing.
Yes Inform is an excellent interface that emulates very well the VB in the event driven programming .

4.
Quote
Quote
5. to solve the repetition of number in the first 2 sections  of output  you must simply REM out the second parameter of the SUB in the line 1254 of PRINT

I've tried that, but then QB told me to do the same on line 1252, and then it gave me a syntax error from that on line 1185.
this is fun!
Why? Because in your original code
this is the line 1252
Code: QB64: [Select]
  1. SUB display (a$(), b())
  that is the declaration of the SUB with its parameters
this is line 1254
Code: QB64: [Select]
  1.         PRINT a$(i%), b(i%)  
  that is a simple print on the screen of 2 variables with a distance of a tabulation between them
this is the line 1185
Code: QB64: [Select]
  1. display elements_Table$(), elements_table_Values()
that is a simple call of a SUB passing to it its parameters

so if you simply REM out the second variable from line 1254
Code: QB64: [Select]
  1.         PRINT a$(i%)  REM, b(i%)  
you cannot get these feedbacks from the QB64.

Otherwise if you use the new SUB display posted by me you must adjust all calling to it because it has one (and not 2) parameter
at lines 1191 and 1185
moreover you must REM or cancel the lines from 1193 to 1204
------------------

I hope that my feedbacks are clear and useful.

Good Coding

PS have you already done a flowchart or a pseudocode of the final program ?
It can be useful to understand programming with no matter what language and tool do you want to use!
See here to know more https://en.wikipedia.org/wiki/Pseudocode (https://en.wikipedia.org/wiki/Pseudocode)
Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 07, 2020, 02:11:51 pm
Hi  running my mod I got this issue
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
the 2nd highest value is blank....

so I have tested it in a suitable mode
Code: QB64: [Select]
  1. DIM a$(11), b(11)
  2.     LOCATE 1, 1: PRINT " Press a key to repeat or Enter to quit"
  3.     initialize a$(), b()
  4.     quicksort 0, 11, a$(), b()
  5.     display a$(), b()
  6.     SLEEP
  7.  
  8. SUB initialize (Name$(), Value())
  9.     FOR z = 0 TO UBOUND(Name$) 'Name$() and Value have the same upper limit
  10.         Name$(z) = CHR$(65 + (RND * 25))
  11.         Value(z) = ASC(Name$(z))
  12.     NEXT z
  13.  
  14. SUB display (a$(), b())
  15.     FOR i% = 0 TO UBOUND(a$)
  16.         PRINT , a$(i%), b(i%)
  17.     NEXT
  18.  
  19. SUB quicksort (min%, max%, a$(), b())
  20.     IF min% < max% THEN
  21.         p1% = min%
  22.         p2% = max%
  23.         mid = b((min% + max%) \ 2) '**
  24.         DO UNTIL p1% > p2%
  25.             DO WHILE b(p1%) > mid '**<<invert this unequality to sort ascending
  26.                 p1% = p1% + 1
  27.             LOOP
  28.             DO WHILE mid > b(p2%) '**<<this one too
  29.                 p2% = p2% - 1
  30.             LOOP
  31.             IF p1% <= p2% THEN
  32.                 SWAP a$(p1%), a$(p2%) '**
  33.                 SWAP b(p1%), b(p2%) '**
  34.                 p1% = p1% + 1
  35.                 p2% = p2% - 1
  36.             END IF
  37.         LOOP
  38.         IF min% < p2% THEN quicksort min%, p2%, a$(), b()
  39.         IF p1% < max% THEN quicksort p1%, max%, a$(), b()
  40.     END IF
  41.  

but I have no issue into the test! 
.... who wants to repeat the quicksort algorythm?

Title: Re: Still need help on my horoscope program
Post by: bplus on June 07, 2020, 02:29:16 pm
Quote
.... who wants to repeat the quicksort algorythm?

@TempodiBasic

(referring to the code below) You will have to adjust your Quick Sort code to the Type array to sort.

If you have multiple fields, I would build a string array with fields concatenated in the order you want to sort by.
Make number fields right justified strings, string fields left justified and allow no variable width field (except maybe the last).

Quick and simple demo of Quick Sort:
Code: QB64: [Select]
  1. 'Quick Sort test.bas
  2.  
  3. RANDOMIZE TIMER '<<<< to get different results each test uncomment this line
  4. n = 10
  5. DIM a(n)
  6.  
  7. 'load test array
  8. FOR i = 1 TO n
  9.     a(i) = RND
  10.  
  11. 'sort the array  with sub copied from wiki (insert CR or LF as needed)
  12. CALL QuickSort(1, n, a())
  13.  
  14. 'have a look at array
  15. FOR i = 1 TO n
  16.     PRINT a(i)
  17.  
  18. SUB QuickSort (start AS INTEGER, finish AS INTEGER, array() AS SINGLE)
  19.     DIM Hi AS INTEGER, Lo AS INTEGER, Middle AS SINGLE
  20.     Hi = finish: Lo = start
  21.     Middle = array((Lo + Hi) / 2) 'find middle of array
  22.     DO
  23.         DO WHILE array(Lo) < Middle: Lo = Lo + 1: LOOP
  24.         DO WHILE array(Hi) > Middle: Hi = Hi - 1: LOOP
  25.         IF Lo <= Hi THEN
  26.             SWAP array(Lo), array(Hi)
  27.             Lo = Lo + 1: Hi = Hi - 1
  28.         END IF
  29.     LOOP UNTIL Lo > Hi
  30.     IF Hi > start THEN CALL QuickSort(start, Hi, array())
  31.     IF Lo < finish THEN CALL QuickSort(Lo, finish, array())
  32.  

For string array change Middle to Middle$ and of course the array() parameter.

Title: Re: Still need help on my horoscope program
Post by: DDBE on June 07, 2020, 03:46:48 pm
Quote
3. You have a previous smart experience with VisualBasic. What version of VisualBasic?

I have no idea. It was just a one or two-weeks public evening course, where we were literally copying the instructor's code word-by-word, just so we could make a tiny clipart airplane fly on a pre-defined path across a background BMP map, touching 5 cities or so. All 2D. At the end of that course, I figured I could do the same within CorelMOVE or Premiere Pro within five minutes, rather than taking one or two weeks for it as in VBasic, and I found that VBasic was just unnessarily hugely overcomplicating things. Have never used VBasic again after that course roughly 15-20 years ago.

The only thing I'd taken home from that course that had nothing to do with CoreMOVE or Premiere Pro was that a VBasic program is basically one huge IF (or SELECT CASE) loop waiting for specific events to occur and is capable of doing severeal different things at once, which is a *WAY* different philosophy than Commodore64 BASIC or QBasic. I guess I really prefer the simplicity of good ol' linearity and just a few loops or GOTOs here and there. Couldn't make much sense of VBasic for that reason.

BTW...


Quote
I see that more actions are repetitive. [...] PS have you already done a flowchart or a pseudocode of the final program ?

Where exactly do you see unnecessary repetitions in my original program above? Somnething like a verbal flowchart following below:

Lines 1-956:

I wouldn't know how to further streamline especially the first 956 lines of my original program. The basic idea for those first 956 lines is that every celestial body (as well as ascendant and MC) has a specific fixed numerical value attached to it.

To further desribe the concept: Each birth chart is round like a clock, divided into 12 sections numbered counter-clockwise, beginning at roughly 9 o'clock (where the ascendant is located). These 12 sections are the 12 houses. The 2D chart representation of 3D space works as such that the 12 houses and the 12 signs are visualized basically as two concentric rings, with the houses ring inside the signs ring, and where the outer signs ring can be rotated independently from the houses ring. The rotation of the outer signs ring represents the earth's daily rotation around its own axis in relation to the stars within a 3D space (including a horizon line, formed by the AC-DC axis), so that the moment (as well as location) of birth defines not only the position of the planets, but also how the outer signs ring is rotated or positioned in relation to the inner houses ring, making signs individually end up in specific houses.

Random chart for clarification about the houses and the two concentric rings (houses and signs):

https://www.astro.com/tmpd/cplnfileetj1pG-u1581285156/astro_2atw_richard_nixon.71036.28570.png?33796 (https://www.astro.com/tmpd/cplnfileetj1pG-u1581285156/astro_2atw_richard_nixon.71036.28570.png?33796)

Now, each of the 12 houses in the circular house system is like a box, and each of those house boxes can hold:

a.) Celestial bodies (not all houses do),

b.) one out of the 12 signs (all houses have a sign inside of them),

c.) based upon the sign they're in, each celestial body also adds its numerical value to the sign's specific attributes. Each sign has three different attributes:


Now, based upon where every single celestial body (as well as ascendant and MC) is located inside the spherical house system, you add up the figures of all celestial bodies for each one of the 12 houses and each one of the 12 signs, as well as for the sign's three attributes (element, quality, and polarity).

One only needs to remember that ascendant and MC themselves don't add to a specific house, because unlike with celestial bodies, their position within the house sytem is fixed by being the boundary between the 12th and the 1st house (the ascendant, always located at roughly 9 o'clock on the circular chart) and between the 9th and the 10th house (the MC, always located at roughly 12 o'clock).

However, the planetary ruler of the ascendant sign does add to a house, to a sign, and to the three attributes of that sign. Only not to the sign that is directly in that house where the planetary ruler is in; here, the system works a bit differently as such that when it comes to the house position of an ascendant's planetary ruler, each house has a specific "natural" sign attributed to/associated with it, as opposed to the sign that is actually in that house.

Lines 957-1139:

Following that, lines 957-1139 of my original program deal with:

a.) calculating percentages of strengths within each category (houses, signs, elements, qualities, polarities),

b.) defining the four quadrants (each made out of three consecutive houses) and calculating their percentages,

c.) rounding all the percentages to two decimal places (neither rounding up nor rounding down indiscriminately, but rounding them either up *OR* down based upon what is the closest value) (where I found those operations don't really work exactly like QB64 documentation says, so I had to add one further operation every time by means of a colon in that same line),

d.) and assigning the alphanumerical $trings to print at the end that have resulted from all of the operations above.

Lines 1141-1179:

Lines 1141-1179 define the two-column tables for each category, where one column holds the sortable numerical value, the other holds the $tring to be printed attached to it, so we'll have tables that can be sorted further down.

Lines 1181-1280:

Now, it's the lines 1181 to the very end of my original program (particularly the sub-routines and their calls) that are a total mystery to me and came from Luke, intended to sort every single category table in descending order once this program is finished (where each table can hold two or more tables lines of identical numerical value).

Quote
please try [my new code].

Okay, I'll now screenshot the results of my old code (to still have the numerical results to compare), then I'll try your new code in a clean new program. Thank you so much so far! I guess right now, Bplus's further tweaks are a bit over my head even just how to implement them into your new code.
Title: Re: Still need help on my horoscope program
Post by: bplus on June 07, 2020, 04:49:50 pm
Quote
Bplus's further tweaks are a bit over my head even just how to implement them into your new code.

@DDBE Sorry, Bplus is thinking data-basing but when I see your last post, now thinking complex mult-variable function that requires sub function assembly of data to solve the main function.

I posted the Quick Sort as requested by TempodiBasic only to discover he had a perfectly fine one posted for sorting an array by a field. Again sorry to complicate matters.
Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 07, 2020, 09:16:25 pm
@bplus
The quicksort isn't one of mine, it is the original that had posted DDBE .
I have only checked it in a simpler code than original post. In this last it seems to loose an element that has the same value of another. But in my littler example I never got the glitch!
So my question was : is really there something wrong? Why does it disappear Scorpio from the list printed out after sorting the array of signes?


@DDBE
your code is very huge and works. IMHO it is possible to understand what are the fundamental data to create an UDT (User Defined Data) to manage so many variables all together....
thinking raw about your program
you use:
 12 houses
 12 signs
 14 planets
 4 elements
 3 quality
 2 polarity

and your goal is to calculate:
 1 dominance of elements
 2 dominance of signs
 3 dominance of houses
 4 dominance of qualities
 5 dominance of polarities
 6 dominance of quadrants


I'll take a look into the forest of sum...
Please gimme a feedback  about Mars (that is the only one planet to show 2 different values into different sections of calculations)
into House calculation it gives 6 to its house, while into signs it gives 5 to element, quality and polarity. Is this correct for your calculations?

Thanks for read
Title: Re: Still need help on my horoscope program
Post by: DDBE on June 07, 2020, 10:22:08 pm
@bplus Please gimme a feedback  about Mars (that is the only one planet to show 2 different values into different sections of calculations)
into House calculation it gives 6 to its house, while into signs it gives 5 to element, quality and polarity. Is this correct for your calculations?

Oh shit, you're right! It should always be 6 instead of 5 points added within the SELECT CASE Mars$ loop!
Title: Re: Still need help on my horoscope program
Post by: bplus on June 07, 2020, 11:20:28 pm
Quote
@bplus
The quicksort isn't one of mine, it is the original that had posted DDBE .
I have only checked it in a simpler code than original post. In this last it seems to loose an element that has the same value of another. But in my littler example I never got the glitch!
So my question was : is really there something wrong? Why does it disappear Scorpio from the list printed out after sorting the array of signes?

Hi TempodiBasic,

I looked over your simplified quicksort and looks good. Is the missing item in the array(s) before quicksort is called?
Is it a top or bottom item in an array list? (There could be a problem if an array assumed to start at 1 starts at 0 or vice versa).

Intuitively I sense that UDT might organize and reduce code lines also, but maybe not.

Man! I admire how you are getting into the details here!
Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 08, 2020, 08:22:27 am
@DDBE ok now you can fix it in your code and I in my MOD  :-)

@bplus  the missed value is the 2nd highest after quicksort and yes the array DIMmed by DDBE is 0-11 and quicksort is called with min%,Max%  as  0,11

Code: QB64: [Select]
  1. PRINT "Dominance of the signs:"
  2. quicksort 0, 11, signs_Table$(), signs_table_Values()
  3. display signs_Table$(), signs_table_Values()
  4. 'PRINT aries_String$
  5. 'PRINT taurus_String$
  6. 'PRINT gemini_String$
  7. 'PRINT cancer_String$
  8. 'PRINT leo_String$
  9. 'PRINT virgo_String$
  10. 'PRINT libra_String$
  11. PRINT scorpio_String$, signs_Table$(1) '<-- printing original string and array item of Scorpio
  12. 'PRINT sagittarius_String$
  13. 'PRINT capricorn_String$
  14. 'PRINT Aquarius_String$
  15. 'PRINT pisces_String$

if you run my code unREMming the Scorpio line of code you'll get its value

  [ This attachment cannot be displayed inline in 'Print Page' view ]  

any idea?
Title: Re: Still need help on my horoscope program
Post by: bplus on June 08, 2020, 12:20:12 pm
Quote
@bplus  the missed value is the 2nd highest after quicksort and yes the array DIMmed by DDBE is 0-11 and quicksort is called with min%,Max%  as  0,11

@TempodiBasic, taking your code from reply #11 I made these changes:
at top, for readablility and screen fit
Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(150, 70, 0) 'make screen size that fits my laptop and can read
  2. 'WIDTH 150, 70 ' Bplus fixes fit in screen
  3.  

focus in on the code around 1190 the call to quicksort, check the arrays before and after and then quit program:
Code: QB64: [Select]
  1. PRINT "Dominance of the signs: Before quicksort call"
  2. display signs_Table$(), signs_table_Values()
  3. quicksort 0, 11, signs_Table$(), signs_table_Values()
  4. PRINT "Dominance of the signs: After quicksort call"
  5. display signs_Table$(), signs_table_Values()
  6.  

and a little change to display sub to see both arrays and format a little better
Code: QB64: [Select]
  1. SUB display (a$(), b())
  2.     FOR i% = 0 TO UBOUND(a$)
  3.         'PRINT a$(i%) REM, b(i%)  'reply #11 code
  4.         PRINT i%; ": "; a$(i%); "  >> b(): "; b(i%) ' let us see what b() has as well
  5.     NEXT

Here is the result:
 


You can plainly see that Scorpio was missing from signs_Table$() even before the call to quicksort (but signs_table_Values() array did have it and so sorted properly as key to the sort algo).

I have now I think proved quicksort is not the problem. I suspect some typo or other mistake when assigning the Scorpio value to the signs_Table$() array.
Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 08, 2020, 04:28:51 pm
@bplus
EXCELLENT session of debug!
Yes your research puts light on the mistery!  And Yes you're right about the nature of the error that is before quicksort SUB!

here is the genesis of the issue!
Quote
1170 signs_Table$(7) = Skoprionstring$
it is clearly a mystype error!
Thanks to solve the issue  Bplus.
Title: Re: Still need help on my horoscope program
Post by: bplus on June 08, 2020, 07:23:53 pm
@bplus
EXCELLENT session of debug!
Yes your research puts light on the mistery!  And Yes you're right about the nature of the error that is before quicksort SUB!

here is the genesis of the issue! it is clearly a mystype error!
Thanks to solve the issue  Bplus.

Aha! @TempodiBasic you found it!
Title: Re: Still need help on my horoscope program
Post by: DDBE on June 08, 2020, 11:14:48 pm
OMG, thank you so, so much guys! This is the final code now, and it works absolutely fine:

Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(200, 70, 0)
  2. COLOR , 15: CLS
  3.  
  4. sun$ = "Aquarius"
  5. sun_House = 4
  6. moon$ = "Aries"
  7. moon_House = 6
  8. ascendent$ = "Scorpio"
  9. MC$ = "Leo"
  10. mercury$ = "Aquarius"
  11. mercury_House = 3
  12. Venus$ = "Pisces"
  13. venus_House = 5
  14. Mars$ = "Pisces"
  15. mars_House = 5
  16. Jupiter$ = "Sagittarius"
  17. jupiter_House = 2
  18. Saturn$ = "Scorpio"
  19. saturn_House = 1
  20. Chiron$ = "Taurus"
  21. chiron_House = 7
  22. Uranus$ = "Sagittarius"
  23. uranus_House = 2
  24. neptune$ = "Sagittarius"
  25. neptunee_House = 2
  26. Pluto$ = "Libra"
  27. pluto_House = 12
  28. moon_Node$ = "Capricorn"
  29. moon_node_House = 3
  30. Lilith$ = "Aquarius"
  31. lilith_House = 4
  32.  
  33. DIM house(12) AS INTEGER 'Defining 12 houses that numerical values can be added to which can be subjected to mathematical operations.
  34. house(sun_House) = house(sun_House) + 12 'Adds 12 points to the house that has the Sun in it.
  35. house(moon_House) = house(moon_House) + 12 'Adds 12 points to the house that has the Moon in it.
  36. house(mercury_House) = house(mercury_House) + 6 'Adds 6 points to the house that has Mercury in it.
  37. house(venus_House) = house(venus_House) + 6 'Adds 6 points to the house that has Venus in it.
  38. house(mars_House) = house(mars_House) + 6 'Adds 6 points to the house that has Mars in it.
  39. house(jupiter_House) = house(jupiter_House) + 5 'Adds 5 points to the house that has Jupiter in it.
  40. house(saturn_House) = house(saturn_House) + 5 'Adds 5 points to the house that has Saturn in it.
  41. house(chiron_House) = house(chiron_House) + 2 'Adds 2 points to the house that has Chiron in it.
  42. house(uranus_House) = house(uranus_House) + 2 'Adds 2 points to the house that has Uranus in it.
  43. house(neptunee_House) = house(neptunee_House) + 2 'Adds 2 points to the house that has neptunee in it.
  44. house(pluto_House) = house(pluto_House) + 2 'Adds 2 points to the house that has Pluto in it.
  45. house(moon_node_House) = house(moon_node_House) + 2 'Adds 2 points to the house that has the Moon Node in it.
  46. house(lilith_House) = house(lilith_House) + 1 'Adds 1 point to the house that has Lilith in it.
  47.  
  48.     CASE "Aries"
  49.         fire = fire + 12
  50.         aries_Value = aries_Value + 12
  51.         cardinals = cardinals + 12
  52.     CASE "Taurus"
  53.         earth = earth + 12
  54.         taurus_Value = taurus_Value + 12
  55.         fixed = fixed + 12
  56.     CASE "Gemini"
  57.         air = air + 12
  58.         gemini_Value = gemini_Value + 12
  59.         mutable = mutable + 12
  60.     CASE "Cancer"
  61.         water = water + 12
  62.         cancer_Value = cancer_Value + 12
  63.         cardinals = cardinals + 12
  64.     CASE "Leo"
  65.         fire = fire + 12
  66.         leo_Value = leo_Value + 12
  67.         fixed = fixed + 12
  68.     CASE "Virgo"
  69.         earth = earth + 12
  70.         virgo_Value = virgo_Value + 12
  71.         mutable = mutable + 12
  72.     CASE "Libra"
  73.         air = air + 12
  74.         libra_Value = libra_Value + 12
  75.         cardinals = cardinals + 12
  76.     CASE "Scorpio"
  77.         water = water + 12
  78.         scorpio_Value = scorpio_Value + 12
  79.         fixed = fixed + 12
  80.     CASE "Sagittarius"
  81.         fire = fire + 12
  82.         sagittarius_Value = sagittarius_Value + 12
  83.         mutable = mutable + 12
  84.     CASE "Capricorn"
  85.         earth = earth + 12
  86.         capricorn_Value = capricorn_Value + 12
  87.         cardinals = cardinals + 12
  88.     CASE "Aquarius"
  89.         air = air + 12
  90.         Aquarius_Value = Aquarius_Value + 12
  91.         fixed = fixed + 12
  92.     CASE "Pisces"
  93.         water = water + 12
  94.         pisces_Value = pisces_Value + 12
  95.         mutable = mutable + 12
  96.  
  97. SELECT CASE moon$
  98.     CASE "Aries"
  99.         fire = fire + 12
  100.         aries_Value = aries_Value + 12
  101.         cardinals = cardinals + 12
  102.     CASE "Taurus"
  103.         earth = earth + 12
  104.         taurus_Value = taurus_Value + 12
  105.         fixed = fixed + 12
  106.     CASE "Gemini"
  107.         air = air + 12
  108.         gemini_Value = gemini_Value + 12
  109.         mutable = mutable + 12
  110.     CASE "Cancer"
  111.         water = water + 12
  112.         cancer_Value = cancer_Value + 12
  113.         cardinals = cardinals + 12
  114.     CASE "Leo"
  115.         fire = fire + 12
  116.         leo_Value = leo_Value + 12
  117.         fixed = fixed + 12
  118.     CASE "Virgo"
  119.         earth = earth + 12
  120.         virgo_Value = virgo_Value + 12
  121.         mutable = mutable + 12
  122.     CASE "Libra"
  123.         air = air + 12
  124.         libra_Value = libra_Value + 12
  125.         cardinals = cardinals + 12
  126.     CASE "Scorpio"
  127.         water = water + 12
  128.         scorpio_Value = scorpio_Value + 12
  129.         fixed = fixed + 12
  130.     CASE "Sagittarius"
  131.         fire = fire + 12
  132.         sagittarius_Value = sagittarius_Value + 12
  133.         mutable = mutable + 12
  134.     CASE "Capricorn"
  135.         earth = earth + 12
  136.         capricorn_Value = capricorn_Value + 12
  137.         cardinals = cardinals + 12
  138.     CASE "Aquarius"
  139.         air = air + 12
  140.         Aquarius_Value = Aquarius_Value + 12
  141.         fixed = fixed + 12
  142.     CASE "Pisces"
  143.         water = water + 12
  144.         pisces_Value = pisces_Value + 12
  145.         mutable = mutable + 12
  146.  
  147. SELECT CASE ascendent$
  148.     CASE "Aries"
  149.         fire = fire + 12
  150.         aries_Value = aries_Value + 12
  151.         cardinals = cardinals + 12
  152.         IF mars_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  153.         IF mars_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  154.         IF mars_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  155.         IF mars_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  156.         IF mars_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  157.         IF mars_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  158.         IF mars_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  159.         IF mars_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  160.         IF mars_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  161.         IF mars_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  162.         IF mars_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  163.         IF mars_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  164.     CASE "Taurus"
  165.         earth = earth + 12
  166.         taurus_Value = taurus_Value + 12
  167.         fixed = fixed + 12
  168.         IF chiron_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  169.         IF chiron_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  170.         IF chiron_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  171.         IF chiron_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  172.         IF chiron_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  173.         IF chiron_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  174.         IF chiron_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  175.         IF chiron_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  176.         IF chiron_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  177.         IF chiron_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  178.         IF chiron_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  179.         IF chiron_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  180.     CASE "Gemini"
  181.         air = air + 12
  182.         gemini_Value = gemini_Value + 12
  183.         mutable = mutable + 12
  184.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  185.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  186.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  187.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  188.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  189.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  190.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  191.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  192.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  193.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  194.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  195.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  196.     CASE "Cancer"
  197.         water = water + 12
  198.         cancer_Value = cancer_Value + 12
  199.         cardinals = cardinals + 12
  200.         IF moon_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  201.         IF moon_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  202.         IF moon_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  203.         IF moon_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  204.         IF moon_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  205.         IF moon_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  206.         IF moon_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  207.         IF moon_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  208.         IF moon_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  209.         IF moon_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  210.         IF moon_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  211.         IF moon_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  212.     CASE "Leo"
  213.         fire = fire + 12
  214.         leo_Value = leo_Value + 12
  215.         fixed = fixed + 12
  216.         IF sun_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  217.         IF sun_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  218.         IF sun_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  219.         IF sun_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  220.         IF sun_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  221.         IF sun_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  222.         IF sun_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  223.         IF sun_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  224.         IF sun_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  225.         IF sun_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  226.         IF sun_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  227.         IF sun_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  228.     CASE "Virgo"
  229.         earth = earth + 12
  230.         virgo_Value = virgo_Value + 12
  231.         mutable = mutable + 12
  232.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  233.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  234.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  235.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  236.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  237.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  238.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  239.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  240.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  241.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  242.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  243.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  244.     CASE "Libra"
  245.         air = air + 12
  246.         libra_Value = libra_Value + 12
  247.         cardinals = cardinals + 12
  248.         IF venus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  249.         IF venus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  250.         IF venus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  251.         IF venus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  252.         IF venus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  253.         IF venus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  254.         IF venus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  255.         IF venus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  256.         IF venus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  257.         IF venus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  258.         IF venus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  259.         IF venus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  260.     CASE "Scorpio"
  261.         water = water + 12
  262.         scorpio_Value = scorpio_Value + 12
  263.         fixed = fixed + 12
  264.         IF pluto_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  265.         IF pluto_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  266.         IF pluto_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  267.         IF pluto_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  268.         IF pluto_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  269.         IF pluto_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  270.         IF pluto_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  271.         IF pluto_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  272.         IF pluto_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  273.         IF pluto_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  274.         IF pluto_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  275.         IF pluto_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  276.     CASE "Sagittarius"
  277.         fire = fire + 12
  278.         sagittarius_Value = sagittarius_Value + 12
  279.         mutable = mutable + 12
  280.         IF jupiter_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  281.         IF jupiter_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  282.         IF jupiter_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  283.         IF jupiter_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  284.         IF jupiter_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  285.         IF jupiter_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  286.         IF jupiter_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  287.         IF jupiter_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  288.         IF jupiter_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  289.         IF jupiter_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  290.         IF jupiter_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  291.         IF jupiter_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  292.     CASE "Capricorn"
  293.         earth = earth + 12
  294.         capricorn_Value = capricorn_Value + 12
  295.         cardinals = cardinals + 12
  296.         IF saturn_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  297.         IF saturn_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  298.         IF saturn_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  299.         IF saturn_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  300.         IF saturn_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  301.         IF saturn_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  302.         IF saturn_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  303.         IF saturn_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  304.         IF saturn_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  305.         IF saturn_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  306.         IF saturn_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  307.         IF saturn_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  308.     CASE "Aquarius"
  309.         air = air + 12
  310.         Aquarius_Value = Aquarius_Value + 12
  311.         fixed = fixed + 12
  312.         IF uranus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  313.         IF uranus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  314.         IF uranus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  315.         IF uranus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  316.         IF uranus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  317.         IF uranus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  318.         IF uranus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  319.         IF uranus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  320.         IF uranus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  321.         IF uranus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  322.         IF uranus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  323.         IF uranus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  324.     CASE "Pisces"
  325.         water = water + 12
  326.         pisces_Value = pisces_Value + 12
  327.         mutable = mutable + 12
  328.         IF neptunee_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  329.         IF neptunee_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  330.         IF neptunee_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  331.         IF neptunee_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  332.         IF neptunee_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  333.         IF neptunee_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  334.         IF neptunee_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  335.         IF neptunee_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  336.         IF neptunee_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  337.         IF neptunee_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  338.         IF neptunee_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  339.         IF neptunee_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  340.  
  341. SELECT CASE mercury$
  342.     CASE "Aries"
  343.         fire = fire + 6
  344.         aries_Value = aries_Value + 6
  345.         cardinals = cardinals + 6
  346.     CASE "Taurus"
  347.         earth = earth + 6
  348.         taurus_Value = taurus_Value + 6
  349.         fixed = fixed + 6
  350.     CASE "Gemini"
  351.         air = air + 6
  352.         gemini_Value = gemini_Value + 6
  353.         mutable = mutable + 6
  354.     CASE "Cancer"
  355.         water = water + 6
  356.         cancer_Value = cancer_Value + 6
  357.         cardinals = cardinals + 6
  358.     CASE "Leo"
  359.         fire = fire + 6
  360.         leo_Value = leo_Value + 6
  361.         fixed = fixed + 6
  362.     CASE "Virgo"
  363.         earth = earth + 6
  364.         virgo_Value = virgo_Value + 6
  365.         mutable = mutable + 6
  366.     CASE "Libra"
  367.         air = air + 6
  368.         libra_Value = libra_Value + 6
  369.         cardinals = cardinals + 6
  370.     CASE "Scorpio"
  371.         water = water + 6
  372.         scorpio_Value = scorpio_Value + 6
  373.         fixed = fixed + 6
  374.     CASE "Sagittarius"
  375.         fire = fire + 6
  376.         sagittarius_Value = sagittarius_Value + 6
  377.         mutable = mutable + 6
  378.     CASE "Capricorn"
  379.         earth = earth + 6
  380.         capricorn_Value = capricorn_Value + 6
  381.         cardinals = cardinals + 6
  382.     CASE "Aquarius"
  383.         air = air + 6
  384.         Aquarius_Value = Aquarius_Value + 6
  385.         fixed = fixed + 6
  386.     CASE "Pisces"
  387.         water = water + 6
  388.         pisces_Value = pisces_Value + 6
  389.         mutable = mutable + 6
  390.  
  391. SELECT CASE Venus$
  392.     CASE "Aries"
  393.         fire = fire + 6
  394.         aries_Value = aries_Value + 6
  395.         cardinals = cardinals + 6
  396.     CASE "Taurus"
  397.         earth = earth + 6
  398.         taurus_Value = taurus_Value + 6
  399.         fixed = fixed + 6
  400.     CASE "Gemini"
  401.         air = air + 6
  402.         gemini_Value = gemini_Value + 6
  403.         mutable = mutable + 6
  404.     CASE "Cancer"
  405.         water = water + 6
  406.         cancer_Value = cancer_Value + 6
  407.         cardinals = cardinals + 6
  408.     CASE "Leo"
  409.         fire = fire + 6
  410.         leo_Value = leo_Value + 6
  411.         fixed = fixed + 6
  412.     CASE "Virgo"
  413.         earth = earth + 6
  414.         virgo_Value = virgo_Value + 6
  415.         mutable = mutable + 6
  416.     CASE "Libra"
  417.         air = air + 6
  418.         libra_Value = libra_Value + 6
  419.         cardinals = cardinals + 6
  420.     CASE "Scorpio"
  421.         water = water + 6
  422.         scorpio_Value = scorpio_Value + 6
  423.         fixed = fixed + 5
  424.     CASE "Sagittarius"
  425.         fire = fire + 6
  426.         sagittarius_Value = sagittarius_Value + 6
  427.         mutable = mutable + 6
  428.     CASE "Capricorn"
  429.         earth = earth + 6
  430.         capricorn_Value = capricorn_Value + 6
  431.         cardinals = cardinals + 6
  432.     CASE "Aquarius"
  433.         air = air + 6
  434.         Aquarius_Value = Aquarius_Value + 6
  435.         fixed = fixed + 6
  436.     CASE "Pisces"
  437.         water = water + 6
  438.         pisces_Value = pisces_Value + 6
  439.         mutable = mutable + 6
  440.  
  441. SELECT CASE Mars$
  442.     CASE "Aries"
  443.         fire = fire + 6
  444.         aries_Value = aries_Value + 6
  445.         cardinals = cardinals + 6
  446.     CASE "Taurus"
  447.         earth = earth + 6
  448.         taurus_Value = taurus_Value + 6
  449.         fixed = fixed + 6
  450.     CASE "Gemini"
  451.         air = air + 6
  452.         gemini_Value = gemini_Value + 6
  453.         mutable = mutable + 6
  454.     CASE "Cancer"
  455.         water = water + 6
  456.         cancer_Value = cancer_Value + 6
  457.         cardinals = cardinals + 6
  458.     CASE "Leo"
  459.         fire = fire + 6
  460.         leo_Value = leo_Value + 6
  461.         fixed = fixed + 6
  462.     CASE "Virgo"
  463.         earth = earth + 6
  464.         virgo_Value = virgo_Value + 6
  465.         mutable = mutable + 6
  466.     CASE "Libra"
  467.         air = air + 6
  468.         libra_Value = libra_Value + 6
  469.         cardinals = cardinals + 6
  470.     CASE "Scorpio"
  471.         water = water + 6
  472.         scorpio_Value = scorpio_Value + 6
  473.         fixed = fixed + 6
  474.     CASE "Sagittarius"
  475.         fire = fire + 6
  476.         sagittarius_Value = sagittarius_Value + 6
  477.         mutable = mutable + 6
  478.     CASE "Capricorn"
  479.         earth = earth + 6
  480.         capricorn_Value = capricorn_Value + 6
  481.         cardinals = cardinals + 6
  482.     CASE "Aquarius"
  483.         air = air + 6
  484.         Aquarius_Value = Aquarius_Value + 6
  485.         fixed = fixed + 6
  486.     CASE "Pisces"
  487.         water = water + 6
  488.         pisces_Value = pisces_Value + 6
  489.         mutable = mutable + 6
  490.  
  491. SELECT CASE Jupiter$
  492.     CASE "Aries"
  493.         fire = fire + 5
  494.         aries_Value = aries_Value + 5
  495.         cardinals = cardinals + 5
  496.     CASE "Taurus"
  497.         earth = earth + 5
  498.         taurus_Value = taurus_Value + 5
  499.         fixed = fixed + 5
  500.     CASE "Gemini"
  501.         air = air + 5
  502.         gemini_Value = gemini_Value + 5
  503.         mutable = mutable + 5
  504.     CASE "Cancer"
  505.         water = water + 5
  506.         cancer_Value = cancer_Value + 5
  507.         cardinals = cardinals + 5
  508.     CASE "Leo"
  509.         fire = fire + 5
  510.         leo_Value = leo_Value + 5
  511.         fixed = fixed + 5
  512.     CASE "Virgo"
  513.         earth = earth + 5
  514.         virgo_Value = virgo_Value + 5
  515.         mutable = mutable + 5
  516.     CASE "Libra"
  517.         air = air + 5
  518.         libra_Value = libra_Value + 5
  519.         cardinals = cardinals + 5
  520.     CASE "Scorpio"
  521.         water = water + 5
  522.         scorpio_Value = scorpio_Value + 5
  523.         fixed = fixed + 5
  524.     CASE "Sagittarius"
  525.         fire = fire + 5
  526.         sagittarius_Value = sagittarius_Value + 5
  527.         mutable = mutable + 5
  528.     CASE "Capricorn"
  529.         earth = earth + 5
  530.         capricorn_Value = capricorn_Value + 5
  531.         cardinals = cardinals + 5
  532.     CASE "Aquarius"
  533.         air = air + 5
  534.         Aquarius_Value = Aquarius_Value + 5
  535.         fixed = fixed + 5
  536.     CASE "Pisces"
  537.         water = water + 5
  538.         pisces_Value = pisces_Value + 5
  539.         mutable = mutable + 5
  540.  
  541. SELECT CASE Saturn$
  542.     CASE "Aries"
  543.         fire = fire + 5
  544.         aries_Value = aries_Value + 5
  545.         cardinals = cardinals + 5
  546.     CASE "Taurus"
  547.         earth = earth + 5
  548.         taurus_Value = taurus_Value + 5
  549.         fixed = fixed + 5
  550.     CASE "Gemini"
  551.         air = air + 5
  552.         gemini_Value = gemini_Value + 5
  553.         mutable = mutable + 5
  554.     CASE "Cancer"
  555.         water = water + 5
  556.         cancer_Value = cancer_Value + 5
  557.         cardinals = cardinals + 5
  558.     CASE "Leo"
  559.         fire = fire + 5
  560.         leo_Value = leo_Value + 5
  561.         fixed = fixed + 5
  562.     CASE "Virgo"
  563.         earth = earth + 5
  564.         virgo_Value = virgo_Value + 5
  565.         mutable = mutable + 5
  566.     CASE "Libra"
  567.         air = air + 5
  568.         libra_Value = libra_Value + 5
  569.         cardinals = cardinals + 5
  570.     CASE "Scorpio"
  571.         water = water + 5
  572.         scorpio_Value = scorpio_Value + 5
  573.         fixed = fixed + 5
  574.     CASE "Sagittarius"
  575.         fire = fire + 5
  576.         sagittarius_Value = sagittarius_Value + 5
  577.         mutable = mutable + 5
  578.     CASE "Capricorn"
  579.         earth = earth + 5
  580.         capricorn_Value = capricorn_Value + 5
  581.         cardinals = cardinals + 5
  582.     CASE "Aquarius"
  583.         air = air + 5
  584.         Aquarius_Value = Aquarius_Value + 5
  585.         fixed = fixed + 5
  586.     CASE "Pisces"
  587.         water = water + 5
  588.         pisces_Value = pisces_Value + 5
  589.         mutable = mutable + 5
  590.  
  591.     CASE "Aries"
  592.         fire = fire + 5
  593.         aries_Value = aries_Value + 5
  594.         cardinals = cardinals + 5
  595.     CASE "Taurus"
  596.         earth = earth + 5
  597.         taurus_Value = taurus_Value + 5
  598.         fixed = fixed + 5
  599.     CASE "Gemini"
  600.         air = air + 5
  601.         gemini_Value = gemini_Value + 5
  602.         mutable = mutable + 5
  603.     CASE "Cancer"
  604.         water = water + 5
  605.         cancer_Value = cancer_Value + 5
  606.         cardinals = cardinals + 5
  607.     CASE "Leo"
  608.         fire = fire + 5
  609.         leo_Value = leo_Value + 5
  610.         fixed = fixed + 5
  611.     CASE "Virgo"
  612.         earth = earth + 5
  613.         virgo_Value = virgo_Value + 5
  614.         mutable = mutable + 5
  615.     CASE "Libra"
  616.         air = air + 5
  617.         libra_Value = libra_Value + 5
  618.         cardinals = cardinals + 5
  619.     CASE "Scorpio"
  620.         water = water + 5
  621.         scorpio_Value = scorpio_Value + 5
  622.         fixed = fixed + 5
  623.     CASE "Sagittarius"
  624.         fire = fire + 5
  625.         sagittarius_Value = sagittarius_Value + 5
  626.         mutable = mutable + 5
  627.     CASE "Capricorn"
  628.         earth = earth + 5
  629.         capricorn_Value = capricorn_Value + 5
  630.         cardinals = cardinals + 5
  631.     CASE "Aquarius"
  632.         air = air + 5
  633.         Aquarius_Value = Aquarius_Value + 5
  634.         fixed = fixed + 5
  635.     CASE "Pisces"
  636.         water = water + 5
  637.         pisces_Value = pisces_Value + 5
  638.         mutable = mutable + 5
  639.  
  640. SELECT CASE Chiron$
  641.     CASE "Aries"
  642.         fire = fire + 2
  643.         aries_Value = aries_Value + 2
  644.         cardinals = cardinals + 2
  645.     CASE "Taurus"
  646.         earth = earth + 2
  647.         taurus_Value = taurus_Value + 2
  648.         fixed = fixed + 2
  649.     CASE "Gemini"
  650.         air = air + 2
  651.         gemini_Value = gemini_Value + 2
  652.         mutable = mutable + 2
  653.     CASE "Cancer"
  654.         water = water + 2
  655.         cancer_Value = cancer_Value + 2
  656.         cardinals = cardinals + 2
  657.     CASE "Leo"
  658.         fire = fire + 2
  659.         leo_Value = leo_Value + 2
  660.         fixed = fixed + 2
  661.     CASE "Virgo"
  662.         earth = earth + 2
  663.         virgo_Value = virgo_Value + 2
  664.         mutable = mutable + 2
  665.     CASE "Libra"
  666.         air = air + 2
  667.         libra_Value = libra_Value + 2
  668.         cardinals = cardinals + 2
  669.     CASE "Scorpio"
  670.         water = water + 2
  671.         scorpio_Value = scorpio_Value + 2
  672.         fixed = fixed + 2
  673.     CASE "Sagittarius"
  674.         fire = fire + 2
  675.         sagittarius_Value = sagittarius_Value + 2
  676.         mutable = mutable + 2
  677.     CASE "Capricorn"
  678.         earth = earth + 2
  679.         capricorn_Value = capricorn_Value + 2
  680.         cardinals = cardinals + 2
  681.     CASE "Aquarius"
  682.         air = air + 2
  683.         Aquarius_Value = Aquarius_Value + 2
  684.         fixed = fixed + 2
  685.     CASE "Pisces"
  686.         water = water + 2
  687.         pisces_Value = pisces_Value + 2
  688.         mutable = mutable + 2
  689.  
  690. SELECT CASE Uranus$
  691.     CASE "Aries"
  692.         fire = fire + 2
  693.         aries_Value = aries_Value + 2
  694.         cardinals = cardinals + 2
  695.     CASE "Taurus"
  696.         earth = earth + 2
  697.         taurus_Value = taurus_Value + 2
  698.         fixed = fixed + 2
  699.     CASE "Gemini"
  700.         air = air + 2
  701.         gemini_Value = gemini_Value + 2
  702.         mutable = mutable + 2
  703.     CASE "Cancer"
  704.         water = water + 2
  705.         cancer_Value = cancer_Value + 2
  706.         cardinals = cardinals + 2
  707.     CASE "Leo"
  708.         fire = fire + 2
  709.         leo_Value = leo_Value + 2
  710.         fixed = fixed + 2
  711.     CASE "Virgo"
  712.         earth = earth + 2
  713.         virgo_Value = virgo_Value + 2
  714.         mutable = mutable + 2
  715.     CASE "Libra"
  716.         air = air + 2
  717.         libra_Value = libra_Value + 2
  718.         cardinals = cardinals + 2
  719.     CASE "Scorpio"
  720.         water = water + 2
  721.         scorpio_Value = scorpio_Value + 2
  722.         fixed = fixed + 2
  723.     CASE "Sagittarius"
  724.         fire = fire + 2
  725.         sagittarius_Value = sagittarius_Value + 2
  726.         mutable = mutable + 2
  727.     CASE "Capricorn"
  728.         earth = earth + 2
  729.         capricorn_Value = capricorn_Value + 2
  730.         cardinals = cardinals + 2
  731.     CASE "Aquarius"
  732.         air = air + 2
  733.         Aquarius_Value = Aquarius_Value + 2
  734.         fixed = fixed + 2
  735.     CASE "Pisces"
  736.         water = water + 2
  737.         pisces_Value = pisces_Value + 2
  738.         mutable = mutable + 2
  739.  
  740. SELECT CASE neptune$
  741.     CASE "Aries"
  742.         fire = fire + 2
  743.         aries_Value = aries_Value + 2
  744.         cardinals = cardinals + 2
  745.     CASE "Taurus"
  746.         earth = earth + 2
  747.         taurus_Value = taurus_Value + 2
  748.         fixed = fixed + 2
  749.     CASE "Gemini"
  750.         air = air + 2
  751.         gemini_Value = gemini_Value + 2
  752.         mutable = mutable + 2
  753.     CASE "Cancer"
  754.         water = water + 2
  755.         cancer_Value = cancer_Value + 2
  756.         cardinals = cardinals + 2
  757.     CASE "Leo"
  758.         fire = fire + 2
  759.         leo_Value = leo_Value + 2
  760.         fixed = fixed + 2
  761.     CASE "Virgo"
  762.         earth = earth + 2
  763.         virgo_Value = virgo_Value + 2
  764.         mutable = mutable + 2
  765.     CASE "Libra"
  766.         air = air + 2
  767.         libra_Value = libra_Value + 2
  768.         cardinals = cardinals + 2
  769.     CASE "Scorpio"
  770.         water = water + 2
  771.         scorpio_Value = scorpio_Value + 2
  772.         fixed = fixed + 2
  773.     CASE "Sagittarius"
  774.         fire = fire + 2
  775.         sagittarius_Value = sagittarius_Value + 2
  776.         mutable = mutable + 2
  777.     CASE "Capricorn"
  778.         earth = earth + 2
  779.         capricorn_Value = capricorn_Value + 2
  780.         cardinals = cardinals + 2
  781.     CASE "Aquarius"
  782.         air = air + 2
  783.         Aquarius_Value = Aquarius_Value + 2
  784.         fixed = fixed + 2
  785.     CASE "Pisces"
  786.         water = water + 2
  787.         pisces_Value = pisces_Value + 2
  788.         mutable = mutable + 2
  789.  
  790. SELECT CASE Pluto$
  791.     CASE "Aries"
  792.         fire = fire + 2
  793.         aries_Value = aries_Value + 2
  794.         cardinals = cardinals + 2
  795.     CASE "Taurus"
  796.         earth = earth + 2
  797.         taurus_Value = taurus_Value + 2
  798.         fixed = fixed + 2
  799.     CASE "Gemini"
  800.         air = air + 2
  801.         gemini_Value = gemini_Value + 2
  802.         mutable = mutable + 2
  803.     CASE "Cancer"
  804.         water = water + 2
  805.         cancer_Value = cancer_Value + 2
  806.         cardinals = cardinals + 2
  807.     CASE "Leo"
  808.         fire = fire + 2
  809.         leo_Value = leo_Value + 2
  810.         fixed = fixed + 2
  811.     CASE "Virgo"
  812.         earth = earth + 2
  813.         virgo_Value = virgo_Value + 2
  814.         mutable = mutable + 2
  815.     CASE "Libra"
  816.         air = air + 2
  817.         libra_Value = libra_Value + 2
  818.         cardinals = cardinals + 2
  819.     CASE "Scorpio"
  820.         water = water + 2
  821.         scorpio_Value = scorpio_Value + 2
  822.         fixed = fixed + 2
  823.     CASE "Sagittarius"
  824.         fire = fire + 2
  825.         sagittarius_Value = sagittarius_Value + 2
  826.         mutable = mutable + 2
  827.     CASE "Capricorn"
  828.         earth = earth + 2
  829.         capricorn_Value = capricorn_Value + 2
  830.         cardinals = cardinals + 2
  831.     CASE "Aquarius"
  832.         air = air + 2
  833.         Aquarius_Value = Aquarius_Value + 2
  834.         fixed = fixed + 2
  835.     CASE "Pisces"
  836.         water = water + 2
  837.         pisces_Value = pisces_Value + 2
  838.         mutable = mutable + 2
  839.  
  840. SELECT CASE moon_Node$
  841.     CASE "Aries"
  842.         fire = fire + 2
  843.         aries_Value = aries_Value + 2
  844.         cardinals = cardinals + 2
  845.     CASE "Taurus"
  846.         earth = earth + 2
  847.         taurus_Value = taurus_Value + 2
  848.         fixed = fixed + 2
  849.     CASE "Gemini"
  850.         air = air + 2
  851.         gemini_Value = gemini_Value + 2
  852.         mutable = mutable + 2
  853.     CASE "Cancer"
  854.         water = water + 2
  855.         cancer_Value = cancer_Value + 2
  856.         cardinals = cardinals + 2
  857.     CASE "Leo"
  858.         fire = fire + 2
  859.         leo_Value = leo_Value + 2
  860.         fixed = fixed + 2
  861.     CASE "Virgo"
  862.         earth = earth + 2
  863.         virgo_Value = virgo_Value + 2
  864.         mutable = mutable + 2
  865.     CASE "Libra"
  866.         air = air + 2
  867.         libra_Value = libra_Value + 2
  868.         cardinals = cardinals + 2
  869.     CASE "Scorpio"
  870.         water = water + 2
  871.         scorpio_Value = scorpio_Value + 2
  872.         fixed = fixed + 2
  873.     CASE "Sagittarius"
  874.         fire = fire + 2
  875.         sagittarius_Value = sagittarius_Value + 2
  876.         mutable = mutable + 2
  877.     CASE "Capricorn"
  878.         earth = earth + 2
  879.         capricorn_Value = capricorn_Value + 2
  880.         cardinals = cardinals + 2
  881.     CASE "Aquarius"
  882.         air = air + 2
  883.         Aquarius_Value = Aquarius_Value + 2
  884.         fixed = fixed + 2
  885.     CASE "Pisces"
  886.         water = water + 2
  887.         pisces_Value = pisces_Value + 2
  888.         mutable = mutable + 2
  889.  
  890. SELECT CASE Lilith$
  891.     CASE "Aries"
  892.         fire = fire + 1
  893.         aries_Value = aries_Value + 1
  894.         cardinals = cardinals + 1
  895.     CASE "Taurus"
  896.         earth = earth + 1
  897.         taurus_Value = taurus_Value + 1
  898.         fixed = fixed + 1
  899.     CASE "Gemini"
  900.         air = air + 1
  901.         gemini_Value = gemini_Value + 1
  902.         mutable = mutable + 1
  903.     CASE "Cancer"
  904.         water = water + 1
  905.         cancer_Value = cancer_Value + 1
  906.         cardinals = cardinals + 1
  907.     CASE "Leo"
  908.         fire = fire + 1
  909.         leo_Value = leo_Value + 1
  910.         fixed = fixed + 1
  911.     CASE "Virgo"
  912.         earth = earth + 1
  913.         virgo_Value = virgo_Value + 1
  914.         mutable = mutable + 1
  915.     CASE "Libra"
  916.         air = air + 1
  917.         libra_Value = libra_Value + 1
  918.         cardinals = cardinals + 1
  919.     CASE "Scorpio"
  920.         water = water + 1
  921.         scorpio_Value = scorpio_Value + 1
  922.         fixed = fixed + 1
  923.     CASE "Sagittarius"
  924.         fire = fire + 1
  925.         sagittarius_Value = sagittarius_Value + 1
  926.         mutable = mutable + 1
  927.     CASE "Capricorn"
  928.         earth = earth + 1
  929.         capricorn_Value = capricorn_Value + 1
  930.         cardinals = cardinals + 1
  931.     CASE "Aquarius"
  932.         air = air + 1
  933.         Aquarius_Value = Aquarius_Value + 1
  934.         fixed = fixed + 1
  935.     CASE "Pisces"
  936.         water = water + 1
  937.         pisces_Value = pisces_Value + 1
  938.         mutable = mutable + 1
  939.  
  940. elements = earth + fire + water + air
  941. Earth_Percentage = 100 / elements * earth
  942. Fire_Percentage# = 100 / elements * fire
  943. Water_Percentage# = 100 / elements * water
  944. Air_Percentage# = 100 / elements * air
  945.  
  946. Earth_percentage_Rounded# = INT(Earth_Percentage * 10 ^ 2 + .5): Earth_percentage_Rounded# = Earth_percentage_Rounded# / 100
  947. Fire_percentage_Rounded# = INT(Fire_Percentage# * 10 ^ 2 + .5): Fire_percentage_Rounded# = Fire_percentage_Rounded# / 100
  948. Water_percentage_Rounded# = INT(Water_Percentage# * 10 ^ 2 + .5): Water_percentage_Rounded# = Water_percentage_Rounded# / 100
  949. Air_percentage_Rounded# = INT(Air_Percentage# * 10 ^ 2 + .5): Air_percentage_Rounded# = Air_percentage_Rounded# / 100
  950.  
  951. qualities = cardinals + fixed + mutable
  952. cardinal_Percentage# = 100 / qualities * cardinals
  953. fixed_Percentage# = 100 / qualities * fixed
  954. mutable_Percentage# = 100 / qualities * mutable
  955.  
  956. cardinal_percentage_Rounded# = INT(cardinal_Percentage# * 10 ^ 2 + .5): cardinal_percentage_Rounded# = cardinal_percentage_Rounded# / 100
  957. fixed_percentage_Rounded# = INT(fixed_Percentage# * 10 ^ 2 + .5): fixed_percentage_Rounded# = fixed_percentage_Rounded# / 100
  958. mutable_percentage_Rounded# = INT(mutable_Percentage# * 10 ^ 2 + .5): mutable_percentage_Rounded# = mutable_percentage_Rounded# / 100
  959.  
  960. all_Signs = aries_Value + taurus_Value + gemini_Value + cancer_Value + leo_Value + virgo_Value + libra_Value + scorpio_Value + sagittarius_Value + capricorn_Value + Aquarius_Value + pisces_Value
  961. Aries_Percentage = 100 / all_Signs * aries_Value
  962. Taurus_Percentage = 100 / all_Signs * taurus_Value
  963. Gemini_Percentage = 100 / all_Signs * gemini_Value
  964. Cancer_Percentage = 100 / all_Signs * cancer_Value
  965. Leo_Percentage = 100 / all_Signs * leo_Value
  966. Virgo_Percentage = 100 / all_Signs * virgo_Value
  967. Libra_Percentage = 100 / all_Signs * libra_Value
  968. Scorpio_Percentage = 100 / all_Signs * scorpio_Value
  969. Sagittarius_Percentage = 100 / all_Signs * sagittarius_Value
  970. Capricorn_Percentage = 100 / all_Signs * capricorn_Value
  971. Aquarius_Percentage = 100 / all_Signs * Aquarius_Value
  972. Pisces_Percentage = 100 / all_Signs * pisces_Value
  973.  
  974. Aries_percentage_Rounded# = INT(Aries_Percentage * 10 ^ 2 + .5): Aries_percentage_Rounded# = Aries_percentage_Rounded# / 100
  975. Taurus_percentage_Rounded# = INT(Taurus_Percentage * 10 ^ 2 + .5): Taurus_percentage_Rounded# = Taurus_percentage_Rounded# / 100
  976. Gemini_percentage_Rounded# = INT(Gemini_Percentage * 10 ^ 2 + .5): Gemini_percentage_Rounded# = Gemini_percentage_Rounded# / 100
  977. Cancer_percentage_Rounded# = INT(Cancer_Percentage * 10 ^ 2 + .5): Cancer_percentage_Rounded# = Cancer_percentage_Rounded# / 100
  978. Leo_percentage_Rounded# = INT(Leo_Percentage * 10 ^ 2 + .5): Leo_percentage_Rounded# = Leo_percentage_Rounded# / 100
  979. Virgo_percentage_Rounded# = INT(Virgo_Percentage * 10 ^ 2 + .5): Virgo_percentage_Rounded# = Virgo_percentage_Rounded# / 100
  980. Libra_percentage_Rounded# = INT(Libra_Percentage * 10 ^ 2 + .5): Libra_percentage_Rounded# = Libra_percentage_Rounded# / 100
  981. Scorpio_percentage_Rounded# = INT(Scorpio_Percentage * 10 ^ 2 + .5): Scorpio_percentage_Rounded# = Scorpio_percentage_Rounded# / 100
  982. Sagittarius_percentage_Rounded# = INT(Sagittarius_Percentage * 10 ^ 2 + .5): Sagittarius_percentage_Rounded# = Sagittarius_percentage_Rounded# / 100
  983. Capricorn_percentage_Rounded# = INT(Capricorn_Percentage * 10 ^ 2 + .5): Capricorn_percentage_Rounded# = Capricorn_percentage_Rounded# / 100
  984. Aquarius_percentage_Rounded# = INT(Aquarius_Percentage * 10 ^ 2 + .5): Aquarius_percentage_Rounded# = Aquarius_percentage_Rounded# / 100
  985. Pisces_percentage_Rounded# = INT(Pisces_Percentage * 10 ^ 2 + .5): Pisces_percentage_Rounded# = Pisces_percentage_Rounded# / 100
  986.  
  987. all_Houses = house(1) + house(2) + house(3) + house(4) + house(5) + house(6) + house(7) + house(8) + house(9) + house(10) + house(11) + house(12)
  988. house1_Percentage = 100 / all_Houses * house(1)
  989. house2_Percentage = 100 / all_Houses * house(2)
  990. house3_Percentage = 100 / all_Houses * house(3)
  991. house4_Percentage = 100 / all_Houses * house(4)
  992. house5_Percentage = 100 / all_Houses * house(5)
  993. house6_Percentage = 100 / all_Houses * house(6)
  994. house7_Percentage = 100 / all_Houses * house(7)
  995. house8_Percentage = 100 / all_Houses * house(8)
  996. house9_Percentage = 100 / all_Houses * house(9)
  997. house10_Percentage = 100 / all_Houses * house(10)
  998. house11_Percentage = 100 / all_Houses * house(11)
  999. house12_Percentage = 100 / all_Houses * house(12)
  1000.  
  1001. house1_percentage_Rounded# = INT(house1_Percentage * 10 ^ 2 + .5): house1_percentage_Rounded# = house1_percentage_Rounded# / 100
  1002. house2_percentage_Rounded# = INT(house2_Percentage * 10 ^ 2 + .5): house2_percentage_Rounded# = house2_percentage_Rounded# / 100
  1003. house3_percentage_Rounded# = INT(house3_Percentage * 10 ^ 2 + .5): house3_percentage_Rounded# = house3_percentage_Rounded# / 100
  1004. house4_percentage_Rounded# = INT(house4_Percentage * 10 ^ 2 + .5): house4_percentage_Rounded# = house4_percentage_Rounded# / 100
  1005. house5_percentage_Rounded# = INT(house5_Percentage * 10 ^ 2 + .5): house5_percentage_Rounded# = house5_percentage_Rounded# / 100
  1006. house6_percentage_Rounded# = INT(house6_Percentage * 10 ^ 2 + .5): house6_percentage_Rounded# = house6_percentage_Rounded# / 100
  1007. house7_percentage_Rounded# = INT(house7_Percentage * 10 ^ 2 + .5): house7_percentage_Rounded# = house7_percentage_Rounded# / 100
  1008. house8_percentage_Rounded# = INT(house8_Percentage * 10 ^ 2 + .5): house8_percentage_Rounded# = house8_percentage_Rounded# / 100
  1009. house9_percentage_Rounded# = INT(house9_Percentage * 10 ^ 2 + .5): house9_percentage_Rounded# = house9_percentage_Rounded# / 100
  1010. house10_percentage_Rounded# = INT(house10_Percentage * 10 ^ 2 + .5): house10_percentage_Rounded# = house10_percentage_Rounded# / 100
  1011. house11_percentage_Rounded# = INT(house11_Percentage * 10 ^ 2 + .5): house11_percentage_Rounded# = house11_percentage_Rounded# / 100
  1012. house12_percentage_Rounded# = INT(house12_Percentage * 10 ^ 2 + .5): house12_percentage_Rounded# = house12_percentage_Rounded# / 100
  1013.  
  1014. largest = 0
  1015. IF aries_Value > largest THEN largest = aries_Value: dom_Sign$ = "Aries"
  1016. IF taurus_Value > largest THEN largest = taurus_Value: dom_Sign$ = "Taurus"
  1017. IF gemini_Value > largest THEN largest = gemini_Value: dom_Sign$ = "Gemini"
  1018. IF cancer_Value > largest THEN largest = cancer_Value: dom_Sign$ = "Cancer"
  1019. IF leo_Value > largest THEN largest = leo_Value: dom_Sign$ = "Leo"
  1020. IF virgo_Value > largest THEN largest = virgo_Value: dom_Sign$ = "Virgo"
  1021. IF libra_Value > largest THEN largest = libra_Value: dom_Sign$ = "Libra"
  1022. IF scorpio_Value > largest THEN largest = scorpio_Value: dom_Sign$ = "Scorpio"
  1023. IF sagittarius_Value > largest THEN largest = sagittarius_Value: dom_Sign$ = "Sagittarius"
  1024. IF capricorn_Value > largest THEN largest = capricorn_Value: dom_Sign$ = "Capricorn"
  1025. IF Aquarius_Value > largest THEN largest = Aquarius_Value: dom_Sign$ = "Aquarius"
  1026. IF pisces_Value > largest THEN largest = pisces_Value: dom_Sign$ = "Pisces"
  1027. signs_percentage = 100 / all_Signs * largest
  1028. signs_percentage_Rounded# = INT(signs_percentage * 10 ^ 2 + .5): signs_percentage_Rounded# = signs_percentage_Rounded# / 100
  1029.  
  1030. largesthouse = 0
  1031. IF house(1) > largesthouse THEN largesthouse = house(1): dom_House = 1
  1032. IF house(2) > largesthouse THEN largesthouse = house(2): dom_House = 2
  1033. IF house(3) > largesthouse THEN largesthouse = house(3): dom_House = 3
  1034. IF house(4) > largesthouse THEN largesthouse = house(4): dom_House = 4
  1035. IF house(5) > largesthouse THEN largesthouse = house(5): dom_House = 5
  1036. IF house(6) > largesthouse THEN largesthouse = house(6): dom_House = 6
  1037. IF house(7) > largesthouse THEN largesthouse = house(7): dom_House = 7
  1038. IF house(8) > largesthouse THEN largesthouse = house(8): dom_House = 8
  1039. IF house(9) > largesthouse THEN largesthouse = house(9): dom_House = 9
  1040. IF house(10) > largesthouse THEN largesthouse = house(10): dom_House = 10
  1041. IF house(11) > largesthouse THEN largesthouse = house(11): dom_House = 11
  1042. IF house(12) > largesthouse THEN largesthouse = house(12): dom_House = 12
  1043. largesthouse_percentage = 100 / all_Houses * largesthouse
  1044. largesthouse_percentage_Rounded# = INT(largesthouse_percentage * 10 ^ 2 + .5): largesthouse_percentage_Rounded# = largesthouse_percentage_Rounded# / 100
  1045.  
  1046. Quad1 = house(1) + house(2) + house(3)
  1047. Quad2 = house(4) + house(5) + house(6)
  1048. Quad3 = house(7) + house(8) + house(9)
  1049. Quad4 = house(10) + house(11) + house(12)
  1050. all_Quads = Quad1 + Quad2 + Quad3 + Quad4
  1051.  
  1052. largedom_Quad = 0
  1053. IF Quad1 > largedom_Quad THEN largedom_Quad = Quad1: dom_Quad$ = "1st aka Fire or energy quadrant"
  1054. IF Quad2 > largedom_Quad THEN largedom_Quad = Quad2: dom_Quad$ = "2nd aka Water or emotional quadrant"
  1055. IF Quad3 > largedom_Quad THEN largedom_Quad = Quad3: dom_Quad$ = "3rd aka Air or intellectual quadrant"
  1056. IF Quad4 > largedom_Quad THEN largedom_Quad = Quad4: dom_Quad$ = "4th aka Earth or reality quadrant"
  1057. large_dom_Quad_percentage = 100 / all_Quads * largedom_Quad
  1058. large_dom_Quad_percentage_Rounded# = INT(large_dom_Quad_percentage * 10 ^ 2 + .5): large_dom_Quad_percentage_Rounded# = large_dom_Quad_percentage_Rounded# / 100
  1059.  
  1060. quad1_Percentage = 100 / all_Quads * Quad1
  1061. quad2_Percentage = 100 / all_Quads * Quad2
  1062. quad3_Percentage = 100 / all_Quads * Quad3
  1063. quad4_Percentage = 100 / all_Quads * Quad4
  1064.  
  1065. quad1_percentage_Rounded# = INT(quad1_Percentage * 10 ^ 2 + .5): quad1_percentage_Rounded# = quad1_percentage_Rounded# / 100
  1066. quad2_percentage_Rounded# = INT(quad2_Percentage * 10 ^ 2 + .5): quad2_percentage_Rounded# = quad2_percentage_Rounded# / 100
  1067. quad3_percentage_Rounded# = INT(quad3_Percentage * 10 ^ 2 + .5): quad3_percentage_Rounded# = quad3_percentage_Rounded# / 100
  1068. quad4_percentage_Rounded# = INT(quad4_Percentage * 10 ^ 2 + .5): quad4_percentage_Rounded# = quad4_percentage_Rounded# / 100
  1069.  
  1070. earth_String$ = "The sum of the earth signs in this birth chart is" + STR$(earth) + ". Thus, its owner is determined by the element of earth by" + STR$(Earth_percentage_Rounded#) + "%."
  1071. fire_String$ = "The sum of the fire signs in this birth chart is" + STR$(fire) + ". Thus, its owner is determined by the element of fire by" + STR$(Fire_percentage_Rounded#) + "%."
  1072. water_String$ = "The sum of the water signs in this birth chart is" + STR$(water) + ". Thus, its owner is determined by the element of water by" + STR$(Water_percentage_Rounded#) + "%."
  1073. air_String$ = "The sum of the air signs in this birth chart is" + STR$(air) + ". Thus, its owner is determined by the element of air by" + STR$(Air_percentage_Rounded#) + "%."
  1074.  
  1075. active_Signs = fire + earth
  1076. passive_Signs = water + air
  1077. polarity_Percentage = active_Signs + passive_Signs
  1078.  
  1079. active_Percentage = 100 / polarity_Percentage * active_Signs
  1080. passive_Percentage = 100 / polarity_Percentage * passive_Signs
  1081.  
  1082. active_percentage_Rounded# = INT(active_Percentage * 10 ^ 2 + .5): active_percentage_Rounded# = active_percentage_Rounded# / 100
  1083. passive_percentage_Rounded# = INT(passive_Percentage * 10 ^ 2 + .5): passive_percentage_Rounded# = passive_percentage_Rounded# / 100
  1084.  
  1085. active_String$ = "The sum of the active signs in this birth chart is" + STR$(active_Signs) + ". Thus, its owner is characterized by active polarities at" + STR$(active_percentage_Rounded#) + "%."
  1086. passive_String$ = "The sum of the passive signs in this birth chart is" + STR$(passive_Signs) + ". Thus, its owner is characterized by passive polarities at" + STR$(passive_percentage_Rounded#) + "%."
  1087.  
  1088. aries_String$ = "Strength of Aries:" + STR$(aries_Value) + " (" + STR$(Aries_percentage_Rounded#) + "%)"
  1089. taurus_String$ = "Strength of Taurus:" + STR$(taurus_Value) + " (" + STR$(Taurus_percentage_Rounded#) + "%)"
  1090. gemini_String$ = "Strength of Gemini:" + STR$(gemini_Value) + " (" + STR$(Gemini_percentage_Rounded#) + "%)"
  1091. cancer_String$ = "Strength of Cancer:" + STR$(cancer_Value) + " (" + STR$(Cancer_percentage_Rounded#) + "%)"
  1092. leo_String$ = "Strength of Leo:" + STR$(leo_Value) + " (" + STR$(Leo_percentage_Rounded#) + "%)"
  1093. virgo_String$ = "Strength of Virgo:" + STR$(virgo_Value) + " (" + STR$(Virgo_percentage_Rounded#) + "%)"
  1094. libra_String$ = "Strength of Libra:" + STR$(libra_Value) + " (" + STR$(Libra_percentage_Rounded#) + "%)"
  1095. scorpio_String$ = "Strength of Scorpio:" + STR$(scorpio_Value) + " (" + STR$(Scorpio_percentage_Rounded#) + "%)"
  1096. sagittarius_String$ = "Strength of Sagittarius:" + STR$(sagittarius_Value) + " (" + STR$(Sagittarius_percentage_Rounded#) + "%)"
  1097. capricorn_String$ = "Strength of Capricorn:" + STR$(capricorn_Value) + " (" + STR$(Capricorn_percentage_Rounded#) + "%)"
  1098. Aquarius_String$ = "Strength of Aquarius:" + STR$(Aquarius_Value) + " (" + STR$(Aquarius_percentage_Rounded#) + "%)"
  1099. pisces_String$ = "Strength of Pisces:" + STR$(pisces_Value) + " (" + STR$(Pisces_percentage_Rounded#) + "%)"
  1100.  
  1101. cardinal_String$ = "The sum of the cardinal signs in this birth chart is" + STR$(cardinals) + ". Thus, its owner is characterized by cardinal qualities at" + STR$(cardinal_percentage_Rounded#) + "%."
  1102. fixed_String$ = "The sum of the fixed signs in this birth chart is" + STR$(fixed) + ". Thus, its owner is characterized by fixed qualities at" + STR$(fixed_percentage_Rounded#) + "%."
  1103. mutable_String$ = "The sum of the mutable signs in this birth chart is" + STR$(mutable) + ". Thus, its owner is characterized by mutable qualities at" + STR$(mutable_percentage_Rounded#) + "%."
  1104.  
  1105. house1_String$ = "Strength of the 1st house: " + STR$(house(1)) + " (" + STR$(house1_percentage_Rounded#) + "%)"
  1106. house2_String$ = "Strength of the 2nd house: " + STR$(house(2)) + " (" + STR$(house2_percentage_Rounded#) + "%)"
  1107. house3_String$ = "Strength of the 3rd house: " + STR$(house(3)) + " (" + STR$(house3_percentage_Rounded#) + "%)"
  1108. house4_String$ = "Strength of the 4th house: " + STR$(house(4)) + " (" + STR$(house4_percentage_Rounded#) + "%)"
  1109. house5_String$ = "Strength of the 5th house: " + STR$(house(5)) + " (" + STR$(house5_percentage_Rounded#) + "%)"
  1110. house6_String$ = "Strength of the 6th house: " + STR$(house(6)) + " (" + STR$(house6_percentage_Rounded#) + "%)"
  1111. house7_String$ = "Strength of the 7th house: " + STR$(house(7)) + " (" + STR$(house7_percentage_Rounded#) + "%)"
  1112. house8_String$ = "Strength of the 8th house: " + STR$(house(8)) + " (" + STR$(house8_percentage_Rounded#) + "%)"
  1113. house9_String$ = "Strength of the 9th house: " + STR$(house(9)) + " (" + STR$(house9_percentage_Rounded#) + "%)"
  1114. house10_String$ = "Strength of the 10th house: " + STR$(house(10)) + " (" + STR$(house10_percentage_Rounded#) + "%)"
  1115. house11_String$ = "Strength of the 11th house: " + STR$(house(11)) + " (" + STR$(house11_percentage_Rounded#) + "%)"
  1116. house12_String$ = "Strength of the 12th house: " + STR$(house(12)) + " (" + STR$(house12_percentage_Rounded#) + "%)"
  1117.  
  1118. Quad1string$ = "Strength of the 1st quadrant: " + STR$(Quad1) + " (" + STR$(quad1_percentage_Rounded#) + "%)"
  1119. Quad2string$ = "Strength of the 2nd quadrant: " + STR$(Quad2) + " (" + STR$(quad2_percentage_Rounded#) + "%)"
  1120. Quad3string$ = "Strength of the 3rd quadrant: " + STR$(Quad3) + " (" + STR$(quad3_percentage_Rounded#) + "%)"
  1121. Quad4string$ = "Strength of the 4th quadrant: " + STR$(Quad4) + " (" + STR$(quad4_percentage_Rounded#) + "%)"
  1122.  
  1123. DECLARE SUB quicksort (min%, max%)
  1124. DECLARE SUB display ()
  1125. DIM SHARED elements_Table$(3), elements_table_Values(3)
  1126.  
  1127. elements_Table$(0) = earth_String$
  1128. elements_table_Values(0) = earth
  1129. elements_Table$(1) = fire_String$
  1130. elements_table_Values(1) = fire
  1131. elements_Table$(2) = water_String$
  1132. elements_table_Values(2) = water
  1133. elements_Table$(3) = air_String$
  1134. elements_table_Values(3) = air
  1135.  
  1136. DIM SHARED signs_Table$(11), signs_table_Values(11)
  1137.  
  1138. signs_Table$(0) = aries_String$
  1139. signs_table_Values(0) = aries_Value
  1140. signs_Table$(1) = taurus_String$
  1141. signs_table_Values(1) = taurus_Value
  1142. signs_Table$(2) = gemini_String$
  1143. signs_table_Values(2) = gemini_Value
  1144. signs_Table$(3) = cancer_String$
  1145. signs_table_Values(3) = cancer_Value
  1146. signs_Table$(4) = leo_String$
  1147. signs_table_Values(4) = leo_Value
  1148. signs_Table$(5) = virgo_String$
  1149. signs_table_Values(5) = virgo_Value
  1150. signs_Table$(6) = libra_String$
  1151. signs_table_Values(6) = libra_Value
  1152. signs_Table$(7) = scorpio_String$
  1153. signs_table_Values(7) = scorpio_Value
  1154. signs_Table$(8) = sagittarius_String$
  1155. signs_table_Values(8) = sagittarius_Value
  1156. signs_Table$(9) = capricorn_String$
  1157. signs_table_Values(9) = capricorn_Value
  1158. signs_Table$(10) = Aquarius_String$
  1159. signs_table_Values(10) = Aquarius_Value
  1160. signs_Table$(11) = pisces_String$
  1161. signs_table_Values(11) = pisces_Value
  1162.  
  1163. DIM SHARED qualities_Table$(2), qualities_table_Values(2)
  1164.  
  1165. qualities_Table$(0) = cardinal_String$
  1166. qualities_table_Values(0) = cardinals
  1167. qualities_Table$(1) = fixed_String$
  1168. qualities_table_Values(1) = fixed
  1169. qualities_Table$(2) = mutable_String$
  1170. qualities_table_Values(2) = mutable
  1171.  
  1172. DIM SHARED polarities_Table$(1), polarities_table_Values(1)
  1173.  
  1174. polarities_Table$(0) = active_String$
  1175. polarities_table_Value(0) = active_Signs
  1176. polarities_Table$(1) = passive_String$
  1177. polarities_table_Value(1) = passive_Signs
  1178.  
  1179. DIM SHARED houses_Table$(11), houses_table_Values(11)
  1180.  
  1181. houses_Table$(0) = house1_String$
  1182. houses_table_Values(0) = house(1)
  1183. houses_Table$(1) = house2_String$
  1184. houses_table_Values(1) = house(2)
  1185. houses_Table$(2) = house3_String$
  1186. houses_table_Values(2) = house(3)
  1187. houses_Table$(3) = house4_String$
  1188. houses_table_Values(3) = house(4)
  1189. houses_Table$(4) = house5_String$
  1190. houses_table_Values(4) = house(5)
  1191. houses_Table$(5) = house6_String$
  1192. houses_table_Values(5) = house(6)
  1193. houses_Table$(6) = house7_String$
  1194. houses_table_Values(6) = house(7)
  1195. houses_Table$(7) = house8_String$
  1196. houses_table_Values(7) = house(8)
  1197. houses_Table$(8) = house9_String$
  1198. houses_table_Values(8) = house(9)
  1199. houses_Table$(9) = house10_String$
  1200. houses_table_Values(9) = house(10)
  1201. houses_Table$(10) = house11_String$
  1202. houses_table_Values(10) = house(11)
  1203. houses_Table$(11) = house12_String$
  1204. houses_table_Values(11) = house(12)
  1205.  
  1206. DIM SHARED quadrants_Table$(3), quadrants_table_Values(3)
  1207.  
  1208. quadrants_Table$(0) = Quad1string$
  1209. quadrants_table_Values(0) = Quad1
  1210. quadrants_Table$(1) = Quad2string$
  1211. quadrants_table_Values(1) = Quad2
  1212. quadrants_Table$(2) = Quad3string$
  1213. quadrants_table_Values(2) = Quad3
  1214. quadrants_Table$(3) = Quad4string$
  1215. quadrants_table_Values(3) = Quad4
  1216.  
  1217. PRINT "Elements:"
  1218. quicksort 0, 3, elements_Table$(), elements_table_Values()
  1219. display elements_Table$(), elements_table_Values()
  1220. PRINT "Dominance of the signs:"
  1221. quicksort 0, 11, signs_Table$(), signs_table_Values()
  1222. display signs_Table$(), signs_table_Values()
  1223. PRINT "At a strength of"; largest; "("; signs_percentage_Rounded#; "% ), "; dom_Sign$; " is the dominant sign."
  1224. PRINT "Qualities:"
  1225. quicksort 0, 2, qualities_Table$(), qualities_table_Values()
  1226. display qualities_Table$(), qualities_table_Values()
  1227. PRINT "Polarities:"
  1228. quicksort 0, 1, polarities_Table$(), polarities_table_Values()
  1229. display polarities_Table$(), polarities_table_Values()
  1230. PRINT "Dominance of the houses:"
  1231. quicksort 0, 11, houses_Table$(), houses_table_Values()
  1232. display houses_Table$(), houses_table_Values()
  1233. PRINT "The dominant house in this birth chart is house no."; dom_House; "("; largesthouse_percentage_Rounded#; "% )."
  1234. PRINT "Dominance of the quadrants:"
  1235. quicksort 0, 3, quadrants_Table$(), quadrants_table_Values()
  1236. display quadrants_Table$(), quadrants_table_Values()
  1237. PRINT "The dominant quadrant is the "; dom_Quad$; " at "; large_dom_Quad_percentage_Rounded#; "%."
  1238. PRINT "For the dominant celestial body in this birth chart, enter its birth place and birth time at www.astro.com and then select the 'Color Oracle'."
  1239.  
  1240. SUB display (a$(), b())
  1241.     FOR i% = 0 TO UBOUND(a$)
  1242.         PRINT a$(i%) REM, b(i%)
  1243.     NEXT
  1244.  
  1245. SUB quicksort (min%, max%, a$(), b())
  1246.     IF min% < max% THEN
  1247.         p1% = min%
  1248.         p2% = max%
  1249.         mid = b((min% + max%) \ 2) '**
  1250.         DO UNTIL p1% > p2%
  1251.             DO WHILE b(p1%) > mid '**<<invert this unequality to sort ascending
  1252.                 p1% = p1% + 1
  1253.             LOOP
  1254.             DO WHILE mid > b(p2%) '**<<this one too
  1255.                 p2% = p2% - 1
  1256.             LOOP
  1257.             IF p1% <= p2% THEN
  1258.                 SWAP a$(p1%), a$(p2%) '**
  1259.                 SWAP b(p1%), b(p2%) '**
  1260.                 p1% = p1% + 1
  1261.                 p2% = p2% - 1
  1262.             END IF
  1263.         LOOP
  1264.         IF min% < p2% THEN quicksort min%, p2%, a$(), b()
  1265.         IF p1% < max% THEN quicksort p1%, max%, a$(), b()
  1266.     END IF

BTW, I've now tried to change the background color to white, as that will be the background color of the final output field in InForm.

As you can see, thanks to you I've been able to create an own table for every one of the 6 categories (elements, signs, qualities, polarities, houses, and quadrants) and sort them in descending order by means of just one versatile sub-routine!

Again, I do believe somebody should write an own article or tutorital on how to create and sort such Excel-style tables over at the QB64 wiki:


Anyways, the execution of my above code now works absolutely fine, but the status field at the bottom of QB64 still gives me a warning about an "unused variable" at line 1286. Do you know what's wrong there?
Title: Re: Still need help on my horoscope program
Post by: bplus on June 08, 2020, 11:31:12 pm
Since b() array was REM'd out in body of display SUB routine, you don't need it in the parameters call, I removed b() in calls to sub:
Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(200, 70, 0)
  2. COLOR , 15: CLS
  3.  
  4. sun$ = "Aquarius"
  5. sun_House = 4
  6. moon$ = "Aries"
  7. moon_House = 6
  8. ascendent$ = "Scorpio"
  9. MC$ = "Leo"
  10. mercury$ = "Aquarius"
  11. mercury_House = 3
  12. Venus$ = "Pisces"
  13. venus_House = 5
  14. Mars$ = "Pisces"
  15. mars_House = 5
  16. Jupiter$ = "Sagittarius"
  17. jupiter_House = 2
  18. Saturn$ = "Scorpio"
  19. saturn_House = 1
  20. Chiron$ = "Taurus"
  21. chiron_House = 7
  22. Uranus$ = "Sagittarius"
  23. uranus_House = 2
  24. neptune$ = "Sagittarius"
  25. neptunee_House = 2
  26. Pluto$ = "Libra"
  27. pluto_House = 12
  28. moon_Node$ = "Capricorn"
  29. moon_node_House = 3
  30. Lilith$ = "Aquarius"
  31. lilith_House = 4
  32.  
  33. DIM house(12) AS INTEGER 'Defining 12 houses that numerical values can be added to which can be subjected to mathematical operations.
  34. house(sun_House) = house(sun_House) + 12 'Adds 12 points to the house that has the Sun in it.
  35. house(moon_House) = house(moon_House) + 12 'Adds 12 points to the house that has the Moon in it.
  36. house(mercury_House) = house(mercury_House) + 6 'Adds 6 points to the house that has Mercury in it.
  37. house(venus_House) = house(venus_House) + 6 'Adds 6 points to the house that has Venus in it.
  38. house(mars_House) = house(mars_House) + 6 'Adds 6 points to the house that has Mars in it.
  39. house(jupiter_House) = house(jupiter_House) + 5 'Adds 5 points to the house that has Jupiter in it.
  40. house(saturn_House) = house(saturn_House) + 5 'Adds 5 points to the house that has Saturn in it.
  41. house(chiron_House) = house(chiron_House) + 2 'Adds 2 points to the house that has Chiron in it.
  42. house(uranus_House) = house(uranus_House) + 2 'Adds 2 points to the house that has Uranus in it.
  43. house(neptunee_House) = house(neptunee_House) + 2 'Adds 2 points to the house that has neptunee in it.
  44. house(pluto_House) = house(pluto_House) + 2 'Adds 2 points to the house that has Pluto in it.
  45. house(moon_node_House) = house(moon_node_House) + 2 'Adds 2 points to the house that has the Moon Node in it.
  46. house(lilith_House) = house(lilith_House) + 1 'Adds 1 point to the house that has Lilith in it.
  47.  
  48.     CASE "Aries"
  49.         fire = fire + 12
  50.         aries_Value = aries_Value + 12
  51.         cardinals = cardinals + 12
  52.     CASE "Taurus"
  53.         earth = earth + 12
  54.         taurus_Value = taurus_Value + 12
  55.         fixed = fixed + 12
  56.     CASE "Gemini"
  57.         air = air + 12
  58.         gemini_Value = gemini_Value + 12
  59.         mutable = mutable + 12
  60.     CASE "Cancer"
  61.         water = water + 12
  62.         cancer_Value = cancer_Value + 12
  63.         cardinals = cardinals + 12
  64.     CASE "Leo"
  65.         fire = fire + 12
  66.         leo_Value = leo_Value + 12
  67.         fixed = fixed + 12
  68.     CASE "Virgo"
  69.         earth = earth + 12
  70.         virgo_Value = virgo_Value + 12
  71.         mutable = mutable + 12
  72.     CASE "Libra"
  73.         air = air + 12
  74.         libra_Value = libra_Value + 12
  75.         cardinals = cardinals + 12
  76.     CASE "Scorpio"
  77.         water = water + 12
  78.         scorpio_Value = scorpio_Value + 12
  79.         fixed = fixed + 12
  80.     CASE "Sagittarius"
  81.         fire = fire + 12
  82.         sagittarius_Value = sagittarius_Value + 12
  83.         mutable = mutable + 12
  84.     CASE "Capricorn"
  85.         earth = earth + 12
  86.         capricorn_Value = capricorn_Value + 12
  87.         cardinals = cardinals + 12
  88.     CASE "Aquarius"
  89.         air = air + 12
  90.         Aquarius_Value = Aquarius_Value + 12
  91.         fixed = fixed + 12
  92.     CASE "Pisces"
  93.         water = water + 12
  94.         pisces_Value = pisces_Value + 12
  95.         mutable = mutable + 12
  96.  
  97. SELECT CASE moon$
  98.     CASE "Aries"
  99.         fire = fire + 12
  100.         aries_Value = aries_Value + 12
  101.         cardinals = cardinals + 12
  102.     CASE "Taurus"
  103.         earth = earth + 12
  104.         taurus_Value = taurus_Value + 12
  105.         fixed = fixed + 12
  106.     CASE "Gemini"
  107.         air = air + 12
  108.         gemini_Value = gemini_Value + 12
  109.         mutable = mutable + 12
  110.     CASE "Cancer"
  111.         water = water + 12
  112.         cancer_Value = cancer_Value + 12
  113.         cardinals = cardinals + 12
  114.     CASE "Leo"
  115.         fire = fire + 12
  116.         leo_Value = leo_Value + 12
  117.         fixed = fixed + 12
  118.     CASE "Virgo"
  119.         earth = earth + 12
  120.         virgo_Value = virgo_Value + 12
  121.         mutable = mutable + 12
  122.     CASE "Libra"
  123.         air = air + 12
  124.         libra_Value = libra_Value + 12
  125.         cardinals = cardinals + 12
  126.     CASE "Scorpio"
  127.         water = water + 12
  128.         scorpio_Value = scorpio_Value + 12
  129.         fixed = fixed + 12
  130.     CASE "Sagittarius"
  131.         fire = fire + 12
  132.         sagittarius_Value = sagittarius_Value + 12
  133.         mutable = mutable + 12
  134.     CASE "Capricorn"
  135.         earth = earth + 12
  136.         capricorn_Value = capricorn_Value + 12
  137.         cardinals = cardinals + 12
  138.     CASE "Aquarius"
  139.         air = air + 12
  140.         Aquarius_Value = Aquarius_Value + 12
  141.         fixed = fixed + 12
  142.     CASE "Pisces"
  143.         water = water + 12
  144.         pisces_Value = pisces_Value + 12
  145.         mutable = mutable + 12
  146.  
  147. SELECT CASE ascendent$
  148.     CASE "Aries"
  149.         fire = fire + 12
  150.         aries_Value = aries_Value + 12
  151.         cardinals = cardinals + 12
  152.         IF mars_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  153.         IF mars_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  154.         IF mars_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  155.         IF mars_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  156.         IF mars_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  157.         IF mars_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  158.         IF mars_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  159.         IF mars_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  160.         IF mars_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  161.         IF mars_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  162.         IF mars_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  163.         IF mars_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  164.     CASE "Taurus"
  165.         earth = earth + 12
  166.         taurus_Value = taurus_Value + 12
  167.         fixed = fixed + 12
  168.         IF chiron_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  169.         IF chiron_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  170.         IF chiron_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  171.         IF chiron_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  172.         IF chiron_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  173.         IF chiron_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  174.         IF chiron_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  175.         IF chiron_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  176.         IF chiron_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  177.         IF chiron_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  178.         IF chiron_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  179.         IF chiron_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  180.     CASE "Gemini"
  181.         air = air + 12
  182.         gemini_Value = gemini_Value + 12
  183.         mutable = mutable + 12
  184.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  185.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  186.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  187.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  188.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  189.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  190.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  191.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  192.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  193.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  194.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  195.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  196.     CASE "Cancer"
  197.         water = water + 12
  198.         cancer_Value = cancer_Value + 12
  199.         cardinals = cardinals + 12
  200.         IF moon_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  201.         IF moon_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  202.         IF moon_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  203.         IF moon_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  204.         IF moon_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  205.         IF moon_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  206.         IF moon_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  207.         IF moon_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  208.         IF moon_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  209.         IF moon_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  210.         IF moon_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  211.         IF moon_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  212.     CASE "Leo"
  213.         fire = fire + 12
  214.         leo_Value = leo_Value + 12
  215.         fixed = fixed + 12
  216.         IF sun_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  217.         IF sun_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  218.         IF sun_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  219.         IF sun_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  220.         IF sun_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  221.         IF sun_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  222.         IF sun_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  223.         IF sun_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  224.         IF sun_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  225.         IF sun_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  226.         IF sun_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  227.         IF sun_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  228.     CASE "Virgo"
  229.         earth = earth + 12
  230.         virgo_Value = virgo_Value + 12
  231.         mutable = mutable + 12
  232.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  233.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  234.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  235.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  236.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  237.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  238.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  239.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  240.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  241.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  242.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  243.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  244.     CASE "Libra"
  245.         air = air + 12
  246.         libra_Value = libra_Value + 12
  247.         cardinals = cardinals + 12
  248.         IF venus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  249.         IF venus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  250.         IF venus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  251.         IF venus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  252.         IF venus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  253.         IF venus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  254.         IF venus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  255.         IF venus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  256.         IF venus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  257.         IF venus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  258.         IF venus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  259.         IF venus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  260.     CASE "Scorpio"
  261.         water = water + 12
  262.         scorpio_Value = scorpio_Value + 12
  263.         fixed = fixed + 12
  264.         IF pluto_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  265.         IF pluto_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  266.         IF pluto_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  267.         IF pluto_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  268.         IF pluto_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  269.         IF pluto_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  270.         IF pluto_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  271.         IF pluto_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  272.         IF pluto_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  273.         IF pluto_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  274.         IF pluto_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  275.         IF pluto_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  276.     CASE "Sagittarius"
  277.         fire = fire + 12
  278.         sagittarius_Value = sagittarius_Value + 12
  279.         mutable = mutable + 12
  280.         IF jupiter_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  281.         IF jupiter_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  282.         IF jupiter_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  283.         IF jupiter_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  284.         IF jupiter_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  285.         IF jupiter_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  286.         IF jupiter_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  287.         IF jupiter_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  288.         IF jupiter_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  289.         IF jupiter_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  290.         IF jupiter_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  291.         IF jupiter_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  292.     CASE "Capricorn"
  293.         earth = earth + 12
  294.         capricorn_Value = capricorn_Value + 12
  295.         cardinals = cardinals + 12
  296.         IF saturn_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  297.         IF saturn_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  298.         IF saturn_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  299.         IF saturn_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  300.         IF saturn_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  301.         IF saturn_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  302.         IF saturn_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  303.         IF saturn_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  304.         IF saturn_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  305.         IF saturn_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  306.         IF saturn_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  307.         IF saturn_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  308.     CASE "Aquarius"
  309.         air = air + 12
  310.         Aquarius_Value = Aquarius_Value + 12
  311.         fixed = fixed + 12
  312.         IF uranus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  313.         IF uranus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  314.         IF uranus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  315.         IF uranus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  316.         IF uranus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  317.         IF uranus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  318.         IF uranus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  319.         IF uranus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  320.         IF uranus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  321.         IF uranus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  322.         IF uranus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  323.         IF uranus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  324.     CASE "Pisces"
  325.         water = water + 12
  326.         pisces_Value = pisces_Value + 12
  327.         mutable = mutable + 12
  328.         IF neptunee_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  329.         IF neptunee_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  330.         IF neptunee_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  331.         IF neptunee_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  332.         IF neptunee_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  333.         IF neptunee_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  334.         IF neptunee_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  335.         IF neptunee_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  336.         IF neptunee_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  337.         IF neptunee_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  338.         IF neptunee_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  339.         IF neptunee_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  340.  
  341. SELECT CASE mercury$
  342.     CASE "Aries"
  343.         fire = fire + 6
  344.         aries_Value = aries_Value + 6
  345.         cardinals = cardinals + 6
  346.     CASE "Taurus"
  347.         earth = earth + 6
  348.         taurus_Value = taurus_Value + 6
  349.         fixed = fixed + 6
  350.     CASE "Gemini"
  351.         air = air + 6
  352.         gemini_Value = gemini_Value + 6
  353.         mutable = mutable + 6
  354.     CASE "Cancer"
  355.         water = water + 6
  356.         cancer_Value = cancer_Value + 6
  357.         cardinals = cardinals + 6
  358.     CASE "Leo"
  359.         fire = fire + 6
  360.         leo_Value = leo_Value + 6
  361.         fixed = fixed + 6
  362.     CASE "Virgo"
  363.         earth = earth + 6
  364.         virgo_Value = virgo_Value + 6
  365.         mutable = mutable + 6
  366.     CASE "Libra"
  367.         air = air + 6
  368.         libra_Value = libra_Value + 6
  369.         cardinals = cardinals + 6
  370.     CASE "Scorpio"
  371.         water = water + 6
  372.         scorpio_Value = scorpio_Value + 6
  373.         fixed = fixed + 6
  374.     CASE "Sagittarius"
  375.         fire = fire + 6
  376.         sagittarius_Value = sagittarius_Value + 6
  377.         mutable = mutable + 6
  378.     CASE "Capricorn"
  379.         earth = earth + 6
  380.         capricorn_Value = capricorn_Value + 6
  381.         cardinals = cardinals + 6
  382.     CASE "Aquarius"
  383.         air = air + 6
  384.         Aquarius_Value = Aquarius_Value + 6
  385.         fixed = fixed + 6
  386.     CASE "Pisces"
  387.         water = water + 6
  388.         pisces_Value = pisces_Value + 6
  389.         mutable = mutable + 6
  390.  
  391. SELECT CASE Venus$
  392.     CASE "Aries"
  393.         fire = fire + 6
  394.         aries_Value = aries_Value + 6
  395.         cardinals = cardinals + 6
  396.     CASE "Taurus"
  397.         earth = earth + 6
  398.         taurus_Value = taurus_Value + 6
  399.         fixed = fixed + 6
  400.     CASE "Gemini"
  401.         air = air + 6
  402.         gemini_Value = gemini_Value + 6
  403.         mutable = mutable + 6
  404.     CASE "Cancer"
  405.         water = water + 6
  406.         cancer_Value = cancer_Value + 6
  407.         cardinals = cardinals + 6
  408.     CASE "Leo"
  409.         fire = fire + 6
  410.         leo_Value = leo_Value + 6
  411.         fixed = fixed + 6
  412.     CASE "Virgo"
  413.         earth = earth + 6
  414.         virgo_Value = virgo_Value + 6
  415.         mutable = mutable + 6
  416.     CASE "Libra"
  417.         air = air + 6
  418.         libra_Value = libra_Value + 6
  419.         cardinals = cardinals + 6
  420.     CASE "Scorpio"
  421.         water = water + 6
  422.         scorpio_Value = scorpio_Value + 6
  423.         fixed = fixed + 5
  424.     CASE "Sagittarius"
  425.         fire = fire + 6
  426.         sagittarius_Value = sagittarius_Value + 6
  427.         mutable = mutable + 6
  428.     CASE "Capricorn"
  429.         earth = earth + 6
  430.         capricorn_Value = capricorn_Value + 6
  431.         cardinals = cardinals + 6
  432.     CASE "Aquarius"
  433.         air = air + 6
  434.         Aquarius_Value = Aquarius_Value + 6
  435.         fixed = fixed + 6
  436.     CASE "Pisces"
  437.         water = water + 6
  438.         pisces_Value = pisces_Value + 6
  439.         mutable = mutable + 6
  440.  
  441. SELECT CASE Mars$
  442.     CASE "Aries"
  443.         fire = fire + 6
  444.         aries_Value = aries_Value + 6
  445.         cardinals = cardinals + 6
  446.     CASE "Taurus"
  447.         earth = earth + 6
  448.         taurus_Value = taurus_Value + 6
  449.         fixed = fixed + 6
  450.     CASE "Gemini"
  451.         air = air + 6
  452.         gemini_Value = gemini_Value + 6
  453.         mutable = mutable + 6
  454.     CASE "Cancer"
  455.         water = water + 6
  456.         cancer_Value = cancer_Value + 6
  457.         cardinals = cardinals + 6
  458.     CASE "Leo"
  459.         fire = fire + 6
  460.         leo_Value = leo_Value + 6
  461.         fixed = fixed + 6
  462.     CASE "Virgo"
  463.         earth = earth + 6
  464.         virgo_Value = virgo_Value + 6
  465.         mutable = mutable + 6
  466.     CASE "Libra"
  467.         air = air + 6
  468.         libra_Value = libra_Value + 6
  469.         cardinals = cardinals + 6
  470.     CASE "Scorpio"
  471.         water = water + 6
  472.         scorpio_Value = scorpio_Value + 6
  473.         fixed = fixed + 6
  474.     CASE "Sagittarius"
  475.         fire = fire + 6
  476.         sagittarius_Value = sagittarius_Value + 6
  477.         mutable = mutable + 6
  478.     CASE "Capricorn"
  479.         earth = earth + 6
  480.         capricorn_Value = capricorn_Value + 6
  481.         cardinals = cardinals + 6
  482.     CASE "Aquarius"
  483.         air = air + 6
  484.         Aquarius_Value = Aquarius_Value + 6
  485.         fixed = fixed + 6
  486.     CASE "Pisces"
  487.         water = water + 6
  488.         pisces_Value = pisces_Value + 6
  489.         mutable = mutable + 6
  490.  
  491. SELECT CASE Jupiter$
  492.     CASE "Aries"
  493.         fire = fire + 5
  494.         aries_Value = aries_Value + 5
  495.         cardinals = cardinals + 5
  496.     CASE "Taurus"
  497.         earth = earth + 5
  498.         taurus_Value = taurus_Value + 5
  499.         fixed = fixed + 5
  500.     CASE "Gemini"
  501.         air = air + 5
  502.         gemini_Value = gemini_Value + 5
  503.         mutable = mutable + 5
  504.     CASE "Cancer"
  505.         water = water + 5
  506.         cancer_Value = cancer_Value + 5
  507.         cardinals = cardinals + 5
  508.     CASE "Leo"
  509.         fire = fire + 5
  510.         leo_Value = leo_Value + 5
  511.         fixed = fixed + 5
  512.     CASE "Virgo"
  513.         earth = earth + 5
  514.         virgo_Value = virgo_Value + 5
  515.         mutable = mutable + 5
  516.     CASE "Libra"
  517.         air = air + 5
  518.         libra_Value = libra_Value + 5
  519.         cardinals = cardinals + 5
  520.     CASE "Scorpio"
  521.         water = water + 5
  522.         scorpio_Value = scorpio_Value + 5
  523.         fixed = fixed + 5
  524.     CASE "Sagittarius"
  525.         fire = fire + 5
  526.         sagittarius_Value = sagittarius_Value + 5
  527.         mutable = mutable + 5
  528.     CASE "Capricorn"
  529.         earth = earth + 5
  530.         capricorn_Value = capricorn_Value + 5
  531.         cardinals = cardinals + 5
  532.     CASE "Aquarius"
  533.         air = air + 5
  534.         Aquarius_Value = Aquarius_Value + 5
  535.         fixed = fixed + 5
  536.     CASE "Pisces"
  537.         water = water + 5
  538.         pisces_Value = pisces_Value + 5
  539.         mutable = mutable + 5
  540.  
  541. SELECT CASE Saturn$
  542.     CASE "Aries"
  543.         fire = fire + 5
  544.         aries_Value = aries_Value + 5
  545.         cardinals = cardinals + 5
  546.     CASE "Taurus"
  547.         earth = earth + 5
  548.         taurus_Value = taurus_Value + 5
  549.         fixed = fixed + 5
  550.     CASE "Gemini"
  551.         air = air + 5
  552.         gemini_Value = gemini_Value + 5
  553.         mutable = mutable + 5
  554.     CASE "Cancer"
  555.         water = water + 5
  556.         cancer_Value = cancer_Value + 5
  557.         cardinals = cardinals + 5
  558.     CASE "Leo"
  559.         fire = fire + 5
  560.         leo_Value = leo_Value + 5
  561.         fixed = fixed + 5
  562.     CASE "Virgo"
  563.         earth = earth + 5
  564.         virgo_Value = virgo_Value + 5
  565.         mutable = mutable + 5
  566.     CASE "Libra"
  567.         air = air + 5
  568.         libra_Value = libra_Value + 5
  569.         cardinals = cardinals + 5
  570.     CASE "Scorpio"
  571.         water = water + 5
  572.         scorpio_Value = scorpio_Value + 5
  573.         fixed = fixed + 5
  574.     CASE "Sagittarius"
  575.         fire = fire + 5
  576.         sagittarius_Value = sagittarius_Value + 5
  577.         mutable = mutable + 5
  578.     CASE "Capricorn"
  579.         earth = earth + 5
  580.         capricorn_Value = capricorn_Value + 5
  581.         cardinals = cardinals + 5
  582.     CASE "Aquarius"
  583.         air = air + 5
  584.         Aquarius_Value = Aquarius_Value + 5
  585.         fixed = fixed + 5
  586.     CASE "Pisces"
  587.         water = water + 5
  588.         pisces_Value = pisces_Value + 5
  589.         mutable = mutable + 5
  590.  
  591.     CASE "Aries"
  592.         fire = fire + 5
  593.         aries_Value = aries_Value + 5
  594.         cardinals = cardinals + 5
  595.     CASE "Taurus"
  596.         earth = earth + 5
  597.         taurus_Value = taurus_Value + 5
  598.         fixed = fixed + 5
  599.     CASE "Gemini"
  600.         air = air + 5
  601.         gemini_Value = gemini_Value + 5
  602.         mutable = mutable + 5
  603.     CASE "Cancer"
  604.         water = water + 5
  605.         cancer_Value = cancer_Value + 5
  606.         cardinals = cardinals + 5
  607.     CASE "Leo"
  608.         fire = fire + 5
  609.         leo_Value = leo_Value + 5
  610.         fixed = fixed + 5
  611.     CASE "Virgo"
  612.         earth = earth + 5
  613.         virgo_Value = virgo_Value + 5
  614.         mutable = mutable + 5
  615.     CASE "Libra"
  616.         air = air + 5
  617.         libra_Value = libra_Value + 5
  618.         cardinals = cardinals + 5
  619.     CASE "Scorpio"
  620.         water = water + 5
  621.         scorpio_Value = scorpio_Value + 5
  622.         fixed = fixed + 5
  623.     CASE "Sagittarius"
  624.         fire = fire + 5
  625.         sagittarius_Value = sagittarius_Value + 5
  626.         mutable = mutable + 5
  627.     CASE "Capricorn"
  628.         earth = earth + 5
  629.         capricorn_Value = capricorn_Value + 5
  630.         cardinals = cardinals + 5
  631.     CASE "Aquarius"
  632.         air = air + 5
  633.         Aquarius_Value = Aquarius_Value + 5
  634.         fixed = fixed + 5
  635.     CASE "Pisces"
  636.         water = water + 5
  637.         pisces_Value = pisces_Value + 5
  638.         mutable = mutable + 5
  639.  
  640. SELECT CASE Chiron$
  641.     CASE "Aries"
  642.         fire = fire + 2
  643.         aries_Value = aries_Value + 2
  644.         cardinals = cardinals + 2
  645.     CASE "Taurus"
  646.         earth = earth + 2
  647.         taurus_Value = taurus_Value + 2
  648.         fixed = fixed + 2
  649.     CASE "Gemini"
  650.         air = air + 2
  651.         gemini_Value = gemini_Value + 2
  652.         mutable = mutable + 2
  653.     CASE "Cancer"
  654.         water = water + 2
  655.         cancer_Value = cancer_Value + 2
  656.         cardinals = cardinals + 2
  657.     CASE "Leo"
  658.         fire = fire + 2
  659.         leo_Value = leo_Value + 2
  660.         fixed = fixed + 2
  661.     CASE "Virgo"
  662.         earth = earth + 2
  663.         virgo_Value = virgo_Value + 2
  664.         mutable = mutable + 2
  665.     CASE "Libra"
  666.         air = air + 2
  667.         libra_Value = libra_Value + 2
  668.         cardinals = cardinals + 2
  669.     CASE "Scorpio"
  670.         water = water + 2
  671.         scorpio_Value = scorpio_Value + 2
  672.         fixed = fixed + 2
  673.     CASE "Sagittarius"
  674.         fire = fire + 2
  675.         sagittarius_Value = sagittarius_Value + 2
  676.         mutable = mutable + 2
  677.     CASE "Capricorn"
  678.         earth = earth + 2
  679.         capricorn_Value = capricorn_Value + 2
  680.         cardinals = cardinals + 2
  681.     CASE "Aquarius"
  682.         air = air + 2
  683.         Aquarius_Value = Aquarius_Value + 2
  684.         fixed = fixed + 2
  685.     CASE "Pisces"
  686.         water = water + 2
  687.         pisces_Value = pisces_Value + 2
  688.         mutable = mutable + 2
  689.  
  690. SELECT CASE Uranus$
  691.     CASE "Aries"
  692.         fire = fire + 2
  693.         aries_Value = aries_Value + 2
  694.         cardinals = cardinals + 2
  695.     CASE "Taurus"
  696.         earth = earth + 2
  697.         taurus_Value = taurus_Value + 2
  698.         fixed = fixed + 2
  699.     CASE "Gemini"
  700.         air = air + 2
  701.         gemini_Value = gemini_Value + 2
  702.         mutable = mutable + 2
  703.     CASE "Cancer"
  704.         water = water + 2
  705.         cancer_Value = cancer_Value + 2
  706.         cardinals = cardinals + 2
  707.     CASE "Leo"
  708.         fire = fire + 2
  709.         leo_Value = leo_Value + 2
  710.         fixed = fixed + 2
  711.     CASE "Virgo"
  712.         earth = earth + 2
  713.         virgo_Value = virgo_Value + 2
  714.         mutable = mutable + 2
  715.     CASE "Libra"
  716.         air = air + 2
  717.         libra_Value = libra_Value + 2
  718.         cardinals = cardinals + 2
  719.     CASE "Scorpio"
  720.         water = water + 2
  721.         scorpio_Value = scorpio_Value + 2
  722.         fixed = fixed + 2
  723.     CASE "Sagittarius"
  724.         fire = fire + 2
  725.         sagittarius_Value = sagittarius_Value + 2
  726.         mutable = mutable + 2
  727.     CASE "Capricorn"
  728.         earth = earth + 2
  729.         capricorn_Value = capricorn_Value + 2
  730.         cardinals = cardinals + 2
  731.     CASE "Aquarius"
  732.         air = air + 2
  733.         Aquarius_Value = Aquarius_Value + 2
  734.         fixed = fixed + 2
  735.     CASE "Pisces"
  736.         water = water + 2
  737.         pisces_Value = pisces_Value + 2
  738.         mutable = mutable + 2
  739.  
  740. SELECT CASE neptune$
  741.     CASE "Aries"
  742.         fire = fire + 2
  743.         aries_Value = aries_Value + 2
  744.         cardinals = cardinals + 2
  745.     CASE "Taurus"
  746.         earth = earth + 2
  747.         taurus_Value = taurus_Value + 2
  748.         fixed = fixed + 2
  749.     CASE "Gemini"
  750.         air = air + 2
  751.         gemini_Value = gemini_Value + 2
  752.         mutable = mutable + 2
  753.     CASE "Cancer"
  754.         water = water + 2
  755.         cancer_Value = cancer_Value + 2
  756.         cardinals = cardinals + 2
  757.     CASE "Leo"
  758.         fire = fire + 2
  759.         leo_Value = leo_Value + 2
  760.         fixed = fixed + 2
  761.     CASE "Virgo"
  762.         earth = earth + 2
  763.         virgo_Value = virgo_Value + 2
  764.         mutable = mutable + 2
  765.     CASE "Libra"
  766.         air = air + 2
  767.         libra_Value = libra_Value + 2
  768.         cardinals = cardinals + 2
  769.     CASE "Scorpio"
  770.         water = water + 2
  771.         scorpio_Value = scorpio_Value + 2
  772.         fixed = fixed + 2
  773.     CASE "Sagittarius"
  774.         fire = fire + 2
  775.         sagittarius_Value = sagittarius_Value + 2
  776.         mutable = mutable + 2
  777.     CASE "Capricorn"
  778.         earth = earth + 2
  779.         capricorn_Value = capricorn_Value + 2
  780.         cardinals = cardinals + 2
  781.     CASE "Aquarius"
  782.         air = air + 2
  783.         Aquarius_Value = Aquarius_Value + 2
  784.         fixed = fixed + 2
  785.     CASE "Pisces"
  786.         water = water + 2
  787.         pisces_Value = pisces_Value + 2
  788.         mutable = mutable + 2
  789.  
  790. SELECT CASE Pluto$
  791.     CASE "Aries"
  792.         fire = fire + 2
  793.         aries_Value = aries_Value + 2
  794.         cardinals = cardinals + 2
  795.     CASE "Taurus"
  796.         earth = earth + 2
  797.         taurus_Value = taurus_Value + 2
  798.         fixed = fixed + 2
  799.     CASE "Gemini"
  800.         air = air + 2
  801.         gemini_Value = gemini_Value + 2
  802.         mutable = mutable + 2
  803.     CASE "Cancer"
  804.         water = water + 2
  805.         cancer_Value = cancer_Value + 2
  806.         cardinals = cardinals + 2
  807.     CASE "Leo"
  808.         fire = fire + 2
  809.         leo_Value = leo_Value + 2
  810.         fixed = fixed + 2
  811.     CASE "Virgo"
  812.         earth = earth + 2
  813.         virgo_Value = virgo_Value + 2
  814.         mutable = mutable + 2
  815.     CASE "Libra"
  816.         air = air + 2
  817.         libra_Value = libra_Value + 2
  818.         cardinals = cardinals + 2
  819.     CASE "Scorpio"
  820.         water = water + 2
  821.         scorpio_Value = scorpio_Value + 2
  822.         fixed = fixed + 2
  823.     CASE "Sagittarius"
  824.         fire = fire + 2
  825.         sagittarius_Value = sagittarius_Value + 2
  826.         mutable = mutable + 2
  827.     CASE "Capricorn"
  828.         earth = earth + 2
  829.         capricorn_Value = capricorn_Value + 2
  830.         cardinals = cardinals + 2
  831.     CASE "Aquarius"
  832.         air = air + 2
  833.         Aquarius_Value = Aquarius_Value + 2
  834.         fixed = fixed + 2
  835.     CASE "Pisces"
  836.         water = water + 2
  837.         pisces_Value = pisces_Value + 2
  838.         mutable = mutable + 2
  839.  
  840. SELECT CASE moon_Node$
  841.     CASE "Aries"
  842.         fire = fire + 2
  843.         aries_Value = aries_Value + 2
  844.         cardinals = cardinals + 2
  845.     CASE "Taurus"
  846.         earth = earth + 2
  847.         taurus_Value = taurus_Value + 2
  848.         fixed = fixed + 2
  849.     CASE "Gemini"
  850.         air = air + 2
  851.         gemini_Value = gemini_Value + 2
  852.         mutable = mutable + 2
  853.     CASE "Cancer"
  854.         water = water + 2
  855.         cancer_Value = cancer_Value + 2
  856.         cardinals = cardinals + 2
  857.     CASE "Leo"
  858.         fire = fire + 2
  859.         leo_Value = leo_Value + 2
  860.         fixed = fixed + 2
  861.     CASE "Virgo"
  862.         earth = earth + 2
  863.         virgo_Value = virgo_Value + 2
  864.         mutable = mutable + 2
  865.     CASE "Libra"
  866.         air = air + 2
  867.         libra_Value = libra_Value + 2
  868.         cardinals = cardinals + 2
  869.     CASE "Scorpio"
  870.         water = water + 2
  871.         scorpio_Value = scorpio_Value + 2
  872.         fixed = fixed + 2
  873.     CASE "Sagittarius"
  874.         fire = fire + 2
  875.         sagittarius_Value = sagittarius_Value + 2
  876.         mutable = mutable + 2
  877.     CASE "Capricorn"
  878.         earth = earth + 2
  879.         capricorn_Value = capricorn_Value + 2
  880.         cardinals = cardinals + 2
  881.     CASE "Aquarius"
  882.         air = air + 2
  883.         Aquarius_Value = Aquarius_Value + 2
  884.         fixed = fixed + 2
  885.     CASE "Pisces"
  886.         water = water + 2
  887.         pisces_Value = pisces_Value + 2
  888.         mutable = mutable + 2
  889.  
  890. SELECT CASE Lilith$
  891.     CASE "Aries"
  892.         fire = fire + 1
  893.         aries_Value = aries_Value + 1
  894.         cardinals = cardinals + 1
  895.     CASE "Taurus"
  896.         earth = earth + 1
  897.         taurus_Value = taurus_Value + 1
  898.         fixed = fixed + 1
  899.     CASE "Gemini"
  900.         air = air + 1
  901.         gemini_Value = gemini_Value + 1
  902.         mutable = mutable + 1
  903.     CASE "Cancer"
  904.         water = water + 1
  905.         cancer_Value = cancer_Value + 1
  906.         cardinals = cardinals + 1
  907.     CASE "Leo"
  908.         fire = fire + 1
  909.         leo_Value = leo_Value + 1
  910.         fixed = fixed + 1
  911.     CASE "Virgo"
  912.         earth = earth + 1
  913.         virgo_Value = virgo_Value + 1
  914.         mutable = mutable + 1
  915.     CASE "Libra"
  916.         air = air + 1
  917.         libra_Value = libra_Value + 1
  918.         cardinals = cardinals + 1
  919.     CASE "Scorpio"
  920.         water = water + 1
  921.         scorpio_Value = scorpio_Value + 1
  922.         fixed = fixed + 1
  923.     CASE "Sagittarius"
  924.         fire = fire + 1
  925.         sagittarius_Value = sagittarius_Value + 1
  926.         mutable = mutable + 1
  927.     CASE "Capricorn"
  928.         earth = earth + 1
  929.         capricorn_Value = capricorn_Value + 1
  930.         cardinals = cardinals + 1
  931.     CASE "Aquarius"
  932.         air = air + 1
  933.         Aquarius_Value = Aquarius_Value + 1
  934.         fixed = fixed + 1
  935.     CASE "Pisces"
  936.         water = water + 1
  937.         pisces_Value = pisces_Value + 1
  938.         mutable = mutable + 1
  939.  
  940. elements = earth + fire + water + air
  941. Earth_Percentage = 100 / elements * earth
  942. Fire_Percentage# = 100 / elements * fire
  943. Water_Percentage# = 100 / elements * water
  944. Air_Percentage# = 100 / elements * air
  945.  
  946. Earth_percentage_Rounded# = INT(Earth_Percentage * 10 ^ 2 + .5): Earth_percentage_Rounded# = Earth_percentage_Rounded# / 100
  947. Fire_percentage_Rounded# = INT(Fire_Percentage# * 10 ^ 2 + .5): Fire_percentage_Rounded# = Fire_percentage_Rounded# / 100
  948. Water_percentage_Rounded# = INT(Water_Percentage# * 10 ^ 2 + .5): Water_percentage_Rounded# = Water_percentage_Rounded# / 100
  949. Air_percentage_Rounded# = INT(Air_Percentage# * 10 ^ 2 + .5): Air_percentage_Rounded# = Air_percentage_Rounded# / 100
  950.  
  951. qualities = cardinals + fixed + mutable
  952. cardinal_Percentage# = 100 / qualities * cardinals
  953. fixed_Percentage# = 100 / qualities * fixed
  954. mutable_Percentage# = 100 / qualities * mutable
  955.  
  956. cardinal_percentage_Rounded# = INT(cardinal_Percentage# * 10 ^ 2 + .5): cardinal_percentage_Rounded# = cardinal_percentage_Rounded# / 100
  957. fixed_percentage_Rounded# = INT(fixed_Percentage# * 10 ^ 2 + .5): fixed_percentage_Rounded# = fixed_percentage_Rounded# / 100
  958. mutable_percentage_Rounded# = INT(mutable_Percentage# * 10 ^ 2 + .5): mutable_percentage_Rounded# = mutable_percentage_Rounded# / 100
  959.  
  960. all_Signs = aries_Value + taurus_Value + gemini_Value + cancer_Value + leo_Value + virgo_Value + libra_Value + scorpio_Value + sagittarius_Value + capricorn_Value + Aquarius_Value + pisces_Value
  961. Aries_Percentage = 100 / all_Signs * aries_Value
  962. Taurus_Percentage = 100 / all_Signs * taurus_Value
  963. Gemini_Percentage = 100 / all_Signs * gemini_Value
  964. Cancer_Percentage = 100 / all_Signs * cancer_Value
  965. Leo_Percentage = 100 / all_Signs * leo_Value
  966. Virgo_Percentage = 100 / all_Signs * virgo_Value
  967. Libra_Percentage = 100 / all_Signs * libra_Value
  968. Scorpio_Percentage = 100 / all_Signs * scorpio_Value
  969. Sagittarius_Percentage = 100 / all_Signs * sagittarius_Value
  970. Capricorn_Percentage = 100 / all_Signs * capricorn_Value
  971. Aquarius_Percentage = 100 / all_Signs * Aquarius_Value
  972. Pisces_Percentage = 100 / all_Signs * pisces_Value
  973.  
  974. Aries_percentage_Rounded# = INT(Aries_Percentage * 10 ^ 2 + .5): Aries_percentage_Rounded# = Aries_percentage_Rounded# / 100
  975. Taurus_percentage_Rounded# = INT(Taurus_Percentage * 10 ^ 2 + .5): Taurus_percentage_Rounded# = Taurus_percentage_Rounded# / 100
  976. Gemini_percentage_Rounded# = INT(Gemini_Percentage * 10 ^ 2 + .5): Gemini_percentage_Rounded# = Gemini_percentage_Rounded# / 100
  977. Cancer_percentage_Rounded# = INT(Cancer_Percentage * 10 ^ 2 + .5): Cancer_percentage_Rounded# = Cancer_percentage_Rounded# / 100
  978. Leo_percentage_Rounded# = INT(Leo_Percentage * 10 ^ 2 + .5): Leo_percentage_Rounded# = Leo_percentage_Rounded# / 100
  979. Virgo_percentage_Rounded# = INT(Virgo_Percentage * 10 ^ 2 + .5): Virgo_percentage_Rounded# = Virgo_percentage_Rounded# / 100
  980. Libra_percentage_Rounded# = INT(Libra_Percentage * 10 ^ 2 + .5): Libra_percentage_Rounded# = Libra_percentage_Rounded# / 100
  981. Scorpio_percentage_Rounded# = INT(Scorpio_Percentage * 10 ^ 2 + .5): Scorpio_percentage_Rounded# = Scorpio_percentage_Rounded# / 100
  982. Sagittarius_percentage_Rounded# = INT(Sagittarius_Percentage * 10 ^ 2 + .5): Sagittarius_percentage_Rounded# = Sagittarius_percentage_Rounded# / 100
  983. Capricorn_percentage_Rounded# = INT(Capricorn_Percentage * 10 ^ 2 + .5): Capricorn_percentage_Rounded# = Capricorn_percentage_Rounded# / 100
  984. Aquarius_percentage_Rounded# = INT(Aquarius_Percentage * 10 ^ 2 + .5): Aquarius_percentage_Rounded# = Aquarius_percentage_Rounded# / 100
  985. Pisces_percentage_Rounded# = INT(Pisces_Percentage * 10 ^ 2 + .5): Pisces_percentage_Rounded# = Pisces_percentage_Rounded# / 100
  986.  
  987. all_Houses = house(1) + house(2) + house(3) + house(4) + house(5) + house(6) + house(7) + house(8) + house(9) + house(10) + house(11) + house(12)
  988. house1_Percentage = 100 / all_Houses * house(1)
  989. house2_Percentage = 100 / all_Houses * house(2)
  990. house3_Percentage = 100 / all_Houses * house(3)
  991. house4_Percentage = 100 / all_Houses * house(4)
  992. house5_Percentage = 100 / all_Houses * house(5)
  993. house6_Percentage = 100 / all_Houses * house(6)
  994. house7_Percentage = 100 / all_Houses * house(7)
  995. house8_Percentage = 100 / all_Houses * house(8)
  996. house9_Percentage = 100 / all_Houses * house(9)
  997. house10_Percentage = 100 / all_Houses * house(10)
  998. house11_Percentage = 100 / all_Houses * house(11)
  999. house12_Percentage = 100 / all_Houses * house(12)
  1000.  
  1001. house1_percentage_Rounded# = INT(house1_Percentage * 10 ^ 2 + .5): house1_percentage_Rounded# = house1_percentage_Rounded# / 100
  1002. house2_percentage_Rounded# = INT(house2_Percentage * 10 ^ 2 + .5): house2_percentage_Rounded# = house2_percentage_Rounded# / 100
  1003. house3_percentage_Rounded# = INT(house3_Percentage * 10 ^ 2 + .5): house3_percentage_Rounded# = house3_percentage_Rounded# / 100
  1004. house4_percentage_Rounded# = INT(house4_Percentage * 10 ^ 2 + .5): house4_percentage_Rounded# = house4_percentage_Rounded# / 100
  1005. house5_percentage_Rounded# = INT(house5_Percentage * 10 ^ 2 + .5): house5_percentage_Rounded# = house5_percentage_Rounded# / 100
  1006. house6_percentage_Rounded# = INT(house6_Percentage * 10 ^ 2 + .5): house6_percentage_Rounded# = house6_percentage_Rounded# / 100
  1007. house7_percentage_Rounded# = INT(house7_Percentage * 10 ^ 2 + .5): house7_percentage_Rounded# = house7_percentage_Rounded# / 100
  1008. house8_percentage_Rounded# = INT(house8_Percentage * 10 ^ 2 + .5): house8_percentage_Rounded# = house8_percentage_Rounded# / 100
  1009. house9_percentage_Rounded# = INT(house9_Percentage * 10 ^ 2 + .5): house9_percentage_Rounded# = house9_percentage_Rounded# / 100
  1010. house10_percentage_Rounded# = INT(house10_Percentage * 10 ^ 2 + .5): house10_percentage_Rounded# = house10_percentage_Rounded# / 100
  1011. house11_percentage_Rounded# = INT(house11_Percentage * 10 ^ 2 + .5): house11_percentage_Rounded# = house11_percentage_Rounded# / 100
  1012. house12_percentage_Rounded# = INT(house12_Percentage * 10 ^ 2 + .5): house12_percentage_Rounded# = house12_percentage_Rounded# / 100
  1013.  
  1014. largest = 0
  1015. IF aries_Value > largest THEN largest = aries_Value: dom_Sign$ = "Aries"
  1016. IF taurus_Value > largest THEN largest = taurus_Value: dom_Sign$ = "Taurus"
  1017. IF gemini_Value > largest THEN largest = gemini_Value: dom_Sign$ = "Gemini"
  1018. IF cancer_Value > largest THEN largest = cancer_Value: dom_Sign$ = "Cancer"
  1019. IF leo_Value > largest THEN largest = leo_Value: dom_Sign$ = "Leo"
  1020. IF virgo_Value > largest THEN largest = virgo_Value: dom_Sign$ = "Virgo"
  1021. IF libra_Value > largest THEN largest = libra_Value: dom_Sign$ = "Libra"
  1022. IF scorpio_Value > largest THEN largest = scorpio_Value: dom_Sign$ = "Scorpio"
  1023. IF sagittarius_Value > largest THEN largest = sagittarius_Value: dom_Sign$ = "Sagittarius"
  1024. IF capricorn_Value > largest THEN largest = capricorn_Value: dom_Sign$ = "Capricorn"
  1025. IF Aquarius_Value > largest THEN largest = Aquarius_Value: dom_Sign$ = "Aquarius"
  1026. IF pisces_Value > largest THEN largest = pisces_Value: dom_Sign$ = "Pisces"
  1027. signs_percentage = 100 / all_Signs * largest
  1028. signs_percentage_Rounded# = INT(signs_percentage * 10 ^ 2 + .5): signs_percentage_Rounded# = signs_percentage_Rounded# / 100
  1029.  
  1030. largesthouse = 0
  1031. IF house(1) > largesthouse THEN largesthouse = house(1): dom_House = 1
  1032. IF house(2) > largesthouse THEN largesthouse = house(2): dom_House = 2
  1033. IF house(3) > largesthouse THEN largesthouse = house(3): dom_House = 3
  1034. IF house(4) > largesthouse THEN largesthouse = house(4): dom_House = 4
  1035. IF house(5) > largesthouse THEN largesthouse = house(5): dom_House = 5
  1036. IF house(6) > largesthouse THEN largesthouse = house(6): dom_House = 6
  1037. IF house(7) > largesthouse THEN largesthouse = house(7): dom_House = 7
  1038. IF house(8) > largesthouse THEN largesthouse = house(8): dom_House = 8
  1039. IF house(9) > largesthouse THEN largesthouse = house(9): dom_House = 9
  1040. IF house(10) > largesthouse THEN largesthouse = house(10): dom_House = 10
  1041. IF house(11) > largesthouse THEN largesthouse = house(11): dom_House = 11
  1042. IF house(12) > largesthouse THEN largesthouse = house(12): dom_House = 12
  1043. largesthouse_percentage = 100 / all_Houses * largesthouse
  1044. largesthouse_percentage_Rounded# = INT(largesthouse_percentage * 10 ^ 2 + .5): largesthouse_percentage_Rounded# = largesthouse_percentage_Rounded# / 100
  1045.  
  1046. Quad1 = house(1) + house(2) + house(3)
  1047. Quad2 = house(4) + house(5) + house(6)
  1048. Quad3 = house(7) + house(8) + house(9)
  1049. Quad4 = house(10) + house(11) + house(12)
  1050. all_Quads = Quad1 + Quad2 + Quad3 + Quad4
  1051.  
  1052. largedom_Quad = 0
  1053. IF Quad1 > largedom_Quad THEN largedom_Quad = Quad1: dom_Quad$ = "1st aka Fire or energy quadrant"
  1054. IF Quad2 > largedom_Quad THEN largedom_Quad = Quad2: dom_Quad$ = "2nd aka Water or emotional quadrant"
  1055. IF Quad3 > largedom_Quad THEN largedom_Quad = Quad3: dom_Quad$ = "3rd aka Air or intellectual quadrant"
  1056. IF Quad4 > largedom_Quad THEN largedom_Quad = Quad4: dom_Quad$ = "4th aka Earth or reality quadrant"
  1057. large_dom_Quad_percentage = 100 / all_Quads * largedom_Quad
  1058. large_dom_Quad_percentage_Rounded# = INT(large_dom_Quad_percentage * 10 ^ 2 + .5): large_dom_Quad_percentage_Rounded# = large_dom_Quad_percentage_Rounded# / 100
  1059.  
  1060. quad1_Percentage = 100 / all_Quads * Quad1
  1061. quad2_Percentage = 100 / all_Quads * Quad2
  1062. quad3_Percentage = 100 / all_Quads * Quad3
  1063. quad4_Percentage = 100 / all_Quads * Quad4
  1064.  
  1065. quad1_percentage_Rounded# = INT(quad1_Percentage * 10 ^ 2 + .5): quad1_percentage_Rounded# = quad1_percentage_Rounded# / 100
  1066. quad2_percentage_Rounded# = INT(quad2_Percentage * 10 ^ 2 + .5): quad2_percentage_Rounded# = quad2_percentage_Rounded# / 100
  1067. quad3_percentage_Rounded# = INT(quad3_Percentage * 10 ^ 2 + .5): quad3_percentage_Rounded# = quad3_percentage_Rounded# / 100
  1068. quad4_percentage_Rounded# = INT(quad4_Percentage * 10 ^ 2 + .5): quad4_percentage_Rounded# = quad4_percentage_Rounded# / 100
  1069.  
  1070. earth_String$ = "The sum of the earth signs in this birth chart is" + STR$(earth) + ". Thus, its owner is determined by the element of earth by" + STR$(Earth_percentage_Rounded#) + "%."
  1071. fire_String$ = "The sum of the fire signs in this birth chart is" + STR$(fire) + ". Thus, its owner is determined by the element of fire by" + STR$(Fire_percentage_Rounded#) + "%."
  1072. water_String$ = "The sum of the water signs in this birth chart is" + STR$(water) + ". Thus, its owner is determined by the element of water by" + STR$(Water_percentage_Rounded#) + "%."
  1073. air_String$ = "The sum of the air signs in this birth chart is" + STR$(air) + ". Thus, its owner is determined by the element of air by" + STR$(Air_percentage_Rounded#) + "%."
  1074.  
  1075. active_Signs = fire + earth
  1076. passive_Signs = water + air
  1077. polarity_Percentage = active_Signs + passive_Signs
  1078.  
  1079. active_Percentage = 100 / polarity_Percentage * active_Signs
  1080. passive_Percentage = 100 / polarity_Percentage * passive_Signs
  1081.  
  1082. active_percentage_Rounded# = INT(active_Percentage * 10 ^ 2 + .5): active_percentage_Rounded# = active_percentage_Rounded# / 100
  1083. passive_percentage_Rounded# = INT(passive_Percentage * 10 ^ 2 + .5): passive_percentage_Rounded# = passive_percentage_Rounded# / 100
  1084.  
  1085. active_String$ = "The sum of the active signs in this birth chart is" + STR$(active_Signs) + ". Thus, its owner is characterized by active polarities at" + STR$(active_percentage_Rounded#) + "%."
  1086. passive_String$ = "The sum of the passive signs in this birth chart is" + STR$(passive_Signs) + ". Thus, its owner is characterized by passive polarities at" + STR$(passive_percentage_Rounded#) + "%."
  1087.  
  1088. aries_String$ = "Strength of Aries:" + STR$(aries_Value) + " (" + STR$(Aries_percentage_Rounded#) + "%)"
  1089. taurus_String$ = "Strength of Taurus:" + STR$(taurus_Value) + " (" + STR$(Taurus_percentage_Rounded#) + "%)"
  1090. gemini_String$ = "Strength of Gemini:" + STR$(gemini_Value) + " (" + STR$(Gemini_percentage_Rounded#) + "%)"
  1091. cancer_String$ = "Strength of Cancer:" + STR$(cancer_Value) + " (" + STR$(Cancer_percentage_Rounded#) + "%)"
  1092. leo_String$ = "Strength of Leo:" + STR$(leo_Value) + " (" + STR$(Leo_percentage_Rounded#) + "%)"
  1093. virgo_String$ = "Strength of Virgo:" + STR$(virgo_Value) + " (" + STR$(Virgo_percentage_Rounded#) + "%)"
  1094. libra_String$ = "Strength of Libra:" + STR$(libra_Value) + " (" + STR$(Libra_percentage_Rounded#) + "%)"
  1095. scorpio_String$ = "Strength of Scorpio:" + STR$(scorpio_Value) + " (" + STR$(Scorpio_percentage_Rounded#) + "%)"
  1096. sagittarius_String$ = "Strength of Sagittarius:" + STR$(sagittarius_Value) + " (" + STR$(Sagittarius_percentage_Rounded#) + "%)"
  1097. capricorn_String$ = "Strength of Capricorn:" + STR$(capricorn_Value) + " (" + STR$(Capricorn_percentage_Rounded#) + "%)"
  1098. Aquarius_String$ = "Strength of Aquarius:" + STR$(Aquarius_Value) + " (" + STR$(Aquarius_percentage_Rounded#) + "%)"
  1099. pisces_String$ = "Strength of Pisces:" + STR$(pisces_Value) + " (" + STR$(Pisces_percentage_Rounded#) + "%)"
  1100.  
  1101. cardinal_String$ = "The sum of the cardinal signs in this birth chart is" + STR$(cardinals) + ". Thus, its owner is characterized by cardinal qualities at" + STR$(cardinal_percentage_Rounded#) + "%."
  1102. fixed_String$ = "The sum of the fixed signs in this birth chart is" + STR$(fixed) + ". Thus, its owner is characterized by fixed qualities at" + STR$(fixed_percentage_Rounded#) + "%."
  1103. mutable_String$ = "The sum of the mutable signs in this birth chart is" + STR$(mutable) + ". Thus, its owner is characterized by mutable qualities at" + STR$(mutable_percentage_Rounded#) + "%."
  1104.  
  1105. house1_String$ = "Strength of the 1st house: " + STR$(house(1)) + " (" + STR$(house1_percentage_Rounded#) + "%)"
  1106. house2_String$ = "Strength of the 2nd house: " + STR$(house(2)) + " (" + STR$(house2_percentage_Rounded#) + "%)"
  1107. house3_String$ = "Strength of the 3rd house: " + STR$(house(3)) + " (" + STR$(house3_percentage_Rounded#) + "%)"
  1108. house4_String$ = "Strength of the 4th house: " + STR$(house(4)) + " (" + STR$(house4_percentage_Rounded#) + "%)"
  1109. house5_String$ = "Strength of the 5th house: " + STR$(house(5)) + " (" + STR$(house5_percentage_Rounded#) + "%)"
  1110. house6_String$ = "Strength of the 6th house: " + STR$(house(6)) + " (" + STR$(house6_percentage_Rounded#) + "%)"
  1111. house7_String$ = "Strength of the 7th house: " + STR$(house(7)) + " (" + STR$(house7_percentage_Rounded#) + "%)"
  1112. house8_String$ = "Strength of the 8th house: " + STR$(house(8)) + " (" + STR$(house8_percentage_Rounded#) + "%)"
  1113. house9_String$ = "Strength of the 9th house: " + STR$(house(9)) + " (" + STR$(house9_percentage_Rounded#) + "%)"
  1114. house10_String$ = "Strength of the 10th house: " + STR$(house(10)) + " (" + STR$(house10_percentage_Rounded#) + "%)"
  1115. house11_String$ = "Strength of the 11th house: " + STR$(house(11)) + " (" + STR$(house11_percentage_Rounded#) + "%)"
  1116. house12_String$ = "Strength of the 12th house: " + STR$(house(12)) + " (" + STR$(house12_percentage_Rounded#) + "%)"
  1117.  
  1118. Quad1string$ = "Strength of the 1st quadrant: " + STR$(Quad1) + " (" + STR$(quad1_percentage_Rounded#) + "%)"
  1119. Quad2string$ = "Strength of the 2nd quadrant: " + STR$(Quad2) + " (" + STR$(quad2_percentage_Rounded#) + "%)"
  1120. Quad3string$ = "Strength of the 3rd quadrant: " + STR$(Quad3) + " (" + STR$(quad3_percentage_Rounded#) + "%)"
  1121. Quad4string$ = "Strength of the 4th quadrant: " + STR$(Quad4) + " (" + STR$(quad4_percentage_Rounded#) + "%)"
  1122.  
  1123. DECLARE SUB quicksort (min%, max%)
  1124. DECLARE SUB display ()
  1125. DIM SHARED elements_Table$(3), elements_table_Values(3)
  1126.  
  1127. elements_Table$(0) = earth_String$
  1128. elements_table_Values(0) = earth
  1129. elements_Table$(1) = fire_String$
  1130. elements_table_Values(1) = fire
  1131. elements_Table$(2) = water_String$
  1132. elements_table_Values(2) = water
  1133. elements_Table$(3) = air_String$
  1134. elements_table_Values(3) = air
  1135.  
  1136. DIM SHARED signs_Table$(11), signs_table_Values(11)
  1137.  
  1138. signs_Table$(0) = aries_String$
  1139. signs_table_Values(0) = aries_Value
  1140. signs_Table$(1) = taurus_String$
  1141. signs_table_Values(1) = taurus_Value
  1142. signs_Table$(2) = gemini_String$
  1143. signs_table_Values(2) = gemini_Value
  1144. signs_Table$(3) = cancer_String$
  1145. signs_table_Values(3) = cancer_Value
  1146. signs_Table$(4) = leo_String$
  1147. signs_table_Values(4) = leo_Value
  1148. signs_Table$(5) = virgo_String$
  1149. signs_table_Values(5) = virgo_Value
  1150. signs_Table$(6) = libra_String$
  1151. signs_table_Values(6) = libra_Value
  1152. signs_Table$(7) = scorpio_String$
  1153. signs_table_Values(7) = scorpio_Value
  1154. signs_Table$(8) = sagittarius_String$
  1155. signs_table_Values(8) = sagittarius_Value
  1156. signs_Table$(9) = capricorn_String$
  1157. signs_table_Values(9) = capricorn_Value
  1158. signs_Table$(10) = Aquarius_String$
  1159. signs_table_Values(10) = Aquarius_Value
  1160. signs_Table$(11) = pisces_String$
  1161. signs_table_Values(11) = pisces_Value
  1162.  
  1163. DIM SHARED qualities_Table$(2), qualities_table_Values(2)
  1164.  
  1165. qualities_Table$(0) = cardinal_String$
  1166. qualities_table_Values(0) = cardinals
  1167. qualities_Table$(1) = fixed_String$
  1168. qualities_table_Values(1) = fixed
  1169. qualities_Table$(2) = mutable_String$
  1170. qualities_table_Values(2) = mutable
  1171.  
  1172. DIM SHARED polarities_Table$(1), polarities_table_Values(1)
  1173.  
  1174. polarities_Table$(0) = active_String$
  1175. polarities_table_Value(0) = active_Signs
  1176. polarities_Table$(1) = passive_String$
  1177. polarities_table_Value(1) = passive_Signs
  1178.  
  1179. DIM SHARED houses_Table$(11), houses_table_Values(11)
  1180.  
  1181. houses_Table$(0) = house1_String$
  1182. houses_table_Values(0) = house(1)
  1183. houses_Table$(1) = house2_String$
  1184. houses_table_Values(1) = house(2)
  1185. houses_Table$(2) = house3_String$
  1186. houses_table_Values(2) = house(3)
  1187. houses_Table$(3) = house4_String$
  1188. houses_table_Values(3) = house(4)
  1189. houses_Table$(4) = house5_String$
  1190. houses_table_Values(4) = house(5)
  1191. houses_Table$(5) = house6_String$
  1192. houses_table_Values(5) = house(6)
  1193. houses_Table$(6) = house7_String$
  1194. houses_table_Values(6) = house(7)
  1195. houses_Table$(7) = house8_String$
  1196. houses_table_Values(7) = house(8)
  1197. houses_Table$(8) = house9_String$
  1198. houses_table_Values(8) = house(9)
  1199. houses_Table$(9) = house10_String$
  1200. houses_table_Values(9) = house(10)
  1201. houses_Table$(10) = house11_String$
  1202. houses_table_Values(10) = house(11)
  1203. houses_Table$(11) = house12_String$
  1204. houses_table_Values(11) = house(12)
  1205.  
  1206. DIM SHARED quadrants_Table$(3), quadrants_table_Values(3)
  1207.  
  1208. quadrants_Table$(0) = Quad1string$
  1209. quadrants_table_Values(0) = Quad1
  1210. quadrants_Table$(1) = Quad2string$
  1211. quadrants_table_Values(1) = Quad2
  1212. quadrants_Table$(2) = Quad3string$
  1213. quadrants_table_Values(2) = Quad3
  1214. quadrants_Table$(3) = Quad4string$
  1215. quadrants_table_Values(3) = Quad4
  1216.  
  1217. PRINT "Elements:"
  1218. quicksort 0, 3, elements_Table$(), elements_table_Values()
  1219. display elements_Table$()
  1220. PRINT "Dominance of the signs:"
  1221. quicksort 0, 11, signs_Table$(), signs_table_Values()
  1222. display signs_Table$()
  1223. PRINT "At a strength of"; largest; "("; signs_percentage_Rounded#; "% ), "; dom_Sign$; " is the dominant sign."
  1224. PRINT "Qualities:"
  1225. quicksort 0, 2, qualities_Table$(), qualities_table_Values()
  1226. display qualities_Table$()
  1227. PRINT "Polarities:"
  1228. quicksort 0, 1, polarities_Table$(), polarities_table_Values()
  1229. display polarities_Table$()
  1230. PRINT "Dominance of the houses:"
  1231. quicksort 0, 11, houses_Table$(), houses_table_Values()
  1232. display houses_Table$()
  1233. PRINT "The dominant house in this birth chart is house no."; dom_House; "("; largesthouse_percentage_Rounded#; "% )."
  1234. PRINT "Dominance of the quadrants:"
  1235. quicksort 0, 3, quadrants_Table$(), quadrants_table_Values()
  1236. display quadrants_Table$()
  1237. PRINT "The dominant quadrant is the "; dom_Quad$; " at "; large_dom_Quad_percentage_Rounded#; "%."
  1238. PRINT "For the dominant celestial body in this birth chart, enter its birth place and birth time at www.astro.com and then select the 'Color Oracle'."
  1239.  
  1240. SUB display (a$())
  1241.     FOR i% = 0 TO UBOUND(a$)
  1242.         PRINT a$(i%)
  1243.     NEXT
  1244.  
  1245. SUB quicksort (min%, max%, a$(), b())
  1246.     IF min% < max% THEN
  1247.         p1% = min%
  1248.         p2% = max%
  1249.         mid = b((min% + max%) \ 2) '**
  1250.         DO UNTIL p1% > p2%
  1251.             DO WHILE b(p1%) > mid '**<<invert this unequality to sort ascending
  1252.                 p1% = p1% + 1
  1253.             LOOP
  1254.             DO WHILE mid > b(p2%) '**<<this one too
  1255.                 p2% = p2% - 1
  1256.             LOOP
  1257.             IF p1% <= p2% THEN
  1258.                 SWAP a$(p1%), a$(p2%) '**
  1259.                 SWAP b(p1%), b(p2%) '**
  1260.                 p1% = p1% + 1
  1261.                 p2% = p2% - 1
  1262.             END IF
  1263.         LOOP
  1264.         IF min% < p2% THEN quicksort min%, p2%, a$(), b()
  1265.         IF p1% < max% THEN quicksort p1%, max%, a$(), b()
  1266.     END IF
  1267.  
  1268.  

Should not effect anything else, are we still good?
Title: Re: Still need help on my horoscope program
Post by: DDBE on June 08, 2020, 11:44:32 pm
That immediately gives me a syntax error on line 1240 again. :(
Title: Re: Still need help on my horoscope program
Post by: bplus on June 08, 2020, 11:51:12 pm
Oh that's weird, it was working fine when I posted the changed program. But not fine when I copy paste from forum code??? I run it, it blinks and nothing.

I will try again.
Title: Re: Still need help on my horoscope program
Post by: bplus on June 09, 2020, 12:00:16 am
That immediately gives me a syntax error on line 1240 again. :(

What does your error say, I am getting nothing, a blink and then nothing.
Title: Re: Still need help on my horoscope program
Post by: bplus on June 09, 2020, 12:02:21 am
Here is a dumb fix, let's check copy/paste from forum on this one:
Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(200, 70, 0)
  2. COLOR , 15: CLS
  3.  
  4. sun$ = "Aquarius"
  5. sun_House = 4
  6. moon$ = "Aries"
  7. moon_House = 6
  8. ascendent$ = "Scorpio"
  9. MC$ = "Leo"
  10. mercury$ = "Aquarius"
  11. mercury_House = 3
  12. Venus$ = "Pisces"
  13. venus_House = 5
  14. Mars$ = "Pisces"
  15. mars_House = 5
  16. Jupiter$ = "Sagittarius"
  17. jupiter_House = 2
  18. Saturn$ = "Scorpio"
  19. saturn_House = 1
  20. Chiron$ = "Taurus"
  21. chiron_House = 7
  22. Uranus$ = "Sagittarius"
  23. uranus_House = 2
  24. neptune$ = "Sagittarius"
  25. neptunee_House = 2
  26. Pluto$ = "Libra"
  27. pluto_House = 12
  28. moon_Node$ = "Capricorn"
  29. moon_node_House = 3
  30. Lilith$ = "Aquarius"
  31. lilith_House = 4
  32.  
  33. DIM house(12) AS INTEGER 'Defining 12 houses that numerical values can be added to which can be subjected to mathematical operations.
  34. house(sun_House) = house(sun_House) + 12 'Adds 12 points to the house that has the Sun in it.
  35. house(moon_House) = house(moon_House) + 12 'Adds 12 points to the house that has the Moon in it.
  36. house(mercury_House) = house(mercury_House) + 6 'Adds 6 points to the house that has Mercury in it.
  37. house(venus_House) = house(venus_House) + 6 'Adds 6 points to the house that has Venus in it.
  38. house(mars_House) = house(mars_House) + 6 'Adds 6 points to the house that has Mars in it.
  39. house(jupiter_House) = house(jupiter_House) + 5 'Adds 5 points to the house that has Jupiter in it.
  40. house(saturn_House) = house(saturn_House) + 5 'Adds 5 points to the house that has Saturn in it.
  41. house(chiron_House) = house(chiron_House) + 2 'Adds 2 points to the house that has Chiron in it.
  42. house(uranus_House) = house(uranus_House) + 2 'Adds 2 points to the house that has Uranus in it.
  43. house(neptunee_House) = house(neptunee_House) + 2 'Adds 2 points to the house that has neptunee in it.
  44. house(pluto_House) = house(pluto_House) + 2 'Adds 2 points to the house that has Pluto in it.
  45. house(moon_node_House) = house(moon_node_House) + 2 'Adds 2 points to the house that has the Moon Node in it.
  46. house(lilith_House) = house(lilith_House) + 1 'Adds 1 point to the house that has Lilith in it.
  47.  
  48.     CASE "Aries"
  49.         fire = fire + 12
  50.         aries_Value = aries_Value + 12
  51.         cardinals = cardinals + 12
  52.     CASE "Taurus"
  53.         earth = earth + 12
  54.         taurus_Value = taurus_Value + 12
  55.         fixed = fixed + 12
  56.     CASE "Gemini"
  57.         air = air + 12
  58.         gemini_Value = gemini_Value + 12
  59.         mutable = mutable + 12
  60.     CASE "Cancer"
  61.         water = water + 12
  62.         cancer_Value = cancer_Value + 12
  63.         cardinals = cardinals + 12
  64.     CASE "Leo"
  65.         fire = fire + 12
  66.         leo_Value = leo_Value + 12
  67.         fixed = fixed + 12
  68.     CASE "Virgo"
  69.         earth = earth + 12
  70.         virgo_Value = virgo_Value + 12
  71.         mutable = mutable + 12
  72.     CASE "Libra"
  73.         air = air + 12
  74.         libra_Value = libra_Value + 12
  75.         cardinals = cardinals + 12
  76.     CASE "Scorpio"
  77.         water = water + 12
  78.         scorpio_Value = scorpio_Value + 12
  79.         fixed = fixed + 12
  80.     CASE "Sagittarius"
  81.         fire = fire + 12
  82.         sagittarius_Value = sagittarius_Value + 12
  83.         mutable = mutable + 12
  84.     CASE "Capricorn"
  85.         earth = earth + 12
  86.         capricorn_Value = capricorn_Value + 12
  87.         cardinals = cardinals + 12
  88.     CASE "Aquarius"
  89.         air = air + 12
  90.         Aquarius_Value = Aquarius_Value + 12
  91.         fixed = fixed + 12
  92.     CASE "Pisces"
  93.         water = water + 12
  94.         pisces_Value = pisces_Value + 12
  95.         mutable = mutable + 12
  96.  
  97. SELECT CASE moon$
  98.     CASE "Aries"
  99.         fire = fire + 12
  100.         aries_Value = aries_Value + 12
  101.         cardinals = cardinals + 12
  102.     CASE "Taurus"
  103.         earth = earth + 12
  104.         taurus_Value = taurus_Value + 12
  105.         fixed = fixed + 12
  106.     CASE "Gemini"
  107.         air = air + 12
  108.         gemini_Value = gemini_Value + 12
  109.         mutable = mutable + 12
  110.     CASE "Cancer"
  111.         water = water + 12
  112.         cancer_Value = cancer_Value + 12
  113.         cardinals = cardinals + 12
  114.     CASE "Leo"
  115.         fire = fire + 12
  116.         leo_Value = leo_Value + 12
  117.         fixed = fixed + 12
  118.     CASE "Virgo"
  119.         earth = earth + 12
  120.         virgo_Value = virgo_Value + 12
  121.         mutable = mutable + 12
  122.     CASE "Libra"
  123.         air = air + 12
  124.         libra_Value = libra_Value + 12
  125.         cardinals = cardinals + 12
  126.     CASE "Scorpio"
  127.         water = water + 12
  128.         scorpio_Value = scorpio_Value + 12
  129.         fixed = fixed + 12
  130.     CASE "Sagittarius"
  131.         fire = fire + 12
  132.         sagittarius_Value = sagittarius_Value + 12
  133.         mutable = mutable + 12
  134.     CASE "Capricorn"
  135.         earth = earth + 12
  136.         capricorn_Value = capricorn_Value + 12
  137.         cardinals = cardinals + 12
  138.     CASE "Aquarius"
  139.         air = air + 12
  140.         Aquarius_Value = Aquarius_Value + 12
  141.         fixed = fixed + 12
  142.     CASE "Pisces"
  143.         water = water + 12
  144.         pisces_Value = pisces_Value + 12
  145.         mutable = mutable + 12
  146.  
  147. SELECT CASE ascendent$
  148.     CASE "Aries"
  149.         fire = fire + 12
  150.         aries_Value = aries_Value + 12
  151.         cardinals = cardinals + 12
  152.         IF mars_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  153.         IF mars_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  154.         IF mars_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  155.         IF mars_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  156.         IF mars_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  157.         IF mars_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  158.         IF mars_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  159.         IF mars_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  160.         IF mars_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  161.         IF mars_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  162.         IF mars_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  163.         IF mars_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  164.     CASE "Taurus"
  165.         earth = earth + 12
  166.         taurus_Value = taurus_Value + 12
  167.         fixed = fixed + 12
  168.         IF chiron_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  169.         IF chiron_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  170.         IF chiron_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  171.         IF chiron_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  172.         IF chiron_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  173.         IF chiron_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  174.         IF chiron_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  175.         IF chiron_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  176.         IF chiron_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  177.         IF chiron_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  178.         IF chiron_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  179.         IF chiron_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  180.     CASE "Gemini"
  181.         air = air + 12
  182.         gemini_Value = gemini_Value + 12
  183.         mutable = mutable + 12
  184.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  185.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  186.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  187.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  188.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  189.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  190.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  191.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  192.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  193.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  194.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  195.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  196.     CASE "Cancer"
  197.         water = water + 12
  198.         cancer_Value = cancer_Value + 12
  199.         cardinals = cardinals + 12
  200.         IF moon_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  201.         IF moon_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  202.         IF moon_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  203.         IF moon_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  204.         IF moon_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  205.         IF moon_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  206.         IF moon_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  207.         IF moon_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  208.         IF moon_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  209.         IF moon_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  210.         IF moon_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  211.         IF moon_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  212.     CASE "Leo"
  213.         fire = fire + 12
  214.         leo_Value = leo_Value + 12
  215.         fixed = fixed + 12
  216.         IF sun_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  217.         IF sun_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  218.         IF sun_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  219.         IF sun_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  220.         IF sun_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  221.         IF sun_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  222.         IF sun_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  223.         IF sun_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  224.         IF sun_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  225.         IF sun_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  226.         IF sun_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  227.         IF sun_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  228.     CASE "Virgo"
  229.         earth = earth + 12
  230.         virgo_Value = virgo_Value + 12
  231.         mutable = mutable + 12
  232.         IF mercury_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  233.         IF mercury_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  234.         IF mercury_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  235.         IF mercury_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  236.         IF mercury_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  237.         IF mercury_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  238.         IF mercury_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  239.         IF mercury_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  240.         IF mercury_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  241.         IF mercury_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  242.         IF mercury_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  243.         IF mercury_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  244.     CASE "Libra"
  245.         air = air + 12
  246.         libra_Value = libra_Value + 12
  247.         cardinals = cardinals + 12
  248.         IF venus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  249.         IF venus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  250.         IF venus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  251.         IF venus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  252.         IF venus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  253.         IF venus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  254.         IF venus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  255.         IF venus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  256.         IF venus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  257.         IF venus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  258.         IF venus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  259.         IF venus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  260.     CASE "Scorpio"
  261.         water = water + 12
  262.         scorpio_Value = scorpio_Value + 12
  263.         fixed = fixed + 12
  264.         IF pluto_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  265.         IF pluto_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  266.         IF pluto_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  267.         IF pluto_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  268.         IF pluto_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  269.         IF pluto_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  270.         IF pluto_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  271.         IF pluto_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  272.         IF pluto_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  273.         IF pluto_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  274.         IF pluto_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  275.         IF pluto_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  276.     CASE "Sagittarius"
  277.         fire = fire + 12
  278.         sagittarius_Value = sagittarius_Value + 12
  279.         mutable = mutable + 12
  280.         IF jupiter_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  281.         IF jupiter_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  282.         IF jupiter_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  283.         IF jupiter_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  284.         IF jupiter_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  285.         IF jupiter_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  286.         IF jupiter_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  287.         IF jupiter_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  288.         IF jupiter_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  289.         IF jupiter_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  290.         IF jupiter_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  291.         IF jupiter_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  292.     CASE "Capricorn"
  293.         earth = earth + 12
  294.         capricorn_Value = capricorn_Value + 12
  295.         cardinals = cardinals + 12
  296.         IF saturn_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  297.         IF saturn_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  298.         IF saturn_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  299.         IF saturn_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  300.         IF saturn_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  301.         IF saturn_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  302.         IF saturn_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  303.         IF saturn_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  304.         IF saturn_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  305.         IF saturn_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  306.         IF saturn_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  307.         IF saturn_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  308.     CASE "Aquarius"
  309.         air = air + 12
  310.         Aquarius_Value = Aquarius_Value + 12
  311.         fixed = fixed + 12
  312.         IF uranus_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  313.         IF uranus_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  314.         IF uranus_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  315.         IF uranus_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  316.         IF uranus_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  317.         IF uranus_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  318.         IF uranus_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  319.         IF uranus_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  320.         IF uranus_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  321.         IF uranus_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  322.         IF uranus_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  323.         IF uranus_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  324.     CASE "Pisces"
  325.         water = water + 12
  326.         pisces_Value = pisces_Value + 12
  327.         mutable = mutable + 12
  328.         IF neptunee_House = 1 THEN fire = fire + 6: aries_Value = aries_Value + 6
  329.         IF neptunee_House = 2 THEN earth = earth + 6: taurus_Value = taurus_Value + 6
  330.         IF neptunee_House = 3 THEN air = air + 6: gemini_Value = gemini_Value + 6
  331.         IF neptunee_House = 4 THEN water = water + 6: cancer_Value = cancer_Value + 6
  332.         IF neptunee_House = 5 THEN fire = fire + 6: leo_Value = leo_Value + 6
  333.         IF neptunee_House = 6 THEN earth = earth + 6: virgo_Value = virgo_Value + 6
  334.         IF neptunee_House = 7 THEN air = air + 6: libra_Value = libra_Value + 6
  335.         IF neptunee_House = 8 THEN water = water + 6: scorpio_Value = scorpio_Value + 6
  336.         IF neptunee_House = 9 THEN fire = fire + 6: sagittarius_Value = sagittarius_Value + 6
  337.         IF neptunee_House = 10 THEN earth = earth + 6: capricorn_Value = capricorn_Value + 6
  338.         IF neptunee_House = 11 THEN air = air + 6: Aquarius_Value = Aquarius_Value + 6
  339.         IF neptunee_House = 12 THEN water = water + 6: pisces_Value = pisces_Value + 6
  340.  
  341. SELECT CASE mercury$
  342.     CASE "Aries"
  343.         fire = fire + 6
  344.         aries_Value = aries_Value + 6
  345.         cardinals = cardinals + 6
  346.     CASE "Taurus"
  347.         earth = earth + 6
  348.         taurus_Value = taurus_Value + 6
  349.         fixed = fixed + 6
  350.     CASE "Gemini"
  351.         air = air + 6
  352.         gemini_Value = gemini_Value + 6
  353.         mutable = mutable + 6
  354.     CASE "Cancer"
  355.         water = water + 6
  356.         cancer_Value = cancer_Value + 6
  357.         cardinals = cardinals + 6
  358.     CASE "Leo"
  359.         fire = fire + 6
  360.         leo_Value = leo_Value + 6
  361.         fixed = fixed + 6
  362.     CASE "Virgo"
  363.         earth = earth + 6
  364.         virgo_Value = virgo_Value + 6
  365.         mutable = mutable + 6
  366.     CASE "Libra"
  367.         air = air + 6
  368.         libra_Value = libra_Value + 6
  369.         cardinals = cardinals + 6
  370.     CASE "Scorpio"
  371.         water = water + 6
  372.         scorpio_Value = scorpio_Value + 6
  373.         fixed = fixed + 6
  374.     CASE "Sagittarius"
  375.         fire = fire + 6
  376.         sagittarius_Value = sagittarius_Value + 6
  377.         mutable = mutable + 6
  378.     CASE "Capricorn"
  379.         earth = earth + 6
  380.         capricorn_Value = capricorn_Value + 6
  381.         cardinals = cardinals + 6
  382.     CASE "Aquarius"
  383.         air = air + 6
  384.         Aquarius_Value = Aquarius_Value + 6
  385.         fixed = fixed + 6
  386.     CASE "Pisces"
  387.         water = water + 6
  388.         pisces_Value = pisces_Value + 6
  389.         mutable = mutable + 6
  390.  
  391. SELECT CASE Venus$
  392.     CASE "Aries"
  393.         fire = fire + 6
  394.         aries_Value = aries_Value + 6
  395.         cardinals = cardinals + 6
  396.     CASE "Taurus"
  397.         earth = earth + 6
  398.         taurus_Value = taurus_Value + 6
  399.         fixed = fixed + 6
  400.     CASE "Gemini"
  401.         air = air + 6
  402.         gemini_Value = gemini_Value + 6
  403.         mutable = mutable + 6
  404.     CASE "Cancer"
  405.         water = water + 6
  406.         cancer_Value = cancer_Value + 6
  407.         cardinals = cardinals + 6
  408.     CASE "Leo"
  409.         fire = fire + 6
  410.         leo_Value = leo_Value + 6
  411.         fixed = fixed + 6
  412.     CASE "Virgo"
  413.         earth = earth + 6
  414.         virgo_Value = virgo_Value + 6
  415.         mutable = mutable + 6
  416.     CASE "Libra"
  417.         air = air + 6
  418.         libra_Value = libra_Value + 6
  419.         cardinals = cardinals + 6
  420.     CASE "Scorpio"
  421.         water = water + 6
  422.         scorpio_Value = scorpio_Value + 6
  423.         fixed = fixed + 5
  424.     CASE "Sagittarius"
  425.         fire = fire + 6
  426.         sagittarius_Value = sagittarius_Value + 6
  427.         mutable = mutable + 6
  428.     CASE "Capricorn"
  429.         earth = earth + 6
  430.         capricorn_Value = capricorn_Value + 6
  431.         cardinals = cardinals + 6
  432.     CASE "Aquarius"
  433.         air = air + 6
  434.         Aquarius_Value = Aquarius_Value + 6
  435.         fixed = fixed + 6
  436.     CASE "Pisces"
  437.         water = water + 6
  438.         pisces_Value = pisces_Value + 6
  439.         mutable = mutable + 6
  440.  
  441. SELECT CASE Mars$
  442.     CASE "Aries"
  443.         fire = fire + 6
  444.         aries_Value = aries_Value + 6
  445.         cardinals = cardinals + 6
  446.     CASE "Taurus"
  447.         earth = earth + 6
  448.         taurus_Value = taurus_Value + 6
  449.         fixed = fixed + 6
  450.     CASE "Gemini"
  451.         air = air + 6
  452.         gemini_Value = gemini_Value + 6
  453.         mutable = mutable + 6
  454.     CASE "Cancer"
  455.         water = water + 6
  456.         cancer_Value = cancer_Value + 6
  457.         cardinals = cardinals + 6
  458.     CASE "Leo"
  459.         fire = fire + 6
  460.         leo_Value = leo_Value + 6
  461.         fixed = fixed + 6
  462.     CASE "Virgo"
  463.         earth = earth + 6
  464.         virgo_Value = virgo_Value + 6
  465.         mutable = mutable + 6
  466.     CASE "Libra"
  467.         air = air + 6
  468.         libra_Value = libra_Value + 6
  469.         cardinals = cardinals + 6
  470.     CASE "Scorpio"
  471.         water = water + 6
  472.         scorpio_Value = scorpio_Value + 6
  473.         fixed = fixed + 6
  474.     CASE "Sagittarius"
  475.         fire = fire + 6
  476.         sagittarius_Value = sagittarius_Value + 6
  477.         mutable = mutable + 6
  478.     CASE "Capricorn"
  479.         earth = earth + 6
  480.         capricorn_Value = capricorn_Value + 6
  481.         cardinals = cardinals + 6
  482.     CASE "Aquarius"
  483.         air = air + 6
  484.         Aquarius_Value = Aquarius_Value + 6
  485.         fixed = fixed + 6
  486.     CASE "Pisces"
  487.         water = water + 6
  488.         pisces_Value = pisces_Value + 6
  489.         mutable = mutable + 6
  490.  
  491. SELECT CASE Jupiter$
  492.     CASE "Aries"
  493.         fire = fire + 5
  494.         aries_Value = aries_Value + 5
  495.         cardinals = cardinals + 5
  496.     CASE "Taurus"
  497.         earth = earth + 5
  498.         taurus_Value = taurus_Value + 5
  499.         fixed = fixed + 5
  500.     CASE "Gemini"
  501.         air = air + 5
  502.         gemini_Value = gemini_Value + 5
  503.         mutable = mutable + 5
  504.     CASE "Cancer"
  505.         water = water + 5
  506.         cancer_Value = cancer_Value + 5
  507.         cardinals = cardinals + 5
  508.     CASE "Leo"
  509.         fire = fire + 5
  510.         leo_Value = leo_Value + 5
  511.         fixed = fixed + 5
  512.     CASE "Virgo"
  513.         earth = earth + 5
  514.         virgo_Value = virgo_Value + 5
  515.         mutable = mutable + 5
  516.     CASE "Libra"
  517.         air = air + 5
  518.         libra_Value = libra_Value + 5
  519.         cardinals = cardinals + 5
  520.     CASE "Scorpio"
  521.         water = water + 5
  522.         scorpio_Value = scorpio_Value + 5
  523.         fixed = fixed + 5
  524.     CASE "Sagittarius"
  525.         fire = fire + 5
  526.         sagittarius_Value = sagittarius_Value + 5
  527.         mutable = mutable + 5
  528.     CASE "Capricorn"
  529.         earth = earth + 5
  530.         capricorn_Value = capricorn_Value + 5
  531.         cardinals = cardinals + 5
  532.     CASE "Aquarius"
  533.         air = air + 5
  534.         Aquarius_Value = Aquarius_Value + 5
  535.         fixed = fixed + 5
  536.     CASE "Pisces"
  537.         water = water + 5
  538.         pisces_Value = pisces_Value + 5
  539.         mutable = mutable + 5
  540.  
  541. SELECT CASE Saturn$
  542.     CASE "Aries"
  543.         fire = fire + 5
  544.         aries_Value = aries_Value + 5
  545.         cardinals = cardinals + 5
  546.     CASE "Taurus"
  547.         earth = earth + 5
  548.         taurus_Value = taurus_Value + 5
  549.         fixed = fixed + 5
  550.     CASE "Gemini"
  551.         air = air + 5
  552.         gemini_Value = gemini_Value + 5
  553.         mutable = mutable + 5
  554.     CASE "Cancer"
  555.         water = water + 5
  556.         cancer_Value = cancer_Value + 5
  557.         cardinals = cardinals + 5
  558.     CASE "Leo"
  559.         fire = fire + 5
  560.         leo_Value = leo_Value + 5
  561.         fixed = fixed + 5
  562.     CASE "Virgo"
  563.         earth = earth + 5
  564.         virgo_Value = virgo_Value + 5
  565.         mutable = mutable + 5
  566.     CASE "Libra"
  567.         air = air + 5
  568.         libra_Value = libra_Value + 5
  569.         cardinals = cardinals + 5
  570.     CASE "Scorpio"
  571.         water = water + 5
  572.         scorpio_Value = scorpio_Value + 5
  573.         fixed = fixed + 5
  574.     CASE "Sagittarius"
  575.         fire = fire + 5
  576.         sagittarius_Value = sagittarius_Value + 5
  577.         mutable = mutable + 5
  578.     CASE "Capricorn"
  579.         earth = earth + 5
  580.         capricorn_Value = capricorn_Value + 5
  581.         cardinals = cardinals + 5
  582.     CASE "Aquarius"
  583.         air = air + 5
  584.         Aquarius_Value = Aquarius_Value + 5
  585.         fixed = fixed + 5
  586.     CASE "Pisces"
  587.         water = water + 5
  588.         pisces_Value = pisces_Value + 5
  589.         mutable = mutable + 5
  590.  
  591.     CASE "Aries"
  592.         fire = fire + 5
  593.         aries_Value = aries_Value + 5
  594.         cardinals = cardinals + 5
  595.     CASE "Taurus"
  596.         earth = earth + 5
  597.         taurus_Value = taurus_Value + 5
  598.         fixed = fixed + 5
  599.     CASE "Gemini"
  600.         air = air + 5
  601.         gemini_Value = gemini_Value + 5
  602.         mutable = mutable + 5
  603.     CASE "Cancer"
  604.         water = water + 5
  605.         cancer_Value = cancer_Value + 5
  606.         cardinals = cardinals + 5
  607.     CASE "Leo"
  608.         fire = fire + 5
  609.         leo_Value = leo_Value + 5
  610.         fixed = fixed + 5
  611.     CASE "Virgo"
  612.         earth = earth + 5
  613.         virgo_Value = virgo_Value + 5
  614.         mutable = mutable + 5
  615.     CASE "Libra"
  616.         air = air + 5
  617.         libra_Value = libra_Value + 5
  618.         cardinals = cardinals + 5
  619.     CASE "Scorpio"
  620.         water = water + 5
  621.         scorpio_Value = scorpio_Value + 5
  622.         fixed = fixed + 5
  623.     CASE "Sagittarius"
  624.         fire = fire + 5
  625.         sagittarius_Value = sagittarius_Value + 5
  626.         mutable = mutable + 5
  627.     CASE "Capricorn"
  628.         earth = earth + 5
  629.         capricorn_Value = capricorn_Value + 5
  630.         cardinals = cardinals + 5
  631.     CASE "Aquarius"
  632.         air = air + 5
  633.         Aquarius_Value = Aquarius_Value + 5
  634.         fixed = fixed + 5
  635.     CASE "Pisces"
  636.         water = water + 5
  637.         pisces_Value = pisces_Value + 5
  638.         mutable = mutable + 5
  639.  
  640. SELECT CASE Chiron$
  641.     CASE "Aries"
  642.         fire = fire + 2
  643.         aries_Value = aries_Value + 2
  644.         cardinals = cardinals + 2
  645.     CASE "Taurus"
  646.         earth = earth + 2
  647.         taurus_Value = taurus_Value + 2
  648.         fixed = fixed + 2
  649.     CASE "Gemini"
  650.         air = air + 2
  651.         gemini_Value = gemini_Value + 2
  652.         mutable = mutable + 2
  653.     CASE "Cancer"
  654.         water = water + 2
  655.         cancer_Value = cancer_Value + 2
  656.         cardinals = cardinals + 2
  657.     CASE "Leo"
  658.         fire = fire + 2
  659.         leo_Value = leo_Value + 2
  660.         fixed = fixed + 2
  661.     CASE "Virgo"
  662.         earth = earth + 2
  663.         virgo_Value = virgo_Value + 2
  664.         mutable = mutable + 2
  665.     CASE "Libra"
  666.         air = air + 2
  667.         libra_Value = libra_Value + 2
  668.         cardinals = cardinals + 2
  669.     CASE "Scorpio"
  670.         water = water + 2
  671.         scorpio_Value = scorpio_Value + 2
  672.         fixed = fixed + 2
  673.     CASE "Sagittarius"
  674.         fire = fire + 2
  675.         sagittarius_Value = sagittarius_Value + 2
  676.         mutable = mutable + 2
  677.     CASE "Capricorn"
  678.         earth = earth + 2
  679.         capricorn_Value = capricorn_Value + 2
  680.         cardinals = cardinals + 2
  681.     CASE "Aquarius"
  682.         air = air + 2
  683.         Aquarius_Value = Aquarius_Value + 2
  684.         fixed = fixed + 2
  685.     CASE "Pisces"
  686.         water = water + 2
  687.         pisces_Value = pisces_Value + 2
  688.         mutable = mutable + 2
  689.  
  690. SELECT CASE Uranus$
  691.     CASE "Aries"
  692.         fire = fire + 2
  693.         aries_Value = aries_Value + 2
  694.         cardinals = cardinals + 2
  695.     CASE "Taurus"
  696.         earth = earth + 2
  697.         taurus_Value = taurus_Value + 2
  698.         fixed = fixed + 2
  699.     CASE "Gemini"
  700.         air = air + 2
  701.         gemini_Value = gemini_Value + 2
  702.         mutable = mutable + 2
  703.     CASE "Cancer"
  704.         water = water + 2
  705.         cancer_Value = cancer_Value + 2
  706.         cardinals = cardinals + 2
  707.     CASE "Leo"
  708.         fire = fire + 2
  709.         leo_Value = leo_Value + 2
  710.         fixed = fixed + 2
  711.     CASE "Virgo"
  712.         earth = earth + 2
  713.         virgo_Value = virgo_Value + 2
  714.         mutable = mutable + 2
  715.     CASE "Libra"
  716.         air = air + 2
  717.         libra_Value = libra_Value + 2
  718.         cardinals = cardinals + 2
  719.     CASE "Scorpio"
  720.         water = water + 2
  721.         scorpio_Value = scorpio_Value + 2
  722.         fixed = fixed + 2
  723.     CASE "Sagittarius"
  724.         fire = fire + 2
  725.         sagittarius_Value = sagittarius_Value + 2
  726.         mutable = mutable + 2
  727.     CASE "Capricorn"
  728.         earth = earth + 2
  729.         capricorn_Value = capricorn_Value + 2
  730.         cardinals = cardinals + 2
  731.     CASE "Aquarius"
  732.         air = air + 2
  733.         Aquarius_Value = Aquarius_Value + 2
  734.         fixed = fixed + 2
  735.     CASE "Pisces"
  736.         water = water + 2
  737.         pisces_Value = pisces_Value + 2
  738.         mutable = mutable + 2
  739.  
  740. SELECT CASE neptune$
  741.     CASE "Aries"
  742.         fire = fire + 2
  743.         aries_Value = aries_Value + 2
  744.         cardinals = cardinals + 2
  745.     CASE "Taurus"
  746.         earth = earth + 2
  747.         taurus_Value = taurus_Value + 2
  748.         fixed = fixed + 2
  749.     CASE "Gemini"
  750.         air = air + 2
  751.         gemini_Value = gemini_Value + 2
  752.         mutable = mutable + 2
  753.     CASE "Cancer"
  754.         water = water + 2
  755.         cancer_Value = cancer_Value + 2
  756.         cardinals = cardinals + 2
  757.     CASE "Leo"
  758.         fire = fire + 2
  759.         leo_Value = leo_Value + 2
  760.         fixed = fixed + 2
  761.     CASE "Virgo"
  762.         earth = earth + 2
  763.         virgo_Value = virgo_Value + 2
  764.         mutable = mutable + 2
  765.     CASE "Libra"
  766.         air = air + 2
  767.         libra_Value = libra_Value + 2
  768.         cardinals = cardinals + 2
  769.     CASE "Scorpio"
  770.         water = water + 2
  771.         scorpio_Value = scorpio_Value + 2
  772.         fixed = fixed + 2
  773.     CASE "Sagittarius"
  774.         fire = fire + 2
  775.         sagittarius_Value = sagittarius_Value + 2
  776.         mutable = mutable + 2
  777.     CASE "Capricorn"
  778.         earth = earth + 2
  779.         capricorn_Value = capricorn_Value + 2
  780.         cardinals = cardinals + 2
  781.     CASE "Aquarius"
  782.         air = air + 2
  783.         Aquarius_Value = Aquarius_Value + 2
  784.         fixed = fixed + 2
  785.     CASE "Pisces"
  786.         water = water + 2
  787.         pisces_Value = pisces_Value + 2
  788.         mutable = mutable + 2
  789.  
  790. SELECT CASE Pluto$
  791.     CASE "Aries"
  792.         fire = fire + 2
  793.         aries_Value = aries_Value + 2
  794.         cardinals = cardinals + 2
  795.     CASE "Taurus"
  796.         earth = earth + 2
  797.         taurus_Value = taurus_Value + 2
  798.         fixed = fixed + 2
  799.     CASE "Gemini"
  800.         air = air + 2
  801.         gemini_Value = gemini_Value + 2
  802.         mutable = mutable + 2
  803.     CASE "Cancer"
  804.         water = water + 2
  805.         cancer_Value = cancer_Value + 2
  806.         cardinals = cardinals + 2
  807.     CASE "Leo"
  808.         fire = fire + 2
  809.         leo_Value = leo_Value + 2
  810.         fixed = fixed + 2
  811.     CASE "Virgo"
  812.         earth = earth + 2
  813.         virgo_Value = virgo_Value + 2
  814.         mutable = mutable + 2
  815.     CASE "Libra"
  816.         air = air + 2
  817.         libra_Value = libra_Value + 2
  818.         cardinals = cardinals + 2
  819.     CASE "Scorpio"
  820.         water = water + 2
  821.         scorpio_Value = scorpio_Value + 2
  822.         fixed = fixed + 2
  823.     CASE "Sagittarius"
  824.         fire = fire + 2
  825.         sagittarius_Value = sagittarius_Value + 2
  826.         mutable = mutable + 2
  827.     CASE "Capricorn"
  828.         earth = earth + 2
  829.         capricorn_Value = capricorn_Value + 2
  830.         cardinals = cardinals + 2
  831.     CASE "Aquarius"
  832.         air = air + 2
  833.         Aquarius_Value = Aquarius_Value + 2
  834.         fixed = fixed + 2
  835.     CASE "Pisces"
  836.         water = water + 2
  837.         pisces_Value = pisces_Value + 2
  838.         mutable = mutable + 2
  839.  
  840. SELECT CASE moon_Node$
  841.     CASE "Aries"
  842.         fire = fire + 2
  843.         aries_Value = aries_Value + 2
  844.         cardinals = cardinals + 2
  845.     CASE "Taurus"
  846.         earth = earth + 2
  847.         taurus_Value = taurus_Value + 2
  848.         fixed = fixed + 2
  849.     CASE "Gemini"
  850.         air = air + 2
  851.         gemini_Value = gemini_Value + 2
  852.         mutable = mutable + 2
  853.     CASE "Cancer"
  854.         water = water + 2
  855.         cancer_Value = cancer_Value + 2
  856.         cardinals = cardinals + 2
  857.     CASE "Leo"
  858.         fire = fire + 2
  859.         leo_Value = leo_Value + 2
  860.         fixed = fixed + 2
  861.     CASE "Virgo"
  862.         earth = earth + 2
  863.         virgo_Value = virgo_Value + 2
  864.         mutable = mutable + 2
  865.     CASE "Libra"
  866.         air = air + 2
  867.         libra_Value = libra_Value + 2
  868.         cardinals = cardinals + 2
  869.     CASE "Scorpio"
  870.         water = water + 2
  871.         scorpio_Value = scorpio_Value + 2
  872.         fixed = fixed + 2
  873.     CASE "Sagittarius"
  874.         fire = fire + 2
  875.         sagittarius_Value = sagittarius_Value + 2
  876.         mutable = mutable + 2
  877.     CASE "Capricorn"
  878.         earth = earth + 2
  879.         capricorn_Value = capricorn_Value + 2
  880.         cardinals = cardinals + 2
  881.     CASE "Aquarius"
  882.         air = air + 2
  883.         Aquarius_Value = Aquarius_Value + 2
  884.         fixed = fixed + 2
  885.     CASE "Pisces"
  886.         water = water + 2
  887.         pisces_Value = pisces_Value + 2
  888.         mutable = mutable + 2
  889.  
  890. SELECT CASE Lilith$
  891.     CASE "Aries"
  892.         fire = fire + 1
  893.         aries_Value = aries_Value + 1
  894.         cardinals = cardinals + 1
  895.     CASE "Taurus"
  896.         earth = earth + 1
  897.         taurus_Value = taurus_Value + 1
  898.         fixed = fixed + 1
  899.     CASE "Gemini"
  900.         air = air + 1
  901.         gemini_Value = gemini_Value + 1
  902.         mutable = mutable + 1
  903.     CASE "Cancer"
  904.         water = water + 1
  905.         cancer_Value = cancer_Value + 1
  906.         cardinals = cardinals + 1
  907.     CASE "Leo"
  908.         fire = fire + 1
  909.         leo_Value = leo_Value + 1
  910.         fixed = fixed + 1
  911.     CASE "Virgo"
  912.         earth = earth + 1
  913.         virgo_Value = virgo_Value + 1
  914.         mutable = mutable + 1
  915.     CASE "Libra"
  916.         air = air + 1
  917.         libra_Value = libra_Value + 1
  918.         cardinals = cardinals + 1
  919.     CASE "Scorpio"
  920.         water = water + 1
  921.         scorpio_Value = scorpio_Value + 1
  922.         fixed = fixed + 1
  923.     CASE "Sagittarius"
  924.         fire = fire + 1
  925.         sagittarius_Value = sagittarius_Value + 1
  926.         mutable = mutable + 1
  927.     CASE "Capricorn"
  928.         earth = earth + 1
  929.         capricorn_Value = capricorn_Value + 1
  930.         cardinals = cardinals + 1
  931.     CASE "Aquarius"
  932.         air = air + 1
  933.         Aquarius_Value = Aquarius_Value + 1
  934.         fixed = fixed + 1
  935.     CASE "Pisces"
  936.         water = water + 1
  937.         pisces_Value = pisces_Value + 1
  938.         mutable = mutable + 1
  939.  
  940. elements = earth + fire + water + air
  941. Earth_Percentage = 100 / elements * earth
  942. Fire_Percentage# = 100 / elements * fire
  943. Water_Percentage# = 100 / elements * water
  944. Air_Percentage# = 100 / elements * air
  945.  
  946. Earth_percentage_Rounded# = INT(Earth_Percentage * 10 ^ 2 + .5): Earth_percentage_Rounded# = Earth_percentage_Rounded# / 100
  947. Fire_percentage_Rounded# = INT(Fire_Percentage# * 10 ^ 2 + .5): Fire_percentage_Rounded# = Fire_percentage_Rounded# / 100
  948. Water_percentage_Rounded# = INT(Water_Percentage# * 10 ^ 2 + .5): Water_percentage_Rounded# = Water_percentage_Rounded# / 100
  949. Air_percentage_Rounded# = INT(Air_Percentage# * 10 ^ 2 + .5): Air_percentage_Rounded# = Air_percentage_Rounded# / 100
  950.  
  951. qualities = cardinals + fixed + mutable
  952. cardinal_Percentage# = 100 / qualities * cardinals
  953. fixed_Percentage# = 100 / qualities * fixed
  954. mutable_Percentage# = 100 / qualities * mutable
  955.  
  956. cardinal_percentage_Rounded# = INT(cardinal_Percentage# * 10 ^ 2 + .5): cardinal_percentage_Rounded# = cardinal_percentage_Rounded# / 100
  957. fixed_percentage_Rounded# = INT(fixed_Percentage# * 10 ^ 2 + .5): fixed_percentage_Rounded# = fixed_percentage_Rounded# / 100
  958. mutable_percentage_Rounded# = INT(mutable_Percentage# * 10 ^ 2 + .5): mutable_percentage_Rounded# = mutable_percentage_Rounded# / 100
  959.  
  960. all_Signs = aries_Value + taurus_Value + gemini_Value + cancer_Value + leo_Value + virgo_Value + libra_Value + scorpio_Value + sagittarius_Value + capricorn_Value + Aquarius_Value + pisces_Value
  961. Aries_Percentage = 100 / all_Signs * aries_Value
  962. Taurus_Percentage = 100 / all_Signs * taurus_Value
  963. Gemini_Percentage = 100 / all_Signs * gemini_Value
  964. Cancer_Percentage = 100 / all_Signs * cancer_Value
  965. Leo_Percentage = 100 / all_Signs * leo_Value
  966. Virgo_Percentage = 100 / all_Signs * virgo_Value
  967. Libra_Percentage = 100 / all_Signs * libra_Value
  968. Scorpio_Percentage = 100 / all_Signs * scorpio_Value
  969. Sagittarius_Percentage = 100 / all_Signs * sagittarius_Value
  970. Capricorn_Percentage = 100 / all_Signs * capricorn_Value
  971. Aquarius_Percentage = 100 / all_Signs * Aquarius_Value
  972. Pisces_Percentage = 100 / all_Signs * pisces_Value
  973.  
  974. Aries_percentage_Rounded# = INT(Aries_Percentage * 10 ^ 2 + .5): Aries_percentage_Rounded# = Aries_percentage_Rounded# / 100
  975. Taurus_percentage_Rounded# = INT(Taurus_Percentage * 10 ^ 2 + .5): Taurus_percentage_Rounded# = Taurus_percentage_Rounded# / 100
  976. Gemini_percentage_Rounded# = INT(Gemini_Percentage * 10 ^ 2 + .5): Gemini_percentage_Rounded# = Gemini_percentage_Rounded# / 100
  977. Cancer_percentage_Rounded# = INT(Cancer_Percentage * 10 ^ 2 + .5): Cancer_percentage_Rounded# = Cancer_percentage_Rounded# / 100
  978. Leo_percentage_Rounded# = INT(Leo_Percentage * 10 ^ 2 + .5): Leo_percentage_Rounded# = Leo_percentage_Rounded# / 100
  979. Virgo_percentage_Rounded# = INT(Virgo_Percentage * 10 ^ 2 + .5): Virgo_percentage_Rounded# = Virgo_percentage_Rounded# / 100
  980. Libra_percentage_Rounded# = INT(Libra_Percentage * 10 ^ 2 + .5): Libra_percentage_Rounded# = Libra_percentage_Rounded# / 100
  981. Scorpio_percentage_Rounded# = INT(Scorpio_Percentage * 10 ^ 2 + .5): Scorpio_percentage_Rounded# = Scorpio_percentage_Rounded# / 100
  982. Sagittarius_percentage_Rounded# = INT(Sagittarius_Percentage * 10 ^ 2 + .5): Sagittarius_percentage_Rounded# = Sagittarius_percentage_Rounded# / 100
  983. Capricorn_percentage_Rounded# = INT(Capricorn_Percentage * 10 ^ 2 + .5): Capricorn_percentage_Rounded# = Capricorn_percentage_Rounded# / 100
  984. Aquarius_percentage_Rounded# = INT(Aquarius_Percentage * 10 ^ 2 + .5): Aquarius_percentage_Rounded# = Aquarius_percentage_Rounded# / 100
  985. Pisces_percentage_Rounded# = INT(Pisces_Percentage * 10 ^ 2 + .5): Pisces_percentage_Rounded# = Pisces_percentage_Rounded# / 100
  986.  
  987. all_Houses = house(1) + house(2) + house(3) + house(4) + house(5) + house(6) + house(7) + house(8) + house(9) + house(10) + house(11) + house(12)
  988. house1_Percentage = 100 / all_Houses * house(1)
  989. house2_Percentage = 100 / all_Houses * house(2)
  990. house3_Percentage = 100 / all_Houses * house(3)
  991. house4_Percentage = 100 / all_Houses * house(4)
  992. house5_Percentage = 100 / all_Houses * house(5)
  993. house6_Percentage = 100 / all_Houses * house(6)
  994. house7_Percentage = 100 / all_Houses * house(7)
  995. house8_Percentage = 100 / all_Houses * house(8)
  996. house9_Percentage = 100 / all_Houses * house(9)
  997. house10_Percentage = 100 / all_Houses * house(10)
  998. house11_Percentage = 100 / all_Houses * house(11)
  999. house12_Percentage = 100 / all_Houses * house(12)
  1000.  
  1001. house1_percentage_Rounded# = INT(house1_Percentage * 10 ^ 2 + .5): house1_percentage_Rounded# = house1_percentage_Rounded# / 100
  1002. house2_percentage_Rounded# = INT(house2_Percentage * 10 ^ 2 + .5): house2_percentage_Rounded# = house2_percentage_Rounded# / 100
  1003. house3_percentage_Rounded# = INT(house3_Percentage * 10 ^ 2 + .5): house3_percentage_Rounded# = house3_percentage_Rounded# / 100
  1004. house4_percentage_Rounded# = INT(house4_Percentage * 10 ^ 2 + .5): house4_percentage_Rounded# = house4_percentage_Rounded# / 100
  1005. house5_percentage_Rounded# = INT(house5_Percentage * 10 ^ 2 + .5): house5_percentage_Rounded# = house5_percentage_Rounded# / 100
  1006. house6_percentage_Rounded# = INT(house6_Percentage * 10 ^ 2 + .5): house6_percentage_Rounded# = house6_percentage_Rounded# / 100
  1007. house7_percentage_Rounded# = INT(house7_Percentage * 10 ^ 2 + .5): house7_percentage_Rounded# = house7_percentage_Rounded# / 100
  1008. house8_percentage_Rounded# = INT(house8_Percentage * 10 ^ 2 + .5): house8_percentage_Rounded# = house8_percentage_Rounded# / 100
  1009. house9_percentage_Rounded# = INT(house9_Percentage * 10 ^ 2 + .5): house9_percentage_Rounded# = house9_percentage_Rounded# / 100
  1010. house10_percentage_Rounded# = INT(house10_Percentage * 10 ^ 2 + .5): house10_percentage_Rounded# = house10_percentage_Rounded# / 100
  1011. house11_percentage_Rounded# = INT(house11_Percentage * 10 ^ 2 + .5): house11_percentage_Rounded# = house11_percentage_Rounded# / 100
  1012. house12_percentage_Rounded# = INT(house12_Percentage * 10 ^ 2 + .5): house12_percentage_Rounded# = house12_percentage_Rounded# / 100
  1013.  
  1014. largest = 0
  1015. IF aries_Value > largest THEN largest = aries_Value: dom_Sign$ = "Aries"
  1016. IF taurus_Value > largest THEN largest = taurus_Value: dom_Sign$ = "Taurus"
  1017. IF gemini_Value > largest THEN largest = gemini_Value: dom_Sign$ = "Gemini"
  1018. IF cancer_Value > largest THEN largest = cancer_Value: dom_Sign$ = "Cancer"
  1019. IF leo_Value > largest THEN largest = leo_Value: dom_Sign$ = "Leo"
  1020. IF virgo_Value > largest THEN largest = virgo_Value: dom_Sign$ = "Virgo"
  1021. IF libra_Value > largest THEN largest = libra_Value: dom_Sign$ = "Libra"
  1022. IF scorpio_Value > largest THEN largest = scorpio_Value: dom_Sign$ = "Scorpio"
  1023. IF sagittarius_Value > largest THEN largest = sagittarius_Value: dom_Sign$ = "Sagittarius"
  1024. IF capricorn_Value > largest THEN largest = capricorn_Value: dom_Sign$ = "Capricorn"
  1025. IF Aquarius_Value > largest THEN largest = Aquarius_Value: dom_Sign$ = "Aquarius"
  1026. IF pisces_Value > largest THEN largest = pisces_Value: dom_Sign$ = "Pisces"
  1027. signs_percentage = 100 / all_Signs * largest
  1028. signs_percentage_Rounded# = INT(signs_percentage * 10 ^ 2 + .5): signs_percentage_Rounded# = signs_percentage_Rounded# / 100
  1029.  
  1030. largesthouse = 0
  1031. IF house(1) > largesthouse THEN largesthouse = house(1): dom_House = 1
  1032. IF house(2) > largesthouse THEN largesthouse = house(2): dom_House = 2
  1033. IF house(3) > largesthouse THEN largesthouse = house(3): dom_House = 3
  1034. IF house(4) > largesthouse THEN largesthouse = house(4): dom_House = 4
  1035. IF house(5) > largesthouse THEN largesthouse = house(5): dom_House = 5
  1036. IF house(6) > largesthouse THEN largesthouse = house(6): dom_House = 6
  1037. IF house(7) > largesthouse THEN largesthouse = house(7): dom_House = 7
  1038. IF house(8) > largesthouse THEN largesthouse = house(8): dom_House = 8
  1039. IF house(9) > largesthouse THEN largesthouse = house(9): dom_House = 9
  1040. IF house(10) > largesthouse THEN largesthouse = house(10): dom_House = 10
  1041. IF house(11) > largesthouse THEN largesthouse = house(11): dom_House = 11
  1042. IF house(12) > largesthouse THEN largesthouse = house(12): dom_House = 12
  1043. largesthouse_percentage = 100 / all_Houses * largesthouse
  1044. largesthouse_percentage_Rounded# = INT(largesthouse_percentage * 10 ^ 2 + .5): largesthouse_percentage_Rounded# = largesthouse_percentage_Rounded# / 100
  1045.  
  1046. Quad1 = house(1) + house(2) + house(3)
  1047. Quad2 = house(4) + house(5) + house(6)
  1048. Quad3 = house(7) + house(8) + house(9)
  1049. Quad4 = house(10) + house(11) + house(12)
  1050. all_Quads = Quad1 + Quad2 + Quad3 + Quad4
  1051.  
  1052. largedom_Quad = 0
  1053. IF Quad1 > largedom_Quad THEN largedom_Quad = Quad1: dom_Quad$ = "1st aka Fire or energy quadrant"
  1054. IF Quad2 > largedom_Quad THEN largedom_Quad = Quad2: dom_Quad$ = "2nd aka Water or emotional quadrant"
  1055. IF Quad3 > largedom_Quad THEN largedom_Quad = Quad3: dom_Quad$ = "3rd aka Air or intellectual quadrant"
  1056. IF Quad4 > largedom_Quad THEN largedom_Quad = Quad4: dom_Quad$ = "4th aka Earth or reality quadrant"
  1057. large_dom_Quad_percentage = 100 / all_Quads * largedom_Quad
  1058. large_dom_Quad_percentage_Rounded# = INT(large_dom_Quad_percentage * 10 ^ 2 + .5): large_dom_Quad_percentage_Rounded# = large_dom_Quad_percentage_Rounded# / 100
  1059.  
  1060. quad1_Percentage = 100 / all_Quads * Quad1
  1061. quad2_Percentage = 100 / all_Quads * Quad2
  1062. quad3_Percentage = 100 / all_Quads * Quad3
  1063. quad4_Percentage = 100 / all_Quads * Quad4
  1064.  
  1065. quad1_percentage_Rounded# = INT(quad1_Percentage * 10 ^ 2 + .5): quad1_percentage_Rounded# = quad1_percentage_Rounded# / 100
  1066. quad2_percentage_Rounded# = INT(quad2_Percentage * 10 ^ 2 + .5): quad2_percentage_Rounded# = quad2_percentage_Rounded# / 100
  1067. quad3_percentage_Rounded# = INT(quad3_Percentage * 10 ^ 2 + .5): quad3_percentage_Rounded# = quad3_percentage_Rounded# / 100
  1068. quad4_percentage_Rounded# = INT(quad4_Percentage * 10 ^ 2 + .5): quad4_percentage_Rounded# = quad4_percentage_Rounded# / 100
  1069.  
  1070. earth_String$ = "The sum of the earth signs in this birth chart is" + STR$(earth) + ". Thus, its owner is determined by the element of earth by" + STR$(Earth_percentage_Rounded#) + "%."
  1071. fire_String$ = "The sum of the fire signs in this birth chart is" + STR$(fire) + ". Thus, its owner is determined by the element of fire by" + STR$(Fire_percentage_Rounded#) + "%."
  1072. water_String$ = "The sum of the water signs in this birth chart is" + STR$(water) + ". Thus, its owner is determined by the element of water by" + STR$(Water_percentage_Rounded#) + "%."
  1073. air_String$ = "The sum of the air signs in this birth chart is" + STR$(air) + ". Thus, its owner is determined by the element of air by" + STR$(Air_percentage_Rounded#) + "%."
  1074.  
  1075. active_Signs = fire + earth
  1076. passive_Signs = water + air
  1077. polarity_Percentage = active_Signs + passive_Signs
  1078.  
  1079. active_Percentage = 100 / polarity_Percentage * active_Signs
  1080. passive_Percentage = 100 / polarity_Percentage * passive_Signs
  1081.  
  1082. active_percentage_Rounded# = INT(active_Percentage * 10 ^ 2 + .5): active_percentage_Rounded# = active_percentage_Rounded# / 100
  1083. passive_percentage_Rounded# = INT(passive_Percentage * 10 ^ 2 + .5): passive_percentage_Rounded# = passive_percentage_Rounded# / 100
  1084.  
  1085. active_String$ = "The sum of the active signs in this birth chart is" + STR$(active_Signs) + ". Thus, its owner is characterized by active polarities at" + STR$(active_percentage_Rounded#) + "%."
  1086. passive_String$ = "The sum of the passive signs in this birth chart is" + STR$(passive_Signs) + ". Thus, its owner is characterized by passive polarities at" + STR$(passive_percentage_Rounded#) + "%."
  1087.  
  1088. aries_String$ = "Strength of Aries:" + STR$(aries_Value) + " (" + STR$(Aries_percentage_Rounded#) + "%)"
  1089. taurus_String$ = "Strength of Taurus:" + STR$(taurus_Value) + " (" + STR$(Taurus_percentage_Rounded#) + "%)"
  1090. gemini_String$ = "Strength of Gemini:" + STR$(gemini_Value) + " (" + STR$(Gemini_percentage_Rounded#) + "%)"
  1091. cancer_String$ = "Strength of Cancer:" + STR$(cancer_Value) + " (" + STR$(Cancer_percentage_Rounded#) + "%)"
  1092. leo_String$ = "Strength of Leo:" + STR$(leo_Value) + " (" + STR$(Leo_percentage_Rounded#) + "%)"
  1093. virgo_String$ = "Strength of Virgo:" + STR$(virgo_Value) + " (" + STR$(Virgo_percentage_Rounded#) + "%)"
  1094. libra_String$ = "Strength of Libra:" + STR$(libra_Value) + " (" + STR$(Libra_percentage_Rounded#) + "%)"
  1095. scorpio_String$ = "Strength of Scorpio:" + STR$(scorpio_Value) + " (" + STR$(Scorpio_percentage_Rounded#) + "%)"
  1096. sagittarius_String$ = "Strength of Sagittarius:" + STR$(sagittarius_Value) + " (" + STR$(Sagittarius_percentage_Rounded#) + "%)"
  1097. capricorn_String$ = "Strength of Capricorn:" + STR$(capricorn_Value) + " (" + STR$(Capricorn_percentage_Rounded#) + "%)"
  1098. Aquarius_String$ = "Strength of Aquarius:" + STR$(Aquarius_Value) + " (" + STR$(Aquarius_percentage_Rounded#) + "%)"
  1099. pisces_String$ = "Strength of Pisces:" + STR$(pisces_Value) + " (" + STR$(Pisces_percentage_Rounded#) + "%)"
  1100.  
  1101. cardinal_String$ = "The sum of the cardinal signs in this birth chart is" + STR$(cardinals) + ". Thus, its owner is characterized by cardinal qualities at" + STR$(cardinal_percentage_Rounded#) + "%."
  1102. fixed_String$ = "The sum of the fixed signs in this birth chart is" + STR$(fixed) + ". Thus, its owner is characterized by fixed qualities at" + STR$(fixed_percentage_Rounded#) + "%."
  1103. mutable_String$ = "The sum of the mutable signs in this birth chart is" + STR$(mutable) + ". Thus, its owner is characterized by mutable qualities at" + STR$(mutable_percentage_Rounded#) + "%."
  1104.  
  1105. house1_String$ = "Strength of the 1st house: " + STR$(house(1)) + " (" + STR$(house1_percentage_Rounded#) + "%)"
  1106. house2_String$ = "Strength of the 2nd house: " + STR$(house(2)) + " (" + STR$(house2_percentage_Rounded#) + "%)"
  1107. house3_String$ = "Strength of the 3rd house: " + STR$(house(3)) + " (" + STR$(house3_percentage_Rounded#) + "%)"
  1108. house4_String$ = "Strength of the 4th house: " + STR$(house(4)) + " (" + STR$(house4_percentage_Rounded#) + "%)"
  1109. house5_String$ = "Strength of the 5th house: " + STR$(house(5)) + " (" + STR$(house5_percentage_Rounded#) + "%)"
  1110. house6_String$ = "Strength of the 6th house: " + STR$(house(6)) + " (" + STR$(house6_percentage_Rounded#) + "%)"
  1111. house7_String$ = "Strength of the 7th house: " + STR$(house(7)) + " (" + STR$(house7_percentage_Rounded#) + "%)"
  1112. house8_String$ = "Strength of the 8th house: " + STR$(house(8)) + " (" + STR$(house8_percentage_Rounded#) + "%)"
  1113. house9_String$ = "Strength of the 9th house: " + STR$(house(9)) + " (" + STR$(house9_percentage_Rounded#) + "%)"
  1114. house10_String$ = "Strength of the 10th house: " + STR$(house(10)) + " (" + STR$(house10_percentage_Rounded#) + "%)"
  1115. house11_String$ = "Strength of the 11th house: " + STR$(house(11)) + " (" + STR$(house11_percentage_Rounded#) + "%)"
  1116. house12_String$ = "Strength of the 12th house: " + STR$(house(12)) + " (" + STR$(house12_percentage_Rounded#) + "%)"
  1117.  
  1118. Quad1string$ = "Strength of the 1st quadrant: " + STR$(Quad1) + " (" + STR$(quad1_percentage_Rounded#) + "%)"
  1119. Quad2string$ = "Strength of the 2nd quadrant: " + STR$(Quad2) + " (" + STR$(quad2_percentage_Rounded#) + "%)"
  1120. Quad3string$ = "Strength of the 3rd quadrant: " + STR$(Quad3) + " (" + STR$(quad3_percentage_Rounded#) + "%)"
  1121. Quad4string$ = "Strength of the 4th quadrant: " + STR$(Quad4) + " (" + STR$(quad4_percentage_Rounded#) + "%)"
  1122.  
  1123. DECLARE SUB quicksort (min%, max%)
  1124. DECLARE SUB display ()
  1125. DIM SHARED elements_Table$(3), elements_table_Values(3)
  1126.  
  1127. elements_Table$(0) = earth_String$
  1128. elements_table_Values(0) = earth
  1129. elements_Table$(1) = fire_String$
  1130. elements_table_Values(1) = fire
  1131. elements_Table$(2) = water_String$
  1132. elements_table_Values(2) = water
  1133. elements_Table$(3) = air_String$
  1134. elements_table_Values(3) = air
  1135.  
  1136. DIM SHARED signs_Table$(11), signs_table_Values(11)
  1137.  
  1138. signs_Table$(0) = aries_String$
  1139. signs_table_Values(0) = aries_Value
  1140. signs_Table$(1) = taurus_String$
  1141. signs_table_Values(1) = taurus_Value
  1142. signs_Table$(2) = gemini_String$
  1143. signs_table_Values(2) = gemini_Value
  1144. signs_Table$(3) = cancer_String$
  1145. signs_table_Values(3) = cancer_Value
  1146. signs_Table$(4) = leo_String$
  1147. signs_table_Values(4) = leo_Value
  1148. signs_Table$(5) = virgo_String$
  1149. signs_table_Values(5) = virgo_Value
  1150. signs_Table$(6) = libra_String$
  1151. signs_table_Values(6) = libra_Value
  1152. signs_Table$(7) = scorpio_String$
  1153. signs_table_Values(7) = scorpio_Value
  1154. signs_Table$(8) = sagittarius_String$
  1155. signs_table_Values(8) = sagittarius_Value
  1156. signs_Table$(9) = capricorn_String$
  1157. signs_table_Values(9) = capricorn_Value
  1158. signs_Table$(10) = Aquarius_String$
  1159. signs_table_Values(10) = Aquarius_Value
  1160. signs_Table$(11) = pisces_String$
  1161. signs_table_Values(11) = pisces_Value
  1162.  
  1163. DIM SHARED qualities_Table$(2), qualities_table_Values(2)
  1164.  
  1165. qualities_Table$(0) = cardinal_String$
  1166. qualities_table_Values(0) = cardinals
  1167. qualities_Table$(1) = fixed_String$
  1168. qualities_table_Values(1) = fixed
  1169. qualities_Table$(2) = mutable_String$
  1170. qualities_table_Values(2) = mutable
  1171.  
  1172. DIM SHARED polarities_Table$(1), polarities_table_Values(1)
  1173.  
  1174. polarities_Table$(0) = active_String$
  1175. polarities_table_Value(0) = active_Signs
  1176. polarities_Table$(1) = passive_String$
  1177. polarities_table_Value(1) = passive_Signs
  1178.  
  1179. DIM SHARED houses_Table$(11), houses_table_Values(11)
  1180.  
  1181. houses_Table$(0) = house1_String$
  1182. houses_table_Values(0) = house(1)
  1183. houses_Table$(1) = house2_String$
  1184. houses_table_Values(1) = house(2)
  1185. houses_Table$(2) = house3_String$
  1186. houses_table_Values(2) = house(3)
  1187. houses_Table$(3) = house4_String$
  1188. houses_table_Values(3) = house(4)
  1189. houses_Table$(4) = house5_String$
  1190. houses_table_Values(4) = house(5)
  1191. houses_Table$(5) = house6_String$
  1192. houses_table_Values(5) = house(6)
  1193. houses_Table$(6) = house7_String$
  1194. houses_table_Values(6) = house(7)
  1195. houses_Table$(7) = house8_String$
  1196. houses_table_Values(7) = house(8)
  1197. houses_Table$(8) = house9_String$
  1198. houses_table_Values(8) = house(9)
  1199. houses_Table$(9) = house10_String$
  1200. houses_table_Values(9) = house(10)
  1201. houses_Table$(10) = house11_String$
  1202. houses_table_Values(10) = house(11)
  1203. houses_Table$(11) = house12_String$
  1204. houses_table_Values(11) = house(12)
  1205.  
  1206. DIM SHARED quadrants_Table$(3), quadrants_table_Values(3)
  1207.  
  1208. quadrants_Table$(0) = Quad1string$
  1209. quadrants_table_Values(0) = Quad1
  1210. quadrants_Table$(1) = Quad2string$
  1211. quadrants_table_Values(1) = Quad2
  1212. quadrants_Table$(2) = Quad3string$
  1213. quadrants_table_Values(2) = Quad3
  1214. quadrants_Table$(3) = Quad4string$
  1215. quadrants_table_Values(3) = Quad4
  1216.  
  1217. PRINT "Elements:"
  1218. quicksort 0, 3, elements_Table$(), elements_table_Values()
  1219. display elements_Table$(), elements_table_Values()
  1220. PRINT "Dominance of the signs:"
  1221. quicksort 0, 11, signs_Table$(), signs_table_Values()
  1222. display signs_Table$(), signs_table_Values()
  1223. PRINT "At a strength of"; largest; "("; signs_percentage_Rounded#; "% ), "; dom_Sign$; " is the dominant sign."
  1224. PRINT "Qualities:"
  1225. quicksort 0, 2, qualities_Table$(), qualities_table_Values()
  1226. display qualities_Table$(), qualities_table_Values()
  1227. PRINT "Polarities:"
  1228. quicksort 0, 1, polarities_Table$(), polarities_table_Values()
  1229. display polarities_Table$(), polarities_table_Values()
  1230. PRINT "Dominance of the houses:"
  1231. quicksort 0, 11, houses_Table$(), houses_table_Values()
  1232. display houses_Table$(), houses_table_Values()
  1233. PRINT "The dominant house in this birth chart is house no."; dom_House; "("; largesthouse_percentage_Rounded#; "% )."
  1234. PRINT "Dominance of the quadrants:"
  1235. quicksort 0, 3, quadrants_Table$(), quadrants_table_Values()
  1236. display quadrants_Table$(), quadrants_table_Values()
  1237. PRINT "The dominant quadrant is the "; dom_Quad$; " at "; large_dom_Quad_percentage_Rounded#; "%."
  1238. PRINT "For the dominant celestial body in this birth chart, enter its birth place and birth time at www.astro.com and then select the 'Color Oracle'."
  1239.  
  1240. SUB display (a$(), b())
  1241.     dummy = b(1) 'dummy line
  1242.     FOR i% = 0 TO UBOUND(a$)
  1243.         PRINT a$(i%)
  1244.     NEXT
  1245.  
  1246. SUB quicksort (min%, max%, a$(), b())
  1247.     IF min% < max% THEN
  1248.         p1% = min%
  1249.         p2% = max%
  1250.         mid = b((min% + max%) \ 2) '**
  1251.         DO UNTIL p1% > p2%
  1252.             DO WHILE b(p1%) > mid '**<<invert this unequality to sort ascending
  1253.                 p1% = p1% + 1
  1254.             LOOP
  1255.             DO WHILE mid > b(p2%) '**<<this one too
  1256.                 p2% = p2% - 1
  1257.             LOOP
  1258.             IF p1% <= p2% THEN
  1259.                 SWAP a$(p1%), a$(p2%) '**
  1260.                 SWAP b(p1%), b(p2%) '**
  1261.                 p1% = p1% + 1
  1262.                 p2% = p2% - 1
  1263.             END IF
  1264.         LOOP
  1265.         IF min% < p2% THEN quicksort min%, p2%, a$(), b()
  1266.         IF p1% < max% THEN quicksort p1%, max%, a$(), b()
  1267.     END IF
  1268.  
  1269.  

OK that works from copy/paste from forum.
Title: Re: Still need help on my horoscope program
Post by: bplus on June 09, 2020, 12:10:27 am
Well now my copy/paste from forum reply #23 is working???  That's the better fix because I eliminated the unused b() parameter in display sub.
Title: Re: Still need help on my horoscope program
Post by: DDBE on June 09, 2020, 12:17:40 am
Yay, that dummy line seems to have fixed the issue!
Title: Re: Still need help on my horoscope program
Post by: bplus on June 09, 2020, 12:22:59 am
@DDBE could you try #23 code again, it started working for me after the forum gave me a timeout server overloaded message.

I copy pasted the whole program (from #23) back into QB64 ran it and it did fine. If you do get an error message could you tell me what it is?

#23 is the better fix, code wise, eliminating b() for the display sub because it's not used.

Title: Re: Still need help on my horoscope program
Post by: DDBE on June 09, 2020, 12:36:37 am
Huh, now #23 suddenly works.
Title: Re: Still need help on my horoscope program
Post by: bplus on June 09, 2020, 12:46:32 am
Great, call it a day! :)
Title: Re: Still need help on my horoscope program
Post by: DDBE on June 09, 2020, 12:52:56 am
Well, now that the code is done, I can finally get to implement it to my InForm GUI frontend.
Title: Re: Still need help on my horoscope program
Post by: TempodiBasic on June 10, 2020, 03:03:04 am
Hi Guys
I must say to Bplus and DDBE  great work of debugging!

Now I'm waiting the Inform version if the stars let you go on this project. ;)
Title: Re: Still need help on my horoscope program
Post by: bplus on June 10, 2020, 10:01:54 am
Hi Guys
I must say to Bplus and DDBE  great work of debugging!

Now I'm waiting the Inform version if the stars let you go on this project. ;)

I must say @TempodiBasic you were key to getting ball rolling with me. Really cool to solve a puzzle with teamwork. :)