Arrays in sort/select processing

Bob Stockler bob at trebor.iglou.com
Mon Dec 11 08:17:58 PST 2006


Rodgers Hemer wrote (on Sun, Dec 10, 2006 at 08:09:46PM -0800):

|            	  If:    x eq ""
| 	   Then:   gosub setup
|             	  If:
| 	   Then:   y=y(3,.0.g) + "1"
|            	   If:   y gt n
| 	    Then:   end
| 		   If:    2 eq box[y]		<===== Failure point at left 
| 		   bracket when  dcabe checks the syntax
| 	    Then:   select
| 	    	   If:
| 	    Then:   end
| setup  	   If:
|             Then: dim box[100]:aa
              ^^^^^^^^^^^^^^^^^^^^^
I believe it's required to dimension an array on a line in
the processing above any line where the array is referenced.
I don't -think- the line where it's dimensioned even needs
to be encountered in the processing.

Try moving it up.

Bob

-- 
Bob Stockler  +-+  bob at trebor.iglou.com  +-+  http://members.iglou.com/trebor


More information about the Filepro-list mailing list