INCLUDE is different from BOOKMARK.
INCLUDE can be a solution but its not my question's answer.
I want to mark a special line in my source code and I want to go there when I want by a shortcut
INCLUDE is different from BOOKMARK.
INCLUDE can be a solution but its not my question's answer.
I want to mark a special line in my source code and I want to go there when I want by a shortcut
So, Just place a label !!! only for that purpose ...
You'll find it in the left window !!!
Then a double click will do your (...) wishes ...
Alain
PS: Copy/Paste will be enough then ... instead of INCLUDE.
Last edited by Acetronics2; - 3rd November 2006 at 14:58.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I thought code following a label was confined to the custody of that label, like in a sub program, NOT SO ?Originally Posted by Acetronics
When you drive your car on the highway... have you to take all exit?
You can have 2019823498723563275642396456872 label but use only 100.. no harm, no preblem, no nothing.
Or maybe i miss something in here?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
So if you do this it won't interrupt your code . . .Originally Posted by mister_e
Main:
Do something useful
if ! useful then
Bookmark1:
do something other
else
goto main
Won't it simply stop when the label Bookmark1 is reached and not finish and
loop?
Undersand A label is just a help in the editor ... better you to understand what you do.
When compiler sees Goto " labex x" ( i.e. ) it just replaces "label x " by the corresponding Hex program line number ... just as when you call a variable " gremlin " it juts replaces " gremlin " by its location in the memory.
The best proof is to uncompile hex programs : you won't find any labels nor variable names ... just line numbers and memory locations !!!
No statement referring to labels or variable names = no effect on hex program...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
using a Label and using the left widow to go this label is not solution. Bookmark is more more more different. When you compile your code, the labels will be compiled by the compiler. But Bookmarks wont. The bookmarks are used only editing time by the editor interface.
sometimes, suing Left Object Inspector Window is not useful to write speedy code. You have to use the mouse and your eyes to watch for the left window area for labels, variabels, consts... But you dont have to use the mouse and your eyes for the bookmarks and also you can be more speedy.
(I dont like using mouse when I write code)
So are you saying, if you were to forget to put return in a subroutine the program would just run into the next line of code, prehaps the code in the following Labeled subroutine?Originally Posted by Acetronics
Bookmarks