~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to demos/fec/fec.dem

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
mode(-1)
 
2
// Copyright INRIA
 
3
oldln=lines();
 
4
lines(0)
 
5
deff('[]=demoex(num)','exec(''SCI/demos/''+demolist(num,2))')
 
6
demolist=[
 
7
'Graphics : Fec 1','fec/fec.ex1';
 
8
'Graphics : Fec 2','fec/fec.ex4';
 
9
'Graphics : Fec 3','fec/fec.ex2';
 
10
'Graphics : Fec 4 : Sfgrayplot ','fec/fec.ex3'];
 
11
 
 
12
while %t then
 
13
  num=x_choose(demolist(:,1),'Click to choose a demo');
 
14
  if num==0 then 
 
15
     lines(oldln(1))
 
16
     return
 
17
  else
 
18
     demoex(num)
 
19
  end,
 
20
end