Page 1 of 1

.

Posted: Thu Oct 04, 2007 12:19 am
by dell_jockey
to be updated

Re: Porting a fluids function library....

Posted: Thu Oct 04, 2007 3:57 am
by PB

Code: Select all

Macro DoubleQuote
    "
EndMacro
Just a tip: PureBasic has a constant called #DOUBLEQUOTE$ which you can
use, instead of defining a macro for it.

Re: Porting a fluids function library....

Posted: Thu Oct 04, 2007 8:37 am
by dell_jockey
PB wrote:

Code: Select all

Macro DoubleQuote
    "
EndMacro
Just a tip: PureBasic has a constant called #DOUBLEQUOTE$ which you can
use, instead of defining a macro for it.
Yes, so I thought as well. Then I had a lot of trouble to concatenate this with 'expression', see the macro code above. Perhaps it's the double hash '##' thing that results from it, I don't know.
Instead of putting much more time in it, I decided to use and adapt the snippet from the help file.

Re: Porting a fluids function library....

Posted: Thu Oct 04, 2007 9:39 am
by PB
> Perhaps it's the double hash '##' thing that results from it

Good point, I didn't see that.