reorganization (mtlb subdirectory is now compatility_functions modules so archtecture...
[scilab.git] / scilab / modules / m2sci / macros / sci_files / sci_isunix.sci
1 function [tree]=sci_isunix(tree)
2 // Copyright INRIA
3 // M2SCI function
4 // Conversion function for Matlab isunix()
5 // Input: tree = Matlab funcall tree
6 // Ouput: tree = Scilab equivalent for tree
7 // V.C.
8
9 tree=Operation("~",list(Variable("MSDOS",Infer(list(1,1),Type(Boolean,Real)))),tree.lhs)
10
11 tree.out(1).dims=list(1,1)
12 tree.out(1).type=Type(Boolean,Real)
13
14 endfunction