Identify interpreter and version?
4 posts
• Page 1 of 1
Identify interpreter and version?
Is there a way to query whether I am running Dyalog APL and what version?
APL+Win has system functions ⎕SYSID and ⎕SYSVER for this; I'm looking for something similar.
(I am a very experienced APL programmer, but new to Dyalog.)
APL+Win has system functions ⎕SYSID and ⎕SYSVER for this; I'm looking for something similar.
⎕SYSID
APL+Win
⎕SYSVER
10.3.01 Dec 29 2010 10:32:25 Win/32
(I am a very experienced APL programmer, but new to Dyalog.)
- rex
- Posts: 12
- Joined: Sat Jun 10, 2023 10:49 pm
Re: Identify interpreter and version?
Assuming you'd like to do this under program control, this magical formula will work:
See https://help.dyalog.com/18.2/Content/GUI/Properties/APLVersion.htm
Cheers!
- Code: Select all
'.' ⎕WG 'APLVersion'
Mac-64 18.2.45405.0 S Development
See https://help.dyalog.com/18.2/Content/GUI/Properties/APLVersion.htm
Cheers!
- petermsiegel
- Posts: 159
- Joined: Thu Nov 11, 2010 11:04 pm
Re: Identify interpreter and version?
That's fine. Thanks a lot.
- rex
- Posts: 12
- Joined: Sat Jun 10, 2023 10:49 pm
Re: Identify interpreter and version?
These (if they succeed and return the result) should be a guarantee:
2⊃⎕NPARTS⊃2⎕NQ#'GetCommandLineArgs'
dyalog
{0::⎕DMX.Vendor ⋄ .}⍬
Dyalog
-
Adam|Dyalog - Posts: 143
- Joined: Thu Jun 25, 2015 1:13 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group