Normal Topic Errata and Follow-up Scheduler (Read 788 times)
Rick_R
Full Member
***
Offline



Posts: 243
Joined: Jan 29th, 2010
Errata and Follow-up Scheduler
Feb 26th, 2011 at 5:14am
Print Post Print Post  
I was putting the code of the Follow-up Scheduler into the Program Editor and setting up the indenting and I noticed several things that are directly contrary to the programming practices advocated in the Programming Guide.  The deprecated Q&A command CNEXT is used in several places and Goto is used once.

It also has and undefined @Tn function.  (Page 496, just  above "By placing ...")

Also, the Else If ... could probably be simply replaced with a While <> loop.

It probably would be better to set it up as a function or subroutine where you pass it the source field and the field to move to when done (assuming the choices will always be the same).
  
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Errata and Follow-up Scheduler
Reply #1 - Feb 26th, 2011 at 6:07pm
Print Post Print Post  
Rick_R wrote on Feb 26th, 2011 at 5:14am:
It also has and undefined @Tn function.  (Page 496, just  above "By placing ...")


@TN() is just shorthand for @ToNumber().
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged