fixed a slight bug in parsing 'and' and 'or' in compile_basic_expression().
writing SocketStream
This commit is contained in:
@ -162,7 +162,7 @@ class(#pointer) Array(SequenceableCollection)
|
||||
|
||||
method replaceFrom: start to: stop with: replacement
|
||||
{
|
||||
self replaceFrom: start to: stop with: replacement startingAt: 0.
|
||||
^self replaceFrom: start to: stop with: replacement startingAt: 0.
|
||||
}
|
||||
|
||||
method replaceFrom: start to: stop with: replacement startingAt: rstart
|
||||
@ -177,6 +177,16 @@ class(#pointer) Array(SequenceableCollection)
|
||||
}.
|
||||
}
|
||||
|
||||
method replaceFrom: start count: count with: replacement
|
||||
{
|
||||
^self replaceFrom: start to: (start + count - 1) with: replacement startingAt: 0.
|
||||
}
|
||||
|
||||
method replaceFrom: start count: count with: replacement startingAt: rstart
|
||||
{
|
||||
^self replaceFrom: start to: (start + count - 1) with: replacement startingAt: rstart
|
||||
}
|
||||
|
||||
method = anArray
|
||||
{
|
||||
| size i |
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include 'Magnitu.moo'.
|
||||
#include 'Collect.moo'.
|
||||
#include 'Process.moo'.
|
||||
#include 'Stream.moo'.
|
||||
|
||||
(* -------------------------------------------------------------------------- *)
|
||||
## #include 'FFI.moo'.
|
||||
|
Reference in New Issue
Block a user