View Single Post
  #2 (permalink)  
Old 12-12-2007, 03:51 PM
ShoeNinja's Avatar
ShoeNinja ShoeNinja is offline
Senior Member
 
Join Date: Oct 2007
Posts: 123
ShoeNinja is on a distinguished road
Send a message via AIM to ShoeNinja
No it's not possible to do it that way. It's much more than bad syntax.

In your code, ret is an object (instance of a class). It represents a single instance. The .name and the .place are methods in whatever class to which ret belongs.

It sounds like you need to do some reading on the idea of classes, objects and methods before you try to start learning too much more code.
Reply With Quote