From: Logan Capaldo Date: 2006-03-05T05:49:03+09:00 Subject: Re: Symbols similiar to defined in c++ ????? 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