I'd probably use a FOR.. loop. Something like:

****untested code...
m.MyNewValue=9999
FOR EACH thing IN loRec
        IF VARTYPE(thing)=[N]
                loRec.thing=m.MyNewValue
        ENDIF 
NEXT

>I do a SCATTER FIELDS EXCEPT <list> NAME loRec to get a slew of field
>names into an object...now I want to set all of the numeric properties to
>a certain value (e.g., 9999).  What's the esiest way to go about doing
>this?  I'm trying not to be verbose, as there's something like 40 some
>fields/properties.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/df1eef11e586a64fb54a97f22a8bd04414168...@ackbwddqh1.artfact.local
** 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