[comp.databases] Clipper problem

timk@xenitec.on.ca (Tim Kuehn) (09/21/89)

I was doing a clipper app. which used a number of the following commands:

@ x,y get var[1] picture "@Z 999" range 0,255

(var[1] is part of an array of 4 elements which are posted as part of the 
get command and *always* contain numeric values. Strange thing is that 
these values are fed through a chr() function later on which doesn't make a 
peep about "type mismatch".)

Initially the program worked fine and took the range command. But then I 
made a change (not in this part of the code) and all of the sudden I'm 
getting "type mismatch", which was only fixed by removing the range command
from the @..,.. get commands. Is this a real bug with clipper or could it 
be that usually the array elements are initialized to 0? 

I'd also like to thank the person who asked and the one who posted
a response about using tlink 1.5 from Borland - it was a real pain in 
various places for me to have to wait 5 min for each compile for Plink86 
to get through it's contortions. I love it!

+-----------------------------------------------------------------------------+
|Timothy D. Kuehn	       			       timk@xenitec	      |
|TDK Consulting Services			       !watmath!xenitec!timk  |
|871 Victoria St. North, Suite 217A					      |
|Kitchener, Ontario, Canada N2B 3S4 		       (519)-741-3623 	      |
|DOS/Xenix - SW/HW. uC, uP, DBMS. 		       Satisfaction Guaranteed|
+-----------------------------------------------------------------------------+