Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Readfile to read parent process console buffer Pin
«_Superman_»2-May-13 19:11
professional«_Superman_»2-May-13 19:11 
GeneralRe: Readfile to read parent process console buffer Pin
ForNow3-May-13 4:11
ForNow3-May-13 4:11 
QuestionNo more DSP but DSW and SLN in VC6.0 Pin
Vaclav_29-Apr-13 9:36
Vaclav_29-Apr-13 9:36 
QuestionRe: No more DSP but DSW and SLN in VC6.0 Pin
David Crow29-Apr-13 9:40
David Crow29-Apr-13 9:40 
AnswerRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_29-Apr-13 14:11
Vaclav_29-Apr-13 14:11 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Richard MacCutchan29-Apr-13 23:11
mveRichard MacCutchan29-Apr-13 23:11 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_30-Apr-13 3:39
Vaclav_30-Apr-13 3:39 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Richard MacCutchan30-Apr-13 6:09
mveRichard MacCutchan30-Apr-13 6:09 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Freak3030-Apr-13 0:37
Freak3030-Apr-13 0:37 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_30-Apr-13 3:31
Vaclav_30-Apr-13 3:31 
AnswerRe: No more DSP but DSW and SLN in VC6.0 Pin
H.Brydon30-Apr-13 18:58
professionalH.Brydon30-Apr-13 18:58 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_1-May-13 9:38
Vaclav_1-May-13 9:38 
QuestionHelp with KB Q147578 Pin
ForNow29-Apr-13 8:33
ForNow29-Apr-13 8:33 
QuestionRe: Help with KB Q147578 Pin
David Crow29-Apr-13 9:41
David Crow29-Apr-13 9:41 
AnswerRe: Help with KB Q147578 Pin
ForNow29-Apr-13 9:56
ForNow29-Apr-13 9:56 
QuestionAdvise / patterns on modeling data and business components Pin
Fernando A. Gomez F.29-Apr-13 4:50
Fernando A. Gomez F.29-Apr-13 4:50 
QuestionHow to make an edit box accept only digits from 0 - 9 in mfc.? Pin
mbatra3128-Apr-13 21:15
mbatra3128-Apr-13 21:15 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
Freak3028-Apr-13 22:10
Freak3028-Apr-13 22:10 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
mbatra3128-Apr-13 22:35
mbatra3128-Apr-13 22:35 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
Vaclav_29-Apr-13 6:11
Vaclav_29-Apr-13 6:11 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
mbatra3129-Apr-13 18:54
mbatra3129-Apr-13 18:54 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
Vaclav_30-Apr-13 3:47
Vaclav_30-Apr-13 3:47 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
mbatra3130-Apr-13 19:27
mbatra3130-Apr-13 19:27 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
Rolf Kristensen29-Apr-13 4:18
Rolf Kristensen29-Apr-13 4:18 
Questionproblem in clips programming Pin
a.fatemeh28-Apr-13 2:02
a.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>

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

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