File: addons.chapt.txt

package info (click to toggle)
yacas 1.2.2-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 6,072 kB
  • ctags: 4,192
  • sloc: cpp: 16,365; java: 12,263; ansic: 7,235; sh: 4,151; makefile: 556; perl: 517
file content (37 lines) | stat: -rw-r--r-- 978 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
			Platform-dependent packages

*INTRO Certain facilities have been developed for use on Unix-like platforms,
which is currently the main development target for Yacas. Other facilities have limited support on the Windows platform as well. These functions are described in this chapter.


*CMD Version --- show version of Yacas
*CORE
*CALL
	Version()

*DESC

The function {Version()} returns a string representing the version of the currently running Yacas interpreter.

*E.G. notest

	In> Version()
	Out> "1.0.48rev3";
	In> LessThan(Version(), "1.0.47")
	Out> False;
	In> GreaterThan(Version(), "1.0.47")
	Out> True;

The last two calls show that the {LessThan} and {GreaterThan}
functions can be used for comparing version numbers. This 
method is only guaranteed, however, if the version is always expressed
in the form {d.d.dd} as above.

*REM
Note that on the Windows platforms the output may be different:
In> Version()
Out> "Windows-latest";

*SEE LessThan, GreaterThan