Rev 12339 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9623 | guerimand | 1 | !bound step within 0,1 default 0 |
9619 | guerimand | 2 | |
12338 | bpr | 3 | $(type)tot=!recordcnt wimshome/log/classes/$wims_class/$(type)/.$(type)index |
9623 | guerimand | 4 | !if $step=0 |
12338 | bpr | 5 | !if NaN isin $[$($type)/10] or $($type)<1 or $($type)>$($(type)tot) |
6 | error=bad$(type)number $($type) NaN isin $[$($type)/10] or $($type)<1 or $($type)>$($(type)tot) |
||
9623 | guerimand | 7 | !exit |
12330 | bpr | 8 | !endif |
12338 | bpr | 9 | s$(type)=$($type) |
10 | sh=!record $(s$(type)) of wimshome/log/classes/$wims_class/$(type)/.$(type)index |
||
12330 | bpr | 11 | !distribute lines $sh into dir,param,title,desc,status,wksheet,autosheet |
12 | !reset update |
||
13 | !exit |
||
1406 | bpr | 14 | !endif |
15 | |||
9623 | guerimand | 16 | !if $step=1 |
12330 | bpr | 17 | !if $update!=$empty |
18 | job=deldoc |
||
19 | step=0 |
||
20 | !changeto $job.proc |
||
21 | !else |
||
22 | desc=!singlespace $desc |
||
23 | desc=!char 1 to $desc_limit of $desc |
||
24 | title=!singlespace $title |
||
25 | title=!char 1 to $title_limit of $title |
||
18347 | bpr | 26 | !bound wksheet between -1 and $nbsheet default 0 |
12330 | bpr | 27 | !bound status within 0,1 default 0 |
12339 | bpr | 28 | sh=!record $(s$type) of wimshome/log/classes/$wims_class/$(type)/.$(type)index |
12330 | bpr | 29 | !distribute lines $sh into dir,param,b,b,b,b,autosheet |
30 | newsh=$dir\ |
||
9623 | guerimand | 31 | $param\ |
32 | $title\ |
||
33 | $desc\ |
||
7270 | bpr | 34 | $status\ |
9629 | guerimand | 35 | $wksheet\ |
36 | $autosheet |
||
12338 | bpr | 37 | !read proc/updatefield.proc wimshome/log/classes/$wims_class/$(type)/.$(type)index\ |
38 | $(s$type)\ |
||
9623 | guerimand | 39 | $empty\ |
40 | $newsh |
||
12330 | bpr | 41 | message=$name_savemodif |
42 | !endif |
||
9623 | guerimand | 43 | !endif |