Skip to main content
Skip table of contents

permit

Usage

>> permit [ command ]

Security

Open. Permitted commands may have further restraints (i.e., may be unsafe).

Description

Permits a protected command to be executed immediately after this one; receipt of anything else removes the permission again. Any other constraints on executing a particular command will still apply. It is not an error to 'permit' a command which does not need it, merely unnecessary.

It takes as a mandatory parameter:

  • command = <commandname>, where <commandname> is the command to permit.

Examples

CODE
>> permit command = memclear
<< permit command = memclear
>> memclear
<< memclear used = 0

Successfully clears the data memory.

CODE
> memclear
<< E0103 protected command, use 'permit command = memclear'

Fails because memclear is a protected command.

CODE
>> permit command = memclear
>> id
>> memclear
<< E0103 protected command, use 'permit command = memclear'

Fails because permit must immediately precede the protected command.

Errors

Error E0107 expected argument missing 
No <command-name> argument was given.

Error E0108 invalid argument to command: '<invalid-argument>' 
The <command-name> argument given is not a recognized command. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.