09-06-2017, 07:50 PM
Well, this kind of ignores all those terms I once explained when you didn't understand why the print command is called like that...
Syntax errors would be the programming equivalent to having a very bad orthography in an essay.
Siletrea wrote modulous #=> NameError! No modulous class or module or method was found!
Did you mean...?
module
modulo
modulus
exponent examples: 2**2 is the same as 2 * 2, 4**2 is the same as 4 * 4, where * asterisk is the symbol you need to make Ruby multiply a number or ** asterisks to get its exponent. In recent versions of Ruby, 2.2+, asterisks have other uses as well. Actually even in Ruby 1.8.1 you can use an asterisk to make an array if it's an argument included in a method definition, i.e.
def my_method(name, *arguments)
print name, arguments.class
end
my_method #=> Pop up window shows up telling you the name you passed through and Array as arguments actual class.
Syntax errors would be the programming equivalent to having a very bad orthography in an essay.
Siletrea wrote modulous #=> NameError! No modulous class or module or method was found!
Did you mean...?
module
modulo
modulus
exponent examples: 2**2 is the same as 2 * 2, 4**2 is the same as 4 * 4, where * asterisk is the symbol you need to make Ruby multiply a number or ** asterisks to get its exponent. In recent versions of Ruby, 2.2+, asterisks have other uses as well. Actually even in Ruby 1.8.1 you can use an asterisk to make an array if it's an argument included in a method definition, i.e.
def my_method(name, *arguments)
print name, arguments.class
end
my_method #=> Pop up window shows up telling you the name you passed through and Array as arguments actual class.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE