Paul,
Help file, help file.... we don't need no stinkin' help file!

That's cheating.

Dave

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Paul Newton
Sent: 24 July 2017 08:38
To: [email protected]
Subject: RE: Array Declaration

>From the Help file

DECLARE is identical in operation and similar in syntax to the DIMENSION 
command. For more information, see DIMENSION Command.

And Local a[nRows, nCols] and Public a[nRows, nCols]

Also, all four methods can optionally take the clause AS Type OF ClassLib

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Dave Crozier
Sent: 24 July 2017 08:32
To: [email protected]
Subject: RE: Array Declaration

Laurie,
I have always (maybe incorrectly) used Dimension when I wanted to pre define 
the type of the array:

DIMENSION ArrayName1(nRows1 [, nColumns1]) [AS cType]

 as opposed to declare which creates a non type defined array.

Dave

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Laurie Alvey
Sent: 23 July 2017 18:08
To: ProFox Email List <[email protected]>
Subject: Array Declaration

I've always used DIMENSION a[] to declare an array but I've seen some 
developers use DECLARE a[]. Is there some subtle difference between te two 
statements?

Laurie


--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to