Ewon TechForum
Providing technical solutions to technical requests


Find the number of tags
hjl Offline
Junior Member
#1
In a script I like to find number of tags.
From an example I found I made this:

// Finding number of tags
    Onerror "GOTO EndCount"
    For i% = 0 To 500
      Setsys Tag,"load", -i%
    Next i%
EndCount:
  LastTag% = i% - 1

It works but an Error is shown on the console. 
Can I supress this error message or is it an better way to find the number of tags?
 
Reply

AngelaT Offline
Ewon Distributor
#2
GETSYS PRG,"NBTAGS" will return the number of tags.
Reply



Possibly Related Threads…
09-03-2020, 01:48 PM
Last Post: simon
05-03-2020, 01:25 PM
Last Post: ziozetti
  Random Number Generator Started by AJ123
4 Replies - 2.006 Views
20-09-2019, 06:44 AM
Last Post: irshadhashim
  GsmIMEI number to MEM tag Started by IHC
3 Replies - 473 Views
03-09-2019, 05:30 PM
Last Post: simon
19-08-2019, 10:40 PM
Last Post: gomzy04
13-08-2019, 04:06 PM
Last Post: gomzy04
08-08-2019, 06:22 PM
Last Post: simon
  Phone number problems Started by Weeto
2 Replies - 1.810 Views
29-05-2019, 09:03 AM
Last Post: samore
  Creating tags in BAsIC IDE Started by ProAuto
1 Replies - 1.011 Views
16-05-2019, 07:18 PM
Last Post: ProAuto
06-09-2018, 11:28 AM
Last Post: stefan.becker@rosond.com



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy