Up |
Return supported functions that are under differents licenses. The unsupported functions will always return 'nil'.
These supports are defined at the compilation and can not be changed after.
fun [] [[S I] r1]
Return : [[S I] r1] a list of tuple. For each tuple : the name of the license, supported (1) or unsupported (0).
fun spSupported (item)= _fooS sprintf "license %s : %d" item;; // sprintf is defined in syspack too fun main ()= _showconsole; forList @spSupported syspackSupportedVersion; // forList is defined in syspack too : a for-like from a list 0;;
The code above will display in the console :
license PHP : 1 license GPL2 : 1 license GPL3 : 1
license PHP : 1 license GPL2 : 1 license GPL3 : 0