From: Servando Garcia Date: 2006-03-05T07:53:35+09:00 Subject: Re: Symbols similiar to defined in c++ ????? Logan Capaldo wrote: > > On Mar 4, 2006, at 2:29 PM, Servando Garcia wrote: > >> would it be safe to say that I can use symbols in the same manner as >> a defined variable in c++ >> >> define n 9 >> void main() >> { >> for (index=0; while index < n,index++) >> print index >> while >> } >> >> > > You are looking for a constant (in ruby terms) > > N = 9 # Constants must start with a capital letter > > > I am not looking for a constant. I am just trying to understand the uses for Symbols. I have been programing for about six years now; and have never encountered this symbols concept. I am just trying to understand.