You can also sum to an array that is created by FoxPro if it doesn't already
exist:
    SUM Field1, Field2, Field3 TO ARRAY aSums

Mike



-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Alan
Bourke
Sent: Tuesday, August 16, 2016 8:06 AM
To: [email protected]
Subject: I've been using Fox for (large integer) years and I never knew that
...

#1 in an occasional series.

sum field1, field2, field3 to tot1, tot2, tot3

works, as opposed to doing three SUMs.



--
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm



--- 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