disappearing spaces problem
From: Patrick Herring (ph_at_anweald.co.uk)
Date: 09/08/04
- Next message: Thorsten: "Problem with matching sin(...) etc."
- Previous message: russell kym horsell: "Re: WIN 32 API function - To read cpu usage & free hard disk space more than 4 GB"
- Next in thread: Jan Wielemaker: "Re: disappearing spaces problem"
- Reply: Jan Wielemaker: "Re: disappearing spaces problem"
- Reply: russell kym horsell: "Re: disappearing spaces problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 08 Sep 2004 12:20:47 GMT
Here's a problem I'm having in SWI but have also had with LPA (DOS)
and Sicstus and have never understood let alone solved:
If I do op( 0500, yfy, and).
then write( a and b )
gives a and b
but if I do op( 0500, yfy, & )
then write( a & b )
gives a&b
where the spaces either side of the & have gone. I also get this with
pseudo-random other user-defined ops.
I've always assumed it was down to operator precedence but the above
example shows that's not necessarily it. Any clues?
-- Patrick Herring, Sheffield, UK http://www.anweald.co.uk
- Next message: Thorsten: "Problem with matching sin(...) etc."
- Previous message: russell kym horsell: "Re: WIN 32 API function - To read cpu usage & free hard disk space more than 4 GB"
- Next in thread: Jan Wielemaker: "Re: disappearing spaces problem"
- Reply: Jan Wielemaker: "Re: disappearing spaces problem"
- Reply: russell kym horsell: "Re: disappearing spaces problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|