OMIKRON "LOCK" COMMAND

Moderators: exxos, simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2058
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

OMIKRON "LOCK" COMMAND

Postby charles » Sun Oct 29, 2017 4:39 pm

Hi
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
atari is my lifestyle,not a hobby.
HOLD ON ! ! !,
Im printing unreadable characters ...!

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2058
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: OMIKRON "LOCK" COMMAND

Postby charles » Mon Oct 30, 2017 5:17 am

further progress ,,ok ther is sytax LOCK OFF
as well..... who kknows the right approach to this commands counterpart?
atari is my lifestyle,not a hobby.
HOLD ON ! ! !,
Im printing unreadable characters ...!


Social Media

     

Return to “Other BASIC”

Who is online

Users browsing this forum: No registered users and 1 guest