Re: numbers on web output
Re: numbers on web output
- Subject: Re: numbers on web output
- From: Wes James <email@hidden>
- Date: Tue, 10 Aug 2004 16:12:33 -0600
Thanks for the help with the lineCount issue. I have a question about
this. I got this to work by creating a variable
protected int lineCount;
When I created this variable I also told it to create the "A method
setting a value" and "A method returning a value":
public int lineCount(){
lineCount++;
return lineCount;
}
public void setLineCount(int newLineCount){
lineCount = newLineCount;
}
I added the linCount++ to see if this would make each index value+1
and it worked.
Art what is the difference between a public instance var and accessor
methods in this case. Is the variable lineCount as a protected
variable with the methods above what you are talking about?
thanks,
wj
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.