how to increment variables
From: PF (juliansmail_at_freenet.de)
Date: 12/26/03
- Previous message: DaveNlp: "Re: [newbie] exit from query?"
- Next in thread: Bart Demoen: "Re: how to increment variables"
- Reply: Bart Demoen: "Re: how to increment variables"
- Reply: Tom Breton: "Re: how to increment variables"
- Reply: Jesper Matthiesen: "Re: how to increment variables"
- Reply: Amzi! inc.: "Re: how to increment variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Dec 2003 02:44:52 -0800
HI i know how to handle with the "is" operator so it is useless
for a simple variable incrementation as X is X+1,
I just want to increment a variable which has been instantiated once.
in C/C++ or Java u would simply use X++; or X=X+1;
is there any trick how i can get that in prolog to work ???
please help!
- Previous message: DaveNlp: "Re: [newbie] exit from query?"
- Next in thread: Bart Demoen: "Re: how to increment variables"
- Reply: Bart Demoen: "Re: how to increment variables"
- Reply: Tom Breton: "Re: how to increment variables"
- Reply: Jesper Matthiesen: "Re: how to increment variables"
- Reply: Amzi! inc.: "Re: how to increment variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|