Questions tagged [rebol3]

A cross-platform data exchange language and a multi-paradigm dynamic programming language.

A cross-platform data exchange language and a multi-paradigm dynamic programming language designed by Carl Sassenrath for network communications and distributed computing.

207 questions
2
votes
1 answer

Is Rebol suited to fill up on-line web forms?

The title says it almost all. There are tools like AutoHotKey and AutoIt that allow one to send text to fill up on-line web forms and process the the POST answer. I know that Rebol can do the latter. But what about the former?
Luis
  • 1,236
  • 5
  • 22
  • 31
2
votes
3 answers

How to parse simple xml file

>> ? xml No information on xml There's parse-xml but it seems to me that it was for Rebol2. I've searched for xml scripts in rebol.org and found xml-object.r that seemed to me like the most up to date from all searches. I know about altxml, too,…
Luis
  • 1,236
  • 5
  • 22
  • 31
2
votes
2 answers

How do I write to system/ports/input?

I can read from system/ports/input (for example CGI data), but how do I write to this port so I can read it using read system/ports/input? write system/ports/input some-data returns error cannot use write on port! value
rebolek
  • 1,281
  • 7
  • 16
2
votes
2 answers

Does Rebol 3 R3-GUI field support non-ascii string input?

The sometext field just accepts ASCII characters as input now: REBOL [ title: "test" ] load-gui view [ sometext: field ]
abbypan
  • 158
  • 1
  • 11
2
votes
2 answers

How to get the HTTP response headers in Rebol3?

The read and write commands in Rebol, when passed a URL! parameter, can get you either a binary response or an error. So in the "one-off" style of doing a GET or a POST there is nowhere to get the response headers from. result: read…
2
votes
1 answer

Replace specific values in a XML file

There is a snippet from a XML file like this: "...90,123...190...123,90... 123,90,123...901" I want to replace all the number 90 with another number, e.g. 100. Using replace/all will ruin numbers like…
Wayne Cui
  • 835
  • 7
  • 15
2
votes
1 answer

PostgreSQL driver for Rebol?

I am looking at doing some work with Rebol3 and PostgreSQL and trying to plan my approach. It looks like I have the following options: ODBC access. Write my own driver Maybe there is an existing one that would work. ODBC access looks like the…
Chris Travers
  • 25,424
  • 6
  • 65
  • 182
2
votes
1 answer

How do you parse 4-bit chunks from binary?

I'm trying to understand how I might parse binary per 4 bits if it is possible. For example: I have 2-byte codes that need to be parsed to determine which instruction to use #{1NNN} where the first 4 bits tell where which instruction, and NNN…
kealist
  • 1,669
  • 12
  • 26
2
votes
3 answers

How to get radio button selection in Rebol 3?

How do I get the value a user selects in a radio button group? Here is a simple code, what should I add in order to be able to retrieve the user selection? I couldn't find it in the docs. view [ radio "First" radio "Second" radio…
SoleSoul
  • 368
  • 2
  • 14
2
votes
1 answer

Proper way to request-file in Rebol 3 GUI (Saphir build)

Is the following a correct way to get a file type value into a word using request-file? view [ text "Get file type value into a word" button "Target File Path" on-action [ set 'fn1 request-file ] ] :fn1 ; a file value now in…
2
votes
2 answers

Rebol cd requires no %?

I'm using Rebol/Core 278-3.1 on Win-7 64-bit, launched from standard windows command shell. And I'm wondering how to explain to my young friend (a web designer by background) that the interpreter's CD command does not require the %. It reminds me…
2
votes
1 answer

How to set a variable in a Rebol 3 view and use the value after the window closes?

I want to set a variable in a Rebol 3 button handler (GUI) and use the value after the window is closed. How do I get the value outside of the view block? Here is an example code: view [ v_username: field button "Submit" on-action [ …
SoleSoul
  • 368
  • 2
  • 14
2
votes
2 answers

How to do load/library

In the past, using REBOL/Command, this worked fine. Now, I'm trying to load/library a .dll that I compiled and there is no /library refinement for load any longer. What is the equivalent in Rebol 3? Do I have to make an 'extension and import it?
kealist
  • 1,669
  • 12
  • 26
2
votes
1 answer

Rebol 3 - R3-GUI - How to access text from an area?

I'm struggling a lot coming from R2 and dealing with faces. get-facet seems extremely unintuitive to me. Let's say I have an area: view [c: area "hello"] print get-facet c 'text-edit get-facet always returns "hello" even if I type something…
kealist
  • 1,669
  • 12
  • 26
2
votes
1 answer

Rebol 3 - How do you debug using an equivalent of view/new for Saphirion's Rebol

I'm trying to do some testing while working on GUIs, but I am running into trouble having console access at the same time. Rebol 3 >> view/new [button] ** Script error: view has no refinement called new >> help view USAGE: VIEW spec /options…
kealist
  • 1,669
  • 12
  • 26