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?
bdeken@semo.edu
 
Posts: 1
Joined: Thu Sep 12, 2013 7:09 am

Re: TEACH Command

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

HI,

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.
DO
PROMPT "Enter location name ", $loc_name
DOS "here "+$loc_name
TYPE
UNTIL $loc_name == ""

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


Regards
Günter
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

cron