00001 import javasci.* ; 00002 00003 00004 class Exemple4 { 00005 00006 public static void main(String[] args) 00007 { 00008 SciString S1 = new SciString("Sentence","Who is the best ?"); 00009 00010 S1.disp(); 00011 00012 SciString S2 = new SciString("Sentence2",S1); 00013 00014 Scilab.Exec("Sentence2='Scilab is the best.';"); 00015 S2.disp(); 00016 00017 SciString S3 = new SciString("Sentence2"); 00018 S3.disp(); 00019 00020 Scilab.Finish(); 00021 00022 } 00023 } 00024
1.5.1