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

« back to all changes in this revision

Viewing changes to macros/m2sci/sci_choices.sci

  • 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
function [stk,txt,top]=sci_choices()
 
2
 
 
3
// Copyright INRIA
 
4
RHS=[]
 
5
for k=1:rhs
 
6
  nam=stk(top-rhs+k)(1)
 
7
  RHS=[RHS nam]
 
8
end
 
9
num=gettempvar(1)
 
10
txt=['while %t;'
 
11
  num+'=x_choose(labels,header,''Close'')'
 
12
  'if '+num+'==0 then break,end'
 
13
  'execstr(callbacks('+num+'))'
 
14
  'end']
 
15
stk=list(' ','-2','0','0','1')