Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMS problems

 
tracy teo
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.. I'm supported to write a rms codes where I can add record, delete record and check whether the record store is empty or not..First, when I start the program, it will go to the record store and check whether there is any record inside. If there is record inside, it will get out of the record store and run the main operation. However, if there is no record found, it will create a record store and add record inside. After adding the record, it will get out of the record store and go to the main operation. At anytime in between the main operation, I can go back to the record store and delete old record and add new record.


This is the RMS code that I have written:


I'm not very sure of the RMS setting and do you think this program code is oki and at the same time, can this program code work and give me the outcome that I have mentioned? Thanks hope someone can help mi

[ August 28, 2005: Message edited by: tracy teo ]
[ August 29, 2005: Message edited by: Mark Spritzler ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it has a spelling error here



And here you can just use the else, instead of the second if statement



This type of code is very common. If you go to java.sun.com and click the J2ME link, then the Technical Articles link on the left, you will find good articles on RMS and that will have the code you are looking for.

Mark
 
tracy teo
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi thanks for your reply..I have went to the java.sun and looked at the code.. Yup quite a detail explaination .. Thanks..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic