[eduos] Re: EduHelp again


> However, I need some more help, I have problems with the code, for
> example, I can't understand why some code is between ' {    }' , what it
> mean? 

Using '{ ... }' somewhere creates a new stack frame. This way you can
declare new variables in the middle of your code. So, it's useful if you
want your variables near your code. It also makes the variables local
within that block, so no outside code can access them.

> And when I use an if, for example, I read a var  value, I print it,
> and have the expected  value, but when is compared in the if, doesn't
> works.....Do you have idea what could haps?

How do you compare your variables? Use:
        a == 5
instead of
        a = 5

> I have few time for end my  project, so I would want to ask for
> help……..Do you have some basic implementation, I mean a
> shell, basic commands, that I can use for progress fast in my
> job…..

Nope, the only code I have got is the one that is online. By the way, a
shell would be useless since EduOS still can't run it's own executables.
The loading of a file has already been programmed, but executing it is a
little bit harder to manage.

When more comes to mind, feel free to ask.

Greetings,

Frank.


----------------------------------------
The EduOS home page can be found at:
http://studwww.rug.ac.be/~fcorneli/eduos
----------------------------------------

Other related posts: