Welcome, Guest. Please login or register.

Login with username, password and session length
Pages: [1]   Go Down
Print
Author Topic: setup two counter in program  (Read 829 times)
0 Members and 1 Guest are viewing this topic.
charlescain
Member

Posts: 2


View Profile
« on: February 10, 2010, 06:47:23 PM »

How do you setup two counter in filepro program.  I have the first counter working but when I try to do the second counter it fail.

I setup the by rn(1,.0)="1"

When I setup the second counter it blank out the data or it put the second counter numbert the first conuter field.


Thanks
Logged
Chris Henschen
Administrator

Posts: 5


View Profile WWW
« Reply #1 on: March 05, 2010, 08:42:11 AM »

I'm not exactly sure what you mean by two counters?  What you have for an example just assigns a 1 to the value rn.  RN can only contain a value of 0-9 as you have it.  To increment it you'd use rn=rn+"1".  If you are meaning two separate counters, you'd have to define two variables:

rn(1,.0)=rn+"1"
co(10,.0)=co+"1"

« Last Edit: March 05, 2010, 08:43:43 AM by Chris Henschen » Logged
Pages: [1]   Go Up
Print
Jump to:  

Valid XHTML 1.0! Powered by SMF 1.1.15 | SMF © 2011, Simple Machines | Massive Blue Theme By Cadosoas Valid CSS!