HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Checking multiple variables

08-14-2004, 10:24 PM#1
GosuSheep
number 1:

whats a real easy equatrion can you check the HIGHEST or LOWEST interger variable.

i think its something like
For A = 1 to 8
For B = 1 to 8
If A > B then A=highestnum
end b
end a

number 2:

how can you check if all the arrays in a boolean variable are false
everyone single one

i tried
For a = 1 to 20
if Boo(a)=false

but that would only check for 1 of the arrays


replies are greatly appreciated
08-14-2004, 10:37 PM#2
Rafael Br
1 - Integer comparison - (variable 1) is greater than (variable 2)
2 - For each integer A do 1 to 20 actions
Loop - If (your boolean variable) [integer A] = true then set Variable Number_of_True_Boolean s = Number_of_True_Boolean s + 1
Then, check if the variable is equal to 20.