[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: ARRAYS
Dynamic arrays? I have the following routine for this.
It works for me, but then I am still green in the SQR world.
angel_guzman@trfb.navy.mil
#define $1array-name dparray
#define #1elements 11
#define #1size 3
............................
Begin-Procedure Get-Parameters
create-array name={$1array-name} size={#1elements} field=departments:char
do get_data(8,5,'{$1array-name}',{#1elements},{#1size})
End-Procedure
............................
Begin-Procedure get_data(#line,#column,$name,#elements,#fieldlen)
----------------------------
----------------------------
End-Procedure
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
While we are on the subject of nice to have. I wish the size = in an
array would accept a variable. To be able to do a quick count and then
size the array correctly would be fantastic.
>----------
>From: John Buginas[SMTP:John_Buginas@BIO-RAD.COM] >Sent: Monday,
November 11, 1996 4:23 AM
>To: Multiple recipients of list SQR-USERS >Subject: Re[2]:
Complex SQR Summary Reporting >
> Would be nice if arrays were usable as they are in real languages:
>
> let $oridinarily = $I[#like] + $to[#use] + $array[#s] + $a[#lot]
>
>______________________________ Reply Separator
>_________________________________
>Subject: Re: Complex SQR Summary Reporting
>Author: SQR-USERS@USA.NET at Internet
>Date: 11/9/96 2:35 PM
>
>
>Hola:
>
>> I have used arrays to generate this type of report storing the counts as
>>...
>Speaking of arrays ...
>
>Does anyone know a way, or rather, is MITI going to make it so that we can
>print out array components w/o assigning them to temp variables first ?
>
>This is the reason we always try to avoid using arrays whenever we can.
>OR, are we doing something wrong ?
>
>
>danian liu
>dliu@uhc.com
>--
>You can create your own opportunities this week. Blackmail a senior
>executive.
>
Unknown data type
- Follow-Ups:
- No Subject
- From: Renita S Tiller <tstrst@GWUNIX7.GWU.EDU>
- Page Number
- From: Renita S Tiller <tstrst@GWUNIX7.GWU.EDU>
- Re: ARRAYS
- From: Ray Ontko <rayo@ONTKO.COM>