close all or close page

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
MrDEB
Posts: 12
Joined: Fri Apr 24, 2009 1:45 am
Location: Salmon, Idaho

close all or close page

Post by MrDEB » Thu Jun 25, 2009 1:00 pm

I am wondering if the code from any pages other than the one on the screen are compiled as well when hitting F10
as far as the modules how come some are editable and some are not??
when trying to change or edit a module I have to copy n paste then edit then remember to delete the other copied module
sometimes I end up with 2 of the same
any suggestions

nigle
Registered User
Registered User
Posts: 36
Joined: Tue Aug 12, 2008 3:13 pm
Location: West London

Post by nigle » Thu Jun 25, 2009 1:11 pm

When you compile, all open files are saved and then the one that was on screen is compiled. Any files referenced by Include statements will also be compiled, files open in other tabs will not be.

If a module cannot be editied, it is because it is in the compiler's own library folder. If these need editing then it is best to copy them to the user library folder first. This allows them to be edited and also prevents them being overwritten with the orginal version of the module when updating the compiler.

If you want to edit the original version instead ( not recommended, but I do it all the time! ) then double click on the padlock icon to remove the read-only status of the file.

Post Reply