I seem to have hit a snag (ugh - bottle of soda pop squirted some into the keyboard and now keys are sticking! Guess I'll have to clean it soon.) with CSD.
I made a simple csd (so far anyway) which has two button on either side of a stat field so I could easily increment and decrement the field. Unfortunately, it doesn't seem to work. When I press on the buttons the debugger says things like:
Updating Fields
(def1) def1.text = agl1.value / 2
Statistics
Passes: 1
Evaluations: 1
Updates: 0
Errors: 0
Button slf_inc Clicked
Source: slf1.value = slf1.value + 1
Updating Fields
(def1) def1.text = agl1.value / 2
Statistics
Passes: 1
Evaluations: 1
Updates: 0
Errors: 0
which is correct - but the value of "slf1" is not incremented. I have a text field called Self (slf) and its associated numeric area (slf1). The two buttons are called slf_inc and slf_dec. I tried making a simple set of functions called inc_slf and dec_slf - but that did not work. So I switched to just doing the inline functions instead. It still does not work. Or to put that another way - Self is not incremented by one. I know I must be doing something wrong - but unknown what.
I tried to upload the file so you could see it, but it said the file was not of the correct type. :-(
Mark
Comments