Page 1 of 1

The use of the term "working"

Posted: Sat Jul 31, 2010 11:17 pm
by Judson
Revolution is producing errors on the variable "working", e.g.,

put field "name" into working

This produces an error. If I change "working" to "workingX" all is well.

Two questions:

1) When I look in the dictionary the word "working" does not appear there. So what is its purpose?

2) Is there a list of reserved words which are other than those found in the Dictionary?

Re: The use of the term "working"

Posted: Sat Jul 31, 2010 11:48 pm
by Curry
A common naming scheme is tWorking, tCost, tChar, etc.; helps to avoid current and future conflicts with reserved words. One-letter variables such as x are also safe.

Re: The use of the term "working"

Posted: Sun Aug 01, 2010 2:55 pm
by Klaus
Hi all,

"working" is an addition to "the screenrect" and therefore a reserved word.
See "screenrect" in the docs (Rev dictionary).


Best

Klaus

Re: The use of the term "working"

Posted: Sun Aug 01, 2010 4:42 pm
by Judson
Thank you Klaus!