I have tried to use the ASCII file. It would exception on get/setnulls ClarionAsciiFile
I have return "" string in getnulls and commented exception in setnulls.
I managed to write/read to disk.
Do I hav to define FILEBUFFER or something else in clarion dct? Is this java class fully implemented or is missing something?
I ask this because once i have changed the runtime now seems to work, so i am puzzled.
thanks
Nenad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just put the ascii file in main form table lista and added a test writing in some procedure. The application would crash at init time, before the main frame shows, so i suppose is ABC, i.e. c2j translation of ABC, that is calling get/setnull. I do not know what is get/setnull, or what it should do.
nenad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have tried to use the ASCII file. It would exception on get/setnulls ClarionAsciiFile
I have return "" string in getnulls and commented exception in setnulls.
I managed to write/read to disk.
Do I hav to define FILEBUFFER or something else in clarion dct? Is this java class fully implemented or is missing something?
I ask this because once i have changed the runtime now seems to work, so i am puzzled.
thanks
Nenad
DOS and ASCII should be fully implemented. I use them both extensively in my app.
Calling get/set null on an ascii file doesn't make sense. I've never tried it. What do you expect the system to do in these circumstances?
One possible case where it may crash : calling getnull/setnull when the file is not opened. Is this what is happening?
I have just put the ascii file in main form table lista and added a test writing in some procedure. The application would crash at init time, before the main frame shows, so i suppose is ABC, i.e. c2j translation of ABC, that is calling get/setnull. I do not know what is get/setnull, or what it should do.
nenad
Copy that : looked at runtime code. Yep changes you made are appropriate. I will make similar changes and comment to subversion.
Aslo I am partly through changes to support timestamps and group over in a file. So far seems to work. Should have a checkin in next 24 hours.
Committed fix