ive been toying with omicron and trying to use the LOCK command
so far its cool because its action is to apply a password to a "folded" procedure function or pre defined memory area.
ive managed to decipher part of the syntax , but have ran into a wall with multiple usage of command
anybody further knowledge of this command?
so far
I fold a procedure,function or part of listing( defined by { })
use control +d to fold
EXAMPLE:
Code: Select all
LOCK"PASSON"
GOSUB jk
RUN
EDIT
'press contrl + d with cursor over next line to fold/hide area
{
-jk
print "WHO KNEW VAS DAS?"
RETURN
}
----------------------------
hides subroutione
makes password on
PRINTS "WHO KNEW VAS DAS?"
------------------------------------------
Next!.....
Erase line LOCK"PASSON"
so proceed...
listing should appear like this now
Code: Select all
GOSUB jk
RUN
EDIT
'press contrl + d with cursor over next line to fold/hide area
¤
----------------------------------------
all good
now just include a LOCK "OFF " where LOCK"PASSON" used to be
at top to unlock the procedure hidden.
but
as I mentioned ,it becomes very unmanageable once you lock multiple areas at different times using different passwords
my question is
how to manage the addressing of which password to which area
or better yet
why don't some areas locked become unlocked?
charles