
01-29-2008, 08:07 AM
|
|
oh snaps
|
 |
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
|
|
Quote:
Originally Posted by cbkbud
And I really would think something like this would work
PHP Code:
private tVar = n; // noone can see protected tVar = n; // read only public tVar = n; // All rights; is this by default if nothing is said.
|
Me too  . Or something similar.
Quote:
Originally Posted by cbkbud
PHP Code:
// even could have static tVar = n; // Cannot be changed -- I thought there was a way to do this, but I can't remember it.
|
I think you can do:
PHP Code:
const tVar = n;
|
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem
Seize the Day.
|
|
|
|