fn: nsm_mode
[contents]

Contents

Syntax

The syntax for nsm_mode calls is:

f++:  
nsm_mode(string)

n++:  
@nsm_mode(string)

Description

The nsm_mode function is for changing the mode in an interactive session, it is available from both the interpreter and shell modes, it takes a single string parameter to specify the mode which should be one of the following:

  • interp
  • sh

f++ example

Example of nsm_mode being used with f++:

nsm_mode("interp")

n++ example

Example of nsm_mode being used with n++:

@nsm_mode("sh")