REBOL (Relative Expression Based Object Language) is a cross-platform data exchange and multi-paradigm dynamic programming language designed by Carl Sassenrath, for network communications and distributed computing. The language and its official implementation are developed by REBOL Technologies.
Questions tagged [rebol2]
101 questions
3
votes
2 answers
Is there a better way to restyle REBOL VID modal dialogs?
I would like to restyle the modal dialogs in REBOL2's VID, such as alert, request/ok, etc, so that they better fit with the theme of the rest of my application. The only way I've found to do this is to include my own altered version of the request…

James Irwin
- 1,171
- 8
- 21
3
votes
2 answers
Why does map-each preserve the last value for references to the word to set?
map-each can be used to evaluate some code for every member in a collection, and aggregate the results of the evaluation in a block:
>> values: map-each x [1 2] [
print ["Doing mapping for" x]
x * 10
]
Doing mapping for 1
Doing mapping…

HostileFork says dont trust SE
- 32,904
- 11
- 98
- 167
3
votes
1 answer
How do I customise the HTML Filter from Power-Mezz?
I'm experimenting with the HTML Filter module from the PowerMezz library and would like to customise the filter rules for a particular instance of the function. Is this possible?
For example, by default the style attribute is permitted, however I'd…

rgchris
- 3,698
- 19
- 19
3
votes
2 answers
How to download an email from gmail
I am trying to make small mailbox with REBOL/Command, but I cannot connect with my gmail account because the pop server is accessed through SSL on port 995.
>> pop: open/lines ssl://pop.gmail.com:995
>> set-modes pop [secure: true]
>> print first…

Ilia Iliev
- 41
- 3
3
votes
1 answer
Shouldn't bound? 'global-variable return the system/words context?
In Rebol2, if the global context is system/words, why do I get this result?
>> X: 0
== 0
>> same? system/words bound? 'X
== false
What is the context in this case? Or is there a problem with using same? on the global context? (I tried repeating…

kealist
- 1,669
- 12
- 26
3
votes
4 answers
How well does Rebol scale in an FCGI setup?
I plan to write a fairly decent sized web application in Rebol (CGI on Apache 2 at the moment) but the initial performance tests have been very discouraging. I get a measly 4-5 requests/sec when I run apache benchmark on the application. I'd like to…

Sunder
- 1,445
- 2
- 12
- 22
3
votes
3 answers
Is there a way to center gui buttons and fields in Rebol?
Spent hours trying to figure this out and still haven't got it. None of the documentation mentions anything about it. Is this something rebol just can't do without manually having to rearrange everything with origin?
Perhaps I'm just expecting too…

user2020783
- 41
- 3
2
votes
1 answer
How to send an HTTP post with a custom header using REBOL
I've been trying to access a site with REBOL using the site's API, but I'm having problems. The API call expects a custom header and a request in XML format. I've been trying with read/custom, but I'm unsure how to include the header, or what format…

Carl Read
- 51
- 4
2
votes
1 answer
How to read key from keyboad in red/rebol
We can get input from console by input or ask, which means to press some keys on keyboard and terminate the input by pressing the key "Enter".
I'd like to know if there is a way to get a key input, that is to say, just press a key on keyboard and…

lyl
- 293
- 1
- 8
2
votes
3 answers
Rebol: how to split a string into characters
Using Rebol how do I split this string into characters (without using a c-like approach with loops)? I'm using version 2.7.8.2.5 which does not have the split method.
str: "Today is Monday"
I want to split the above into:
[ 'T' 'o' 'd' 'a' 'y' ' '…

awyr_agored
- 613
- 3
- 19
2
votes
2 answers
How to partition a list in Rebol 2
How does one partition a listin Rebol 2? I don't care about final order of partitions.
e.g. I imagined there would be a function something like this:
lst: [1 5 6 5 5 2 1 3]
probe partition lst ; Assuming identity function by default
[[1 1] [5 5…

dukereg
- 722
- 5
- 16
2
votes
0 answers
Rebol2: Determine function arity
I suspect that this might be a colossally dumb question, but I have searched through the documentation for Rebol 2 (what there is) and have not found a good explanation. The question is this: is there a simple way to determine a function's arity in…

MarkI
- 132
- 1
- 7
2
votes
1 answer
How to play a sound with Rebol 2 on Mac OS X
The feature that is missing is to play sound. I'm thinking of calling a system library or a terminal command that would accept the sound name as a parameter.
The goal is to get some sound from, for example, a button click.
PS. I'm using Rebol/view…

felix
- 31
- 2
2
votes
1 answer
Rebol 2 process on Linux halts on SIGTERM after a "day of heavy load"
I am using Cheyenne for a relatively high-load web application. It works great and fast. But I have a problem that started appearing after upgrade to Ubuntu 14.04, or I started noticing it then because the load increased.
After few days of working,…

middayc
- 111
- 8
2
votes
1 answer
How to set style on button action
Note: This was a question on chat
How do I change the style of the button on press?
l: layout [
style bteal button teal
style bred button red
b1: bteal "Ok" [b1/style: 'bred]
]
view l
Want to change like this on button click:
->
The answer…

Geeky I
- 751
- 6
- 22