Switch to desktop version  
Get Ewon information - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html)
+--- Thread: Get Ewon information (/thread-164.html)



Get Ewon information - claude.feugier@ite-sa.fr - 02-11-2016

Hi,

ViewOn 4.0,

what is the syntaxe to get ewon information or identification ?

to get time : viewon!=time$

to get ewon identification : viewon!=?

Thank's


RE: Get Ewon information - simon - 02-11-2016

The code is


Code:
SETSYS SYS, 'Load'
viewon!= GETSYS SYS, 'Identification'


  2016-11-02_17-19-21.png (Size: 58,05 KB / Downloads: 50)


RE: Get Ewon information - claude.feugier@ite-sa.fr - 03-11-2016

(02-11-2016, 06:20 PM)Simon Wrote: The code is


Code:
SETSYS SYS, 'Load'
viewon!= GETSYS SYS, 'Identification'

Good. Thank you very much indeed.


RE: Get Ewon information - dmned - 21-10-2019

(02-11-2016, 06:20 PM)simon Wrote: The code is


Code:
SETSYS SYS, 'Load'
viewon!= GETSYS SYS, 'Identification'

When I copy/paste the above code into my script I receive 'variable not found'.

<<UPDATE>>
Changed the variable to viewon$ and it worked....


RE: Get Ewon information - simon - 22-10-2019

Hi,

Yes because the variable viewon! only exists when using this script in viewON.

Try

SETSYS SYS, 'Load'
Name$ = GETSYS SYS, 'Identification'
PRINT Name$

Simon