This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

i cant get the program to work. what is wrong?

add-number ( integer a; integer b )
(
  add-number = integer a + integer b
)

Parents
  • For a start, that isn't a program - it's just a small snippet from a program.

    Also, as already noted, it isn't in any programming language supported by Keil tools - so this is the wrong place to ask about it (especially without even stating what language it is supposed to be).

    What is it supposed to do?
    How have you determined that it "doesn't work" - what tests have you conducted? have you thought about any error and/or warning messages that were given?

    Again, as already noted, if you're intending to write a program in the 'C' programming language, then you really need to go right back to basics, get a decent textbook, and start at chapter 1.

Reply
  • For a start, that isn't a program - it's just a small snippet from a program.

    Also, as already noted, it isn't in any programming language supported by Keil tools - so this is the wrong place to ask about it (especially without even stating what language it is supposed to be).

    What is it supposed to do?
    How have you determined that it "doesn't work" - what tests have you conducted? have you thought about any error and/or warning messages that were given?

    Again, as already noted, if you're intending to write a program in the 'C' programming language, then you really need to go right back to basics, get a decent textbook, and start at chapter 1.

Children