Describe Bugs here
Bug: Cannot open new file in unknown directory
When a file is opened for writing or appending in a directory that does not exist, no file gets created. Thus, any data written to this file is lost.
What Should Happen: If a file cannot be opened for writing, program should fail and report an informative error message. Possibly, new directory should be automatically created, or file should be created in some 'default' directory.
Bug: PEBL has limited support for international characters
PEBL can present many international characters, as long as they can be entered as characters in the PEBL text file script or a file read in by PEBL. PEBL currently does not properly translate key events from international keyboards into the corresponding key combos in the textbox GetInput() command. It may support some limited international key detection with the GetKeyPress() family of functions.
Bug: Several bugs in the code for Iowa Gambling task
1) Output is always saved as a file named igt-0.txt, rather than as igt-subnum.txt (subject number entered in PEBL program), as it is supposed to be. This may be an issue with the PEBL version, as this was written for version 0.06.
2)After a response, the card turns green whether the response was a gain or a loss. It is meant to turn red after a loss, but it doesn't.
3)The text color in the box that reports the response, gain, loss changes color from green to black randomly. I'm sure it isn't random, but it does not correspond to the type of response or outcome.
4) I get this message when I run the Iowa Gambling Task: "Failed to load [C:\Program Files\PEBL\bin\stdout.txt]." This may relate to the the first bug I report.
I'm too green to fix these. Just bringing them to your attention.
There is no way to add a tab to output or textboxes
ToString() appears to work inconsistently or not at all.
Mouse cursor is sometimes shown when it is not wanted
International keyboard characters may not work on windows (examine SDL_EnableUNICODE)
FileReadTable return error if file doesn't exist
There should be a function that allows to check whether a file exists or not. Home made code to circumvent such a problem is to open a file for writing (append), and then close it. This way if file exist, no change to it; if file doesn't exist, it creates it.
f <- FileOpenAppend(gdemofile) FileClose(f) #then you can open for writing
Error when using WaitForAnyKeyDownWithTimeout with PEBL Version 0.08
Error message given: Unhandled device type in PEvent::GetState
