Special variables: Difference between revisions

Content deleted Content added
→‎{{header|D}}: Add Déjà Vu example
Line 398: Line 398:
@wparam% The WPARAM value (for use with ON MOUSE, ON MOVE and ON SYS)
@wparam% The WPARAM value (for use with ON MOUSE, ON MOVE and ON SYS)
</pre>
</pre>

=={{header|bc}}==
There are three special variables:
* <code>scale</code>: determines how many digits after the decimal point a result of an expression will have (possible integer values from 0 to <code>BC_SCALE_MAX</code>, i.e. an implementation-specific maximum; initial value is 0)
* <code>ibase</code>: the input radix (possible integer values from 2 to 16; initial value is 10)
* <code>obase</code>: the output radix (possible integer values from 2 to <code>BC_BASE_MAX</code>; initial value is 10)

{{Works with|GNU bc}}
The GNU implementation adds another special variable, <code>last</code>, that contains the value of the last printed number.


=={{header|C}}==
=={{header|C}}==