system/console/history: nodoesn't seem to break anything.
> gui-console-ctx/cfg/history == ["gui-console-ctx/cfg/history" "gui-console-ctx/history" "system/console/history" "... >> gui-console-ctx/terminal/history == ["gui-console-ctx/terminal/history" "gui-console-ctx/cfg/history" "gui-console-ctx/... >> system/console/history == false
... "dynamic" [ button "add" [ "some code here" ] text "1" field "#FF00C8" text "2" field "#FF00C8" ] ...
@GiuseppeChillemi they are the same (unless I don't know something):
a: [a b] ;== [a ; b ;] aa: [a b] ; == [a b] a = aa ; == true
if you want to add newline (I guess that what you mean by
CR) then you can just add newline in your code (hit enter):
a: [a] ; == [a] append a [ b] ;== [a ; b ;]
However certain operations may delete newlines. You can check and set/clear newlines manually using
arr: [a b c] ; [a b c] arr: next arr ; [b c] new-line? arr ; false new-line arr on ; on = true ; [ ; b c ; ] new-line? arr ; true head arr ; [a ; b c ; ]
foreachwon't work because it gives you element of the series. The element doesn't hold information about new-line markers.
how would you store functions in a block/series and then execute them with foreach. I tried various things along the lines of this:
a: function [x] [x + 1] b: function [x] [x * 2] c: function [x] [x * x] funcs: [:a :b :c] foreach f funcs [ print f 5]
which is printing 'a b c', when I'm trying to get '6 10 25'.