Questions tagged [rebol2]

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.

101 questions
0
votes
1 answer

Rebol - How can I append text from a text field to a text list?

I've been exploring the amazing Rebol programming tool. I've run into a problem of trying to append text from a text field into the data of a text-list. My code below adds text to the text-list but changes all previous text to the current one…
awyr_agored
  • 613
  • 3
  • 19
0
votes
2 answers

Value of local variables in a function seems not be released post function calling in Red/Rebol language

I construct a function named find-all to find all indexes of a given item in a series by "recursive". The first calling of find-all gives the right output. However from the second calling, all outputs are appended together. find-all: function…
lyl
  • 293
  • 1
  • 8
0
votes
2 answers

What is the best way to save a hash! block in Rebol?

I am using Rebol2 and would like to persist a HASH! block. Currently I am converting it to-string then using save. Is there a better way? For example: r: make hash! ["one" "two"] I want to save this to a file, then load it back to r.
Atomica
  • 23
  • 6
0
votes
1 answer

Blocks as various data structures in Rebol

I gather that in Rebol one is expected to use a block for representing arbitrary structured data. Are there built-in or standard ways of treating blocks as data structures other than lists? I am thinking of: stacks queues (possibly…
dukereg
  • 722
  • 5
  • 16
0
votes
2 answers

What Could be the Cause of this: ** Command Error: SSL Error: error:14077410:SSL routines:SSL23_GET_SERVER_HEL LO:sslv3 alert handshake failure

Version: REBOL/View 2.7.8.3.1 1-Jan-2011 I have run a REBOL script weekly that fetches data for years. The last verified working of the script 21-Oct-2016. As of today, 28-Oct-2016 the script fails with this error: ** Command Error: SSL Error: …
Time Series Lord
  • 23
  • 1
  • 1
  • 5
0
votes
1 answer

Rebol2 can not connect to MariaDB

I just tried to use Rebol2 with MariaDB using the mysql-driver from softinnov >> read mysql://user:password@localhost/mysql/test ** User Error: ERROR 1251 : Client does not support authentication protocol requested by server; consider upgrading…
sqlab
  • 6,412
  • 1
  • 14
  • 29
0
votes
2 answers

Enumerating the properties of an object

I have an object of which I would like to view all the properties, but using probe prints out pages and pages of information which I cannot possibly read, and using mold prints out only the first bit. >> mold input == {make object! [ type:…
mydoghasworms
  • 18,233
  • 11
  • 61
  • 95
0
votes
1 answer

How do you pass pointers to an external library?

Question. When using external libraries, is there the same pointer! in Rebol2 as there is in Red/System? If the c declaration were: void f (int* i); How would I define the routine!? f: make routine! [ "Does Something" int [pointer!…
kealist
  • 1,669
  • 12
  • 26
0
votes
1 answer

Client disconnect results in a out of range error

Using One of the cookbook examples, I am trying to make a server like so in Rebol2: listen: open tcp://:9999 waitports: [listen] forever [ data: wait waitports either same? data listen [ active-port: first listen append waitports…
kealist
  • 1,669
  • 12
  • 26
0
votes
1 answer

ldapadd with a Rebol command string

I can add or modify an LDAP entry with Rebol by calling ldapadd or ldapmodify by reading the entries from a file with the ldap command option -f. Even the Rebol redirection call/console is working if I add the entries by hand. But I do not know how…
sqlab
  • 6,412
  • 1
  • 14
  • 29
0
votes
1 answer

Getting a reference to an enclosing list/block in Rebol

Given a sublist is there a way to get a reference to it's parent/enclosing list/block? For example: fs: [ usr [ local [ bin [] ] share [] ] bin [] ] l: fs/usr/local ;grab a sublist p: none ;now grab l's parent (which is fs/usr) without…
Sunder
  • 1,445
  • 2
  • 12
  • 22
1 2 3 4 5 6
7