rebol3 Questions
4
All port operations in Rebol 3 are asynchronous. The only way I can find to do synchronous communication is calling wait.
But the problem with calling wait in this case is that it will check event...
Appendicular asked 13/11, 2013 at 14:43
1
the question is about parsing an html stream obtained by load/markup in a way you can get html tags constituent parts, i.e. when you find
<div id="one">my text</div>
you should end...
2
I am trying to make an awk like tool that uses Rebol 3 to process bigger text files with bash pipes and tools. I am having a problem reading STDIN line by line in Rebol 3?
For example this shell ...
1
Solved
How to remove the default title bar on rebol?
2
Solved
Using the REBOL/View 2.7.8 Core, I would like to prepare a view layout beforehand by automatically assigning words to various layout items, as in the following example.
Instead of
prepared-view: ...
2
Solved
I searched a lot on Google as well as Stackoverflow. I could not find How to get Cookies (or in general, The HTTP Headers)from a Webpage and then edit it and send it back?
[I know how to make POST...
3
Rebol2 has an /ANY refinement on the FIND function that can do wildcard searches:
>> find/any "here is a string" "s?r"
== "string"
I use this extensively in tight loops that need to perfor...
4
Solved
I have a mysql schema like below:
data: {
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(10) DEFAULT '' COMMENT 'the name',
`content` text COMMENT 'something',
}
now I want to ...
1
An annoying problem I'm having with the REBOL3 REPL is that it won't accept multi-line statements. For instance, I would like to type "some_obj: make obj! [" , hit enter, and then continue the stat...
2
Solved
The only information I can find on the datatype UTYPE! is "not yet been documented for R3" and "user defined datatype", still giving a shred of hope that I can break out of Rebo...
3
Solved
I've noticed that REBOL doesn't have a built in if...elsif...else syntax, like this one:
theVar: 60
{This won't work}
if theVar > 60 [
print "Greater than 60!"
]
elsif theVar == 3 [
print "I...
Statuary asked 26/4, 2014 at 5:57
1
I've copied Rebol3 to my computer under windows. I am running it from the download not a full install, and it and seemed ok.
I tried using some very simple sample code for the GUI in the console a...
4
Solved
I'm trying to create a dispatcher of functions in Rebol 3, so that for each string the program receives there's an associated function to be called.
For example:
handlers: make map! [
"foo" foo-...
1
Solved
I come from a functional programming background and think first about recursive solutions to problems rather than iterative ones. I'm starting to work with Rebol a bit (specifically R3) and have wr...
Fiche asked 5/3, 2014 at 3:22
2
Solved
I am trying to compare characters to see if they match. I can't figure out why it doesn't work. I'm expecting true on the output, but I'm getting false.
character: "a"
word: "aardvark"
(first wor...
1
What is the simplest way of sending HTTP POST requests and getting response (in XML format for example) using only Rebol3?
Is there an equivalent of using read/custom in Rebol2, as it is done in t...
2
Solved
The purpose of the function below is to return a string having inserted the argument value between two stars.
star-name: func [name /local stars] [
stars: "**"
insert next stars name
stars
]
pr...
2
Solved
I'm new to Rebol, and am working with a small corporate-based group to evaluate it for use in some areas that time and again have proven themselves highly resistant to change and to concepts such a...
1
Solved
There are plenty of nice little web-servers written in Rebol 2, but Rebol 3 has a different networking model, and I'm looking for a web-server that works with that.
I'm not looking for anything fa...
Venetis asked 7/7, 2013 at 22:17
1
Solved
Do any of the REBOL 3 gurus here know why the modified?, exists? and size? functions fail on R3 when targeting a URL?
These functions work fine on local files.
I am very familiar with R2, but R3 ...
6
Solved
I want to convert a block from block: [ a: 1 b: 2 ] to [a 1 b 2].
Is there an easier way of than this?
map-each word block [ either set-word? word [ to-word word ] [ word ] ]
2
Solved
I know you can't use caret style escaping in strings for codepoints bigger than ^(FF) in Rebol 2, because it doesn't know anything about Unicode. So this doesn't generate anything good, it looks me...
Gsuit asked 25/2, 2013 at 22:44
4
Solved
I wrote a JSON encoder/decoder for Rebol 2. I'm rewriting it for Rebol 3 and would prefer to make it available in Rebol 3 as a codec:
load %data.json
save %data.json object
decode 'json to-binary ...
1
Solved
I saw someone mention the reword function today, but documentation for it is very brief. It looks like shell script environment variable substitution, or maybe regex substitution, but different. Ho...
Gert asked 17/2, 2013 at 18:56
2
Solved
Last night I learned about the /redo option for when you return from a function. It lets you return another function, which is then invoked at the calling site and reinvokes the evaluator from the ...
Appointment asked 7/2, 2013 at 21:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.