Author Topic: Still need help on my horoscope program  (Read 4324 times)

0 Members and 1 Guest are viewing this topic.

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Still need help on my horoscope program
« Reply #15 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
Programming isn't difficult, only it's  consuming time and coffee

Offline DDBE

  • Newbie
  • Posts: 26
    • View Profile
Re: Still need help on my horoscope program
« Reply #16 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!

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Still need help on my horoscope program
« Reply #17 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!
« Last Edit: June 07, 2020, 11:23:32 pm by bplus »

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Still need help on my horoscope program
« Reply #18 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

 
Horoscope issue6.jpg


any idea?
Programming isn't difficult, only it's  consuming time and coffee

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Still need help on my horoscope program
« Reply #19 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:
 
horo 1.PNG


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.
« Last Edit: June 08, 2020, 12:23:42 pm by bplus »

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Still need help on my horoscope program
« Reply #20 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.
Programming isn't difficult, only it's  consuming time and coffee

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Still need help on my horoscope program
« Reply #21 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!

Offline DDBE

  • Newbie
  • Posts: 26
    • View Profile
Re: Still need help on my horoscope program
« Reply #22 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:

  • First by using DIM SHARED,
  • then assigning every single field of the table with an own column each value(s) according to which one wishes to sort the table,
  • and finally an own versatile descending or ascending sorting sub-routine, which can be directly copy-pasted from that tutorial.

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?

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Still need help on my horoscope program
« Reply #23 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?
« Last Edit: June 08, 2020, 11:33:55 pm by bplus »

Offline DDBE

  • Newbie
  • Posts: 26
    • View Profile
Re: Still need help on my horoscope program
« Reply #24 on: June 08, 2020, 11:44:32 pm »
That immediately gives me a syntax error on line 1240 again. :(

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Still need help on my horoscope program
« Reply #25 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.
« Last Edit: June 08, 2020, 11:58:32 pm by bplus »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Still need help on my horoscope program
« Reply #26 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.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Still need help on my horoscope program
« Reply #27 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.
« Last Edit: June 09, 2020, 12:08:03 am by bplus »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Still need help on my horoscope program
« Reply #28 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.

Offline DDBE

  • Newbie
  • Posts: 26
    • View Profile
Re: Still need help on my horoscope program
« Reply #29 on: June 09, 2020, 12:17:40 am »
Yay, that dummy line seems to have fixed the issue!