[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Reply to SQR Create Array
> If I have an Access Array procedure and a Create Array procedure
> in alphabetical order, the array access statement in the Access Array
> procedure will generate an error stating that the array has not been created.
> The logical calling of these procedures is correct though. This occurs
> because SQR did not physically encounter the CREATE ARRAY before the GET or PUT
> statement.
>
The same thing can occur in PRO*COBOL if the declaration of a cursor is
physically after the first usage of that cursor. The pre-compiler scans
top to bottom.
--------------------------------------------------------------------------
Michael Stone (205) 890-2410 | A TTTTTTT SSSSS
Advanced Technology Systems (ATS), Inc. | A A T S
4801 University Square, Suite 2 | AaaaA T SSSSS
Huntsville, AL 35816-3431 | A A T S
mike@rmf41.usace.army.mil | A A T SSSSS
--------------------------------------------------------------------------