-
exception QueueError;
val empty : 'a
queue val isEmpty : 'a
queue ->
bool val singleton : 'a -> 'a
queue val fromList : 'a list -> 'a
queue val insert : 'a *...
- or a
special value, a
variant must be used.
Function GetText(Optional By
Val Index) As
String If IsMissing(Index) Then
GetText = Item(CurrentItem) Else...
- type
specifiers char, int,
float and
double (as well as the
boolean type
bool), and the
modifiers signed, unsigned, short, and long. The
following table...
-
memory fetches:
bool is_first_char_valid_alpha_unsafe(const char *p) {
return isalpha(p[0]); //
SEGFAULT highly possible with p == NULL }
bool...
-
Return 0 if ack by the target.
bool i2c_write_byte(
bool send_start,
bool send_stop,
unsigned char byte) {
unsigned bit;
bool nack; if (send_start) { i2c_start_cond();...
- for
filtering lists (using functions).
Usage example:
bool even(int x) {
return x % 2 == 0; }
bool x2(int &x) { x *= 2;
return true; } list<int> l, t; int...
-
patscc fact1.dats -o fact1 $ ./fact1 4
compiles and
gives the
expected result bool (true, false) int (literals: 255, 0377, 0xFF),
unary minus as ~ (as in ML)...
- of
Boolean operators. In: OP ANDF = (
BOOL a,PROC
BOOL b)
BOOL:(a | b | FALSE); OP ORF = (
BOOL a,PROC
BOOL b)
BOOL:(a | TRUE | b); b is only
evaluated if...
-
operator is
typed to only take two
values of the same type: # x = y;; - :
bool =
false So they must be the same type, or else this wouldn't even type-check...
- option_t0ype_
bool_type (a: t@ype+,
bool) = | Some(a, true) of a | None(a, false)
stadef option = option_t0ype_
bool_type
typedef Option(a: t@ype) = [b:
bool] option(a...