How to read line in CLIPS? - expert-system

I need to read a string in CLIPS so i'm usign (readline) but it doesn't seem to work.
It doesn't let me enter anything and it just returns "". Any ideea what's the issue?
CLIPS> (readline)
""
I'm using latest version of http://clipsrules.sourceforge.net/

This was just a bog on that version i was using.
It seems that the bug was present only in the Windows version, that with a GUI.
If you run it with the one frm command prompt it worked fine.
I reported the bug on their google group, they confirmed and i think it is fixed by now.

Check (readln)...
Good luck!

Related

Watir-Webdriver Windows Firefox slow text entry

I have prepared web testing script on Mac OSX with watir-webdriver. It was running fine with Firefox. However, then I ran the script on Windows with Firefox and the text entry is slow, like typing each word individually. I have read couple of threads in regards to this problem, but never came to the solution. Maybe someone could shed some light on this.
Please also kindly note that I use browser.element(:xpath).set "text" to locate the elements to set the text.
Thank you very much in advance.
The issue has been resolved using Clipboard gem. Instead of using .set or .value methods, I started using Clipboard copy / paste, which worked perfectly. I still do not consider this as best solution, but it can get the job done.

Why doesn't ImmSetOpenStatus work the first time?

I use ImmSetOpenStatus to close the input method editor under Win7 Chinese version.
However, I notice that it does not work the first time. Why?
Thank you.
I found it is a bug of the Sogou pinyin Chinese IME.

XCode 4 Core Data hang

XCode4 is hanging on me when I go and save an .xcdatamodel after changing anything. Is anyone else having this issue? I've got everything up to date and am using 10.6.7. It seems like others on a different board re-downloaded 3 and are using that. Don't want to go there if need be. Thanks.
If Xcode is hanging, it's a bug and should be reported via http://bugreporter.apple.com so they can fix it.

eclipse xml error

i am programming in eclipse for the first time and when i create a blackberry project i am getting this error in BlackBerry_App_Descriptor.xml as
Description Resource Path Location Type
InvalidRegex: Pattern value '([a-zA-Z_]{1,63}[\s-a-zA-Z_0-9.]{0,63}[;]?)*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '-'.' at column '19'. BlackBerry_App_Descriptor.xml /sample Unknown XML Problem
please help me out
thanks in advance.
I have had the same problem earlier with my first project on BlackBerry using the Eclipse provided on the site.
Though I took a lot of time to get a workaround for this, the solution is surprisingly simple.
Uninstall the JDK 7.x from your Windows system, adjust your path variables to point to another JDK version, preferably 6. There could be other dependencies in your Eclipse environment which need to be set independently to point to the new JDK (try Windows -> Preferences -> Java -> Installed JREs in your Eclipse and voila!)
see? let us know if you still face the problem..
I'm having the same problem as you are. There is a post regarding this issue at http://supportforums.blackberry.com/t5/Java-Development/InvalidRegex-Pattern-value-a-zA-Z-1-63-a-zA-Z-0-9-0-63-is-not-a/td-p/944343
I haven't been able to solve the problem yet, and I am clueless as to what may be causing it. The answers at the blackberry support forums didn't work for me at all. But do try them out. Best of luck.
The deprecated version of the blackberry development IDE for eclipse (version 1.1 of the pluggin) works fine, but is not available for download anymore.

ZX Spin emulator, built-in assembly errors

I'm having problems understanding how to get an assembly file to run
inside the ZX Spin emulator using the built-in assembler. I'm able to assemble my program but it seems to crash each time I attempt to run the assembled object code.
I cannot find any documentation on how this is meant to be set to run.
The message I get with version is v0.7:
Access violation at address 0060470C in module 'ZXSpin.exe'. Write of address 05603622"
Any help on getting this working with the most simple of assembly files would be great.
I had that error too with both 0.7 and 0.66 version, but I've found a solution.
Get to Tools/Options/System and change "When no longer active application" to "Keep running with sound"
I'm using version 0.666. Try to set a conditional breakpoint.
I found that version 0.7 had a bug in the assembler as that part was no longer being maintained and subsequently had been broken between releases.
I tried the previous version and it worked correctly (so I made a wonderful dot). Thanks to anyone who helped out with this. Can't recall the forum where I was provided with that info, but thanks :)

Resources