Documentation Help nits

samintz

Scott Mintz
May 20, 2008
1,555
26
Solon, OH, USA
The What's New section of the help contains:
Plugins:
You can specify a particular plugin to execute by prefixing the function / variable / command name with the plugin name and a $. For example:

echo %_myplugin$variable
echo %@myplugin@func[abc]
myplugin$mycommand

The correct syntax for those examples should be:
echo %myplugin$_variable
echo %@myplugin$func[abc]
myplugin$mycommand
 
May 20, 2008
12,167
133
Syracuse, NY, USA
I like Rex's first one better!

Code:
v:\> echo %_sysutils$isfg
1

v:\> echo %sysutils$_isfg
ECHO is OFF
 

rconn

Administrator
Staff member
May 14, 2008
12,556
167
The What's New section of the help contains:
Plugins:
You can specify a particular plugin to execute by prefixing the function / variable / command name with the plugin name and a $. For example:

echo %_myplugin$variable
echo %@myplugin@func[abc]
myplugin$mycommand

The correct syntax for those examples should be:
echo %myplugin$_variable
echo %@myplugin$func[abc]
myplugin$mycommand

There's a typo (extra @ that should be a $) in the variable function example in the help. The other two are correct.
 
Jun 2, 2008
401
3
Newton, MA
So does this mean that the variables accessed using the form %_var have a name "var" and are accessed with the special prefix "%_" rather than "%"? I had always thought that the name of the variable was "_var", in which case the access to the version in a particular plugin should be %plugname$_var".
 

Similar threads