Subversion Repositories wimsdev

Rev

Rev 3980 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
19 reyssat 1
 
4747 bpr 2
!set wims_warn_header=<p><span class="wims_warning">$wims_name_warning.</span>
19 reyssat 3
 
4
!if ambiguous iswordof $wims_warn_rawmath
5
 $wims_warn_header
6
 You have entered an ambiguous formula, whose interpretation
7
 by wims may differ from what you meant. Please check the formula.
8
 <p>
9
 !set wims_warn_rmremark=yes
10
!endif
11
 
12
!if unknown iswordof $wims_warn_rawmath
13
 $wims_warn_header
14
 Wims has detected an unrecognized variable or function name 
3980 bpr 15
 <font color="red"><b><tt>$wims_warn_rawmath_parm</tt></b></font>
19 reyssat 16
 in your formula. A typo?
17
 <p>
18
 !set wims_warn_rmremark=yes
19
!endif
20
 
21
!if flatpower iswordof $wims_warn_rawmath
4747 bpr 22
 <p><span class="wims_warning">Hint.</span>
3980 bpr 23
 Want to enter <font color="green">x<sup>2</sup></font>? Type
19 reyssat 24
 <tt>x^2</tt> or <tt>x**2</tt>.
25
 <p>
26
!endif
27
 
28
!if badprec iswordof $wims_warn_rawmath
29
 $wims_warn_header
3980 bpr 30
 ``<tt>x^1/2</tt>'' means <font color="green">x/2</font>! Please type
31
 ``<tt>x^(1/2)</tt>'' for <font color="green">x<sup>1/2</sup></font>.
19 reyssat 32
 <p>
33
!endif
34
 
35
!if unmatched_parentheses iswordof $wims_warn_rawmath
36
 $wims_warn_header
37
 We have detected unmatched parentheses in your formula. Please verify it.
38
 <p>
39
!endif
40
 
41
!if $wims_warn_rmremark=yes
42
 Please always use ``<tt>*</tt>'' for multiplication, and
43
 always enclose function arguments in parentheses.
44
 <small>For experts. If you don't want wims to interprete your expression, 
45
 start it with the string ``<tt>1-1+</tt>''.</small>
46
 <p>
47
!endif
48