Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal1-May-13 9:38 
QuestionHelp with KB Q147578 PinmemberForNow29-Apr-13 8:33 
QuestionRe: Help with KB Q147578 PinmemberDavidCrow29-Apr-13 9:41 
AnswerRe: Help with KB Q147578 PinmemberForNow29-Apr-13 9:56 
QuestionAdvise / patterns on modeling data and business components PinmemberFernando A. Gomez F.29-Apr-13 4:50 
QuestionHow to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3128-Apr-13 21:15 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberFreak3028-Apr-13 22:10 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3128-Apr-13 22:35 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberVaclav_Sal29-Apr-13 6:11 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3129-Apr-13 18:54 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberVaclav_Sal30-Apr-13 3:47 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3130-Apr-13 19:27 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberRolf Kristensen29-Apr-13 4:18 
Questionproblem in clips programming Pinmembera.fatemeh28-Apr-13 2:02 
hi every one, i'm trying to write a simple code in clips but I'm getting this error which i can't find what the problem is.
I would be grateful if any one could help.
 
Defining deffunction: user-Question
Defining defrule: Rule0
[PRNTUTIL2] Syntax Error: Check appropriate syntax for defrule.
 
ERROR:
(defrule MAIN::Rule0
(not (tank-is-full ?)
=>
 
this is part of my code:
 
<blockquote class="FQ"><div class="FQA">Quote:</div>;;;************
;;;* Functions*
;;;************
(deffunction user-Question(?question ?answer $?values)
   (printout t ?question)
   (bind ?answer(read))
   (stringp ?answer)
 =>
    (bind  ?answer(lowcase ?answer))
    
  (while (not (member$ ?answer ?values)) do
      (printout t ?question)
      (bind ?answer(read))
      (stringp ?answer)
    =>
    (bind  ?answer(lowcase ?answer))
 )
 ?answer
)
 
  
;;;**********************
;;;* ENGINE STATE RULES *
;;;**********************
 
(defrule Rule0
    (not (tank-is-full ?)
 =>
    (bind ?tank-is-full user-Question("Is there any petrol in the tank(Yes|No)?"yes YES Yes NO no No)  
   (assert(tank-is-full ?tank-is-full)
 )
;;;****************************
</blockquote>

AnswerRe: problem in clips programming PinmemberThePhantomUpvoter28-Apr-13 2:13 
GeneralRe: problem in clips programming Pinmembera.fatemeh28-Apr-13 2:19 
GeneralRe: problem in clips programming PinmvpRichard MacCutchan28-Apr-13 2:29 
GeneralRe: problem in clips programming Pinmembera.fatemeh28-Apr-13 2:51 
GeneralRe: problem in clips programming PinmemberThePhantomUpvoter28-Apr-13 2:31 
AnswerMy Vote of 1 PinmentorKeith Barrow28-Apr-13 7:45 
GeneralRe: My Vote of 1 Pinmembera.fatemeh28-Apr-13 22:46 
GeneralRe: My Vote of 1 PinmemberH.Brydon30-Apr-13 19:02 
QuestionHow to make a EXE in windows PinmemberOmarSH27-Apr-13 7:10 
AnswerRe: How to make a EXE in windows PinmemberThePhantomUpvoter27-Apr-13 16:50 
GeneralRe: How to make a EXE in windows PinmemberOmarSH28-Apr-13 6:29 
GeneralRe: How to make a EXE in windows Pinmemberdusty_dex28-Apr-13 7:00 
GeneralRe: How to make a EXE in windows Pinmember«_Superman_»28-Apr-13 19:18 
GeneralRe: How to make a EXE in windows PinmvpRichard MacCutchan28-Apr-13 22:25 
AnswerRe: How to make a EXE in windows PinmemberBrandon-X1200028-Apr-13 11:29 
GeneralRe: How to make a EXE in windows PinmvpRichard MacCutchan28-Apr-13 22:23 
GeneralRe: How to make a EXE in windows PinmemberOmarSH29-Apr-13 11:07 
QuestionRe: How to make a EXE in windows PinmemberDavidCrow29-Apr-13 16:33 
AnswerRe: How to make a EXE in windows PinmemberOmarSH30-Apr-13 6:16 
QuestionRe: How to make a EXE in windows PinmemberDavidCrow30-Apr-13 6:27 
AnswerRe: How to make a EXE in windows PinmemberOmarSH30-Apr-13 6:50 
QuestionRe: How to make a EXE in windows PinmemberDavidCrow30-Apr-13 7:12 
AnswerRe: How to make a EXE in windows PinmemberOmarSH30-Apr-13 8:10 
QuestionRe: How to make a EXE in windows PinmemberDavidCrow30-Apr-13 8:45 
AnswerRe: How to make a EXE in windows PinmemberOmarSH30-Apr-13 10:18 
SuggestionRe: How to make a EXE in windows PinmemberDavidCrow30-Apr-13 10:28 
QuestionClips Pinmembera.fatemeh26-Apr-13 20:16 
QuestionRe: Clips PinmvpRichard MacCutchan26-Apr-13 22:17 
AnswerRe: Clips Pinmembera.fatemeh26-Apr-13 22:22 
GeneralRe: Clips PinmvpRichard MacCutchan26-Apr-13 23:17 
GeneralRe: Clips Pinmembera.fatemeh26-Apr-13 23:26 
QuestionHow can I capture screen without layered windows on Windows 8 Pinmemberthanh_bkhn25-Apr-13 23:50 
QuestionCall stack trace using BOOST PinmemberShailesh H25-Apr-13 22:57 
Questionhow do I group test cases using BOOST PinmemberShailesh H25-Apr-13 22:55 
QuestionAbout preventing memory leaks PinprofessionalMarco Bertschi25-Apr-13 22:27 
AnswerRe: About preventing memory leaks PinmemberFreak3026-Apr-13 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 16 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid