Thread: for
View Single Post
  #22  
Old 02-22-2005, 02:58 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally Posted by falco10291029
Well then the prefix of pl or whatever then acts as a replacement for with.
My. God. Learn to think like a computer scientist. It does not "replace" with.

allplayers is an object of some sort that acts as an array of all of the players online. By using the foreach syntax of with, you are merely just cycling through every element of that object array and setting each instance at a specific point in time to a specific player. There is no REPLACING. It is just another method to do it.