[ [1 2] [3 4]]).
i: make image! [100x100] repeat ith to-integer (93) [ i/:ith: blue ]
i2: copy/part i 96x1
i2: copy/part i 1x96
We don't think we're better because of our experience, but because of the design. That said, Java is a fine language, even if it's not my cup of tea. It was designed for a specific purpose, and serves that need well. When Red has as many years and additions as Java, then we'll have to see how well we continue to fight complexity and bloat. Red (and Rebol) were designed with very specific goals in mind, and are beautiful languages IMO. However, there's always room for improvement.
But let's come back to the issue at hand. You don't like X, but you haven't shown that you understand why X is the way it is, and if we do what you want, it will hurt the language, not help it. Do you understand why
while are different in their parameter design? Once you've shown that you do, please provide a concrete proposal which can be discussed and evaluated.
+: :add, and only then type
do [+: :add]. Or type
do [+: :add]twice.
*: :multiply, for example, seems to be harmless.
Red [needs: 'view] view [ f1: field button "Evaluate" [ view [text f1/text] ] button "Quit" [quit] ]
produces this error message:
Script Error: VID - invalid syntax at: [f1/text] Where: do
Stack: view do-events do-actor do-safe view layout cause-error Script Error: head does not allow none! for its series argument
Where: head Stack: view do-events do-actor do-safe error? do-actor do-safe eval-set-path
Whereas this works:
Red [needs: 'view] view [ f1: field button "Evaluate" [ x: f1/text view [text x] ] button "Quit" [quit] ]
I am using red-25oct18-12ad56be.exe.
loading 40MB might not work on Red yet. If it is not mandatory to
view [base draw [b: box 2x2 3x3 ] on-up [b/2: b/2 + 1]]but they uses
view [base draw [box 2x2 3x3 ] on-up [face/draw/2: face/draw/2 + 1]]). Is there a reason for this?
b1: box pos-start: 2x2 pos-end: 3x3is not possible). They disallow this because it's just easier to parse (draw) or is there another reason?
hello! is there an equivalent for the Rebol dt function in Red? I'm trying to load a 40MB file that contains a block! without success. I would like to graph the loading time for a sample of files of different size to understand the limits of the Red loader. thank you!
Does it load with Rebol2?
If yes, how much memory does it use in Rebol?
Could you provide us with a copy of that file for testing?