TEACH Command

V+ discussions, tips and tricks, sample code, Q & A

TEACH Command

Postby bdeken@semo.edu » Mon Oct 05, 2015 11:24 am

I'm fairly new to AdeptACE. However, I learned V+ using AdeptWindows. On that system, we used the "TEACH loc_name" command quite a bit. In AdeptACE, I get the message "This command is not allowed." when I try using TEACH. Is this command no longer supported? Does it require a separate license? Can it be recreated as a subroutine?
Posts: 1
Joined: Thu Sep 12, 2013 7:09 am

Re: TEACH Command

Postby Guenter Grass » Fri Oct 09, 2015 2:20 am


the "TEACH loc_name" monitor command is no longer available on the SmartController EX.

You can use
- HERE loc_name
every time you want to store a location.

Or you can write a V+ program that asks for a new location name, e.g.
PROMPT "Enter location name ", $loc_name
DOS "here "+$loc_name
UNTIL $loc_name == ""

To recreate the exact functionality of TEACH you will have to add some more code.

Guenter Grass
Posts: 189
Joined: Thu Oct 16, 2008 4:34 am

Return to V+

Who is online

Users browsing this forum: No registered users and 1 guest