Przemysław Czerpak wrote:

You can make it yourself using PP:

   #ifndef FIELD_NAMESPACE_OFF
      /* declare WORKAREA1 fields */
      #xtranslate WORKAREA1-><!field!>    => ;;
                              #error WORKAREA1 does not have field: #<field>
      #xtranslate WORKAREA1->name         => WORKAREA1->( _FIELD->name )
      #xtranslate WORKAREA1->date         => WORKAREA1->( _FIELD->date )
   #endif

   proc main()
      ? workarea1->name
      ? workarea1->nane
      ? workarea1->date
   return

That is pretty cool. Thank you. What is the difference between _FIELD and FIELD?

Regards
Alex

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to