Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.xharbour

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-20-2007, 12:12 AM
Sean
Guest
 
Posts: n/a
Default Macro substitution &(...)

Environment:
Fedora 8: Linux 2.6.23.1-42
xbuilder-1.00.00-1.demo.gcc410
gcc-4.1.2-33

This line draws a compile error in xbuilder:

replace all &(mfld) with &(mparms)

mfld and mparms are both declared PUBLIC.

Help! What am I not understanding here?

Sean
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 11-20-2007, 12:20 AM
N:dlzc D:aol T:com \(dlzc\)
Guest
 
Posts: n/a
Default Re: Macro substitution &(...)

Dear Sean:

"Sean" <seandc@att.net> wrote in message
news:Hvq0j.116475$kj1.46279@bgtnsc04-news.ops.worldnet.att.net...
> Environment:
> Fedora 8: Linux 2.6.23.1-42
> xbuilder-1.00.00-1.demo.gcc410
> gcc-4.1.2-33
>
> This line draws a compile error in xbuilder:
>
> replace all &(mfld) with &(mparms)
>
> mfld and mparms are both declared PUBLIC.
>
> Help! What am I not understanding here?


<QUOTE>
field variables must be aliased to assign a value
<END QUOTE>

So right away...
> replace all FIELD->&(mfld) with &(mparms)


If that does not work, you probably need to tell us the values of
mfld and mparms just as the error occurs.

David A. Smith


Reply With Quote
  #3 (permalink)  
Old 11-20-2007, 12:59 AM
Ron Pinkas
Guest
 
Posts: n/a
Default Re: Macro substitution &(...)

Sean,

> This line draws a compile error in xbuilder:
>
> replace all &(mfld) with &(mparms)
>
> mfld and mparms are both declared PUBLIC.


Same as in Clipper.

> Help! What am I not understanding here?


REPLACE &(mfld) WITH &(mparms) ALL

Ron


Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SCL Joe (was RE: macro structure) Gregg P. Snell Newsgroup comp.soft-sys.sas 0 06-27-2006 07:59 PM



All times are GMT. The time now is 04:29 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.