Page 1 of 1

Code Disable

Posted: Wed Nov 18, 2009 11:07 am
by luthra_arun
Hi to all,
How do i Disable the code block in the project.

Re: Code Disable

Posted: Wed Nov 18, 2009 11:40 am
by Benj
Hello

What do you mean by Code Block?

If you mean chip memory protection settings then they can be disabled by clicking on Chip -> Configure -> Expert mode.

Re: Code Disable

Posted: Thu Nov 19, 2009 10:57 am
by luthra_arun
No i mean to say that if i am doing large progam and while doing the programming i need to disable the particler line of code like in C we use
/* */ to diable the code block and (//) to disable the line of code.

Re: Code Disable

Posted: Tue Jan 05, 2010 4:01 pm
by Benj
One simple way of doing this is to add a decision icon to your program leaving the decision case as 0. This will have the effect of never being yes so you can put your unwanted or 'commented' out code into the yes branch. Then when you want to put the code back simply drag it out of the decision icon or go into the decision icon and change the parameter to 1. This will have the effect of always being yes.