Error message when run program has classes in seperate files

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error message when run program has classes in seperate files

hemasaad
when i run the Main of square program or fraction program on the vmemulator i get these error messages despite these files are found in the same directory of the main file.
"can't find fraction.vm or built in implementation for class fraction"
"can't find SquareGame.vm or built in implementation for calass SquareGame".
can anyone tell me why?
Reply | Threaded
Open this post in threaded view
|

Re: Error message when run program has classes in seperate files

cadet1620
Administrator
hemasaad wrote
when i run the Main of square program or fraction program on the vmemulator i get these error messages despite these files are found in the same directory of the main file.
"can't find fraction.vm or built in implementation for class fraction"
"can't find SquareGame.vm or built in implementation for calass SquareGame".
can anyone tell me why?
When you open a single file in the VmEmulator, only that individual file is loaded.

If you want to load all the .vm files in a directory, you need to open the directory (folder) that contains all the files.

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: Error message when run program has classes in seperate files

hemasaad
Thank you Mark.