View Single Post
12-10-11, 11:50 AM   #14
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Ok one more try for the non-coders.

'temp1' is the name of a variable, like 'fruitbasket' is the name of a container.

GetNumMacroIcons() equals a number telling us how many apples are in the fruitbasket.

temp1 = GetNumMacros() in plain english means:
"Get the number GetNumMacros() returns and put it in temp1"

What Phanx suggested was to replace GetNumMacros() (that no longer exists as a function in 4.3 with a number directly.

so..

Code:
temp1 = 1000
You just went and did:
"This is no longer called a 'fruitbasket' that contains 10 apples, it's now called '10apples'"
  Reply With Quote