Jeff's neat solution:
> foreach :row data [print bind row 'a]
but if your 'foreach block doesn't want to know what's in 'row, then:
>> foreach :row data [print bind row first row]
3 DDD VVV 2 1
3 DDD VVV 2 1
3 DDD VVV 2 1
Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-
--
To unsu
Hey guys i finally came up with my very own first script.. its bits and
peices from other code but i got it working.. it makes all the files in a
dir lowercase and then writes all their names to a txt file. Next i've got
to somehow read that textfile for file names and include them as attachments
Can anyone tell me how i could dir and save it in a text file with ONLY the file names
in that directory on seperate lines.. Or tell me if its possible and what i'd need to
use.. Thanks!
Koie Smith
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscrib
This is now working mainly ...
sites/compkarori/GoRim2
You can challenge an opponent by selecting their name with
the mouse. Once a game has finished, you can rechallenge
using the menu on the board.
As I can't figure out yet how to dynamically resize the
board, you select what cell size you
Why can't I change the value of a text-list with
fileList/data: ...
or
fileList/text: ...
in this code? Is there any other way?
REBOL [Title: "File Selector and Directory Navigator"]
view layout [
vh2 "File List:"
fileList: text-list data sort read %. [
either
Hi, Donald,
Donald Dalley wrote:
>
> I have REBOL read a directory, to get a block of file names. I want
> to make two different uses of that file list.
>
...
>
> When the block is written to a file and that file is read with a
> text reader or editor, though, the names are one long, continuou
On 14-Oct-01, Donald Dalley wrote:
> Hi:
> I have REBOL read a directory, to get a block of file names. I want
> to make two different uses of that file list.
> When the block is printed to the console, the list of names is
> separated by a space. The rest of the script interprets the block of
Hi:
I have REBOL read a directory, to get a block of file names. I want to make
two different uses of that file list.
When the block is printed to the console, the list of names is separated by
a space. The rest of the script interprets the block of names, in memory, as
having separate elements
Is there a local database engine in Rebol where I could store
data pulled from Oracle MSSQL etc.
Anybody implemented a data manipulation solution under Rebol?
TIA Sanyi
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the q
On 14-Oct-01, Gregg Irwin wrote:
> Hi Pekr,
> << Imagine Sheep tree example, interpreted in Rebol,it would be
> probably XX times slower ...>>
> I converted the script (appending line points to an images draw
> effect, refreshing the screen only when done, not worrying about how
> to optimize th
Howdy, Miquel:
> >> data: [
> 1 AAA BBB 3 0
> 2 MMM XXX 1 1
> 3 DDD VVV 2 1
> ]
. . .
> but if I want generalize the foreach expression...
>
> >> row: [ a b c d e ]
> == [a b c d e]
> >> foreach row data [ print row ]
...produces one item per line.
Try:
foreach :row data
I'm looking for a simple example of two layouts, that can
resize independently of the other. In other words, I get a
resize event, I want to be able to distinguish which layout
the event came from and just resize that one.
Also, how can one determine whether q layout is visible, or
has been unv
On 12-Oct-01, Carl Sassenrath wrote:
> They would be better off using REBOL, but perhaps they don't want
> their scripts to run and exchange data across 40+ platforms
>
> -Carl
Rebol View works on the Amiga (admittedly slowly) but AmigaDE doesn't.
Nor does it work on Mac.
Something wrong
Hi, Miquel,
Miquel Gaya wrote:
>
> but if I want generalize the foreach expression...
>
> >> row: [ a b c d e ]
> == [a b c d e]
> >> foreach row data [ print row ]
> 1
> AAA
> BBB
...
> DDD
> VVV
> 2
> 1
> >>
>
> row is considered a word, not a block.
> How can I use foreach with a block ?
>
Hi Pekr,
<< Imagine Sheep tree example, interpreted in Rebol,it would be probably XX
times slower ...>>
I converted the script (appending line points to an images draw effect,
refreshing the screen only when done, not worrying about how to optimize the
REBOL code), and here's what I got on my P9
On Saturday 13 October 2001 00:47, Petr Krenzelok wrote:
> - give us Rebol/View running under Elate, and you are suddenly targetting
> all Tao based electronic devices.
> - give View some suggested fixes (alpha, fixed timers, exposed effect
> pipeline or some general engines)
> - or even - make so
Miquel Gaya asked:
> How can I use foreach with a block ?
>> do compose/deep [foreach [(row)] data [print [(row)]]]
1 AAA BBB 3 0
2 MMM XXX 1 1
3 DDD VVV 2 1
Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] w
foreach can be used with a block of words. for example:
>> data: [ 1 AAA BBB 3 0
[2 MMM XXX 1 1
[3 DDD VVV 2 1 ]
== [1 AAA BBB 3 0
2 MMM XXX 1 1
3 DDD VVV 2 1]
>> foreach [ a b c d e ] data [ print [ a b c d e ]]
1 AAA BBB 3 0
2 MMM XXX 1 1
3 DDD VVV 2 1
but if I want generalize
i think i got a long way to go before i learn all that! But it gives me
somewhere to get started! thanks Phil!
koie smith
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 13, 2001 7:00 AM
Subject: [REBOL] Re: Email Attachments
> Hi Koie,
>
Where do you position Rugby compared to the upcoming Rebol/IOS ?
Will Rugby have overlaping features/functionality or it will be a nice
add-on?
TIA Sanyi
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
Hi, Brock,
Brock & Janet wrote:
>
> Carl,
> Thanks. I see how this works. I guess the date? function isn't
> really processing the date and is just reporting back validity
> for the datatype query...
>
Carl's already done a great job with the original question, so I'm
just gilding the lilly.
On Fri, 12 Oct 2001, Carl Sassenrath wrote:
> They would be better off using REBOL, but perhaps they don't want their
> scripts to run and exchange data across 40+ platforms
What? A REBOL/OEM?
Demo version with all sorts of pieces cut
out because "most users dont need it"?
Woutter has pro
Hi Koie,
Well the attachments are sent to attach.r as a block, so just create a block of the
files you wish to attach.
To create a list of files in a directory just do a read on it.
For each of those file names join the directory name and add to block of files to pass
to attach.r.
To count the
Hi Ammon,
> Because we are looking to get the 'b in 'a not in 'd. ;)
Exactly what my code do. Check it.
> Thanks!!
> Ammon
---
Ciao
Romano
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
Perfect Ammon. Thanks.
Paul Tretter
- Original Message -
From: "Ammon Cooke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 12, 2001 6:56 PM
Subject: [REBOL] Re: Update
> You mean dynamically changing the text while the window is open?
>
> view layout [
> q: a
Hi,
today I read John C. Dvorak's collumn in Czech edition of PC Magazine, and
was impressed by his Rugby suggestion. I just jealeously read the paragraph
and imagined Rebol instead of Rubgy ...
IIRC, Tom Chang from Rebol Consulting mentioned some activities in Rebol
promotion area, including po
Carl,
Thanks. I see how this works. I guess the date? function isn't really
processing the date and is just reporting back validity for the datatype
query. You are correct about the date I am retrieving - it is coming in as
a string from an ASK statement to start with and I could use try as
ind
Hi Gabriele,
you have got the right to see it like that. The biggest problem with it is,
that it isn't useful for decribing BLOCK1 and BLOCK2 below:
element: copy []
block1: reduce [element element]
block2: reduce [element copy element]
I would prefer to say, that: "BLOCK1 contains
- Original Message -
From: "Carl Sassenrath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 13, 2001 12:33 AM
Subject: [REBOL] Re: SHEEP vs Rebol
> They would be better off using REBOL, but perhaps they don't want their
scripts to run and exchange data across 40+ pla
On 13-Oct-01, Brock & Janet wrote:
> Should the date? function return false if an invalid date is
> entered?
> For example, when entering (-MM-DD);
>>> date? 2001-12-25
> == true
> So you would think that a False would be returned if a date was
> incorrect, however, unexpectedly;
>>> date?
30 matches
Mail list logo