Search the web
Sign In
New User? Sign Up
Rebol_New · For beginning Rebol programmers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 163 - 192 of 315   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
163
my-data: read/lines %billing.lst x: 1 print my-data/1 print my-data/x print my-data/x gives me an invalid path error. Can't I use a variable here? I'm trying...
Jim Clatfelter
hijim@...
Send Email
Sep 22, 2001
2:43 am
164
print my-data/:x Note the colon. Andrew Martin ICQ: 26227169 http://zen.scripterz.org -><-...
Andrew Martin
Al.Bri@...
Send Email
Sep 22, 2001
3:20 am
165
... Hi Jim, You can access values within a series with a word using the following syntax... print my-data/:x This can be extended to include access to series...
Carl Read
carl@...
Send Email
Sep 22, 2001
4:00 am
166
Thanks Andrew and Carl, ... second variable (:n) to get to a character within a line. That would be just like the first basic I ever learned (AFP BASIC --...
Jim Clatfelter
hijim@...
Send Email
Sep 22, 2001
3:39 pm
167
... == ["abcde" "fghij" "klmno"] ... == 2 ... == 3 ... == "hij" Yep - works. (: Oh, if you're meaning a text-file, you'd first need to parse the file to...
Carl Read
carl@...
Send Email
Sep 22, 2001
4:59 pm
168
... I believe it's a bug in Rebol. Andrew Martin ICQ: 26227169 http://zen.scripterz.org -><-...
Andrew Martin
Al.Bri@...
Send Email
Sep 22, 2001
9:34 pm
169
... Do you know if it's been reported as such? It seems unlikely to me it would've been left this long if it was a bug, as if it's supposed to work like the...
Carl Read
carl@...
Send Email
Sep 22, 2001
11:37 pm
170
... would've been left this long if it was a bug, as if it's supposed to work like the above then it's a pretty major bug to leave un-fixed. I don't recall at...
Andrew Martin
Al.Bri@...
Send Email
Sep 23, 2001
3:43 am
171
I've managed to load the data and display the first record of seven lines, but after that I get errors. I'm sure this is very poor REBOL -- repeating each...
hijim@...
Send Email
Sep 24, 2001
12:00 am
172
Jim's Problem: I've managed to load the data and display the first record of seven lines, but after that I get errors. I'm sure this is very poor REBOL --...
Andrew Martin
Al.Bri@...
Send Email
Sep 24, 2001
1:25 am
173
Jim, try this: [ REBOL [ Title: "Database" File: %database.r Date: 20-Sep-2001 Author: "Jim Clatfelter" Purpose: [] ] my-data: read/lines %billing.lst asn:...
Andrew Martin
Al.Bri@...
Send Email
Sep 24, 2001
1:44 am
174
Jim, this might be helpful: http://www.rebol.com/docs/view-guide.html Andrew Martin ICQ: 26227169 http://zen.scripterz.org -><-...
Andrew Martin
Al.Bri@...
Send Email
Sep 24, 2001
1:51 am
175
"I'm under the impression that you thought that your original code was interpreted by Rebol as Rebol script, instead of the special 'layout dialect." Thanks...
Jim Clatfelter
hijim@...
Send Email
Sep 24, 2001
3:37 am
176
... Something else about layouts Jim: This may or may not have anything to do with what you're working on, but it's interesting, anyway. (: The following... ...
Carl Read
carl@...
Send Email
Sep 24, 2001
7:15 am
177
I've managed to get the database to display and scroll with up/down and first/last buttons, and I think I can get most of the functions I need by referring to...
Jim Clatfelter
hijim@...
Send Email
Sep 27, 2001
1:47 am
178
Okay, I have to insert something, maybe whatever delimits or separates the lines. It's not a newline. Nothing shows when I print the file. Jim...
Jim Clatfelter
hijim@...
Send Email
Sep 27, 2001
2:35 am
179
... You're so close! Try: button blue "Insert" [loop 7 [insert at my-data x ""]] or: button blue "Insert" [insert at my-data x reduce ["" "" "" "" "" "" ""]]] ...
Andrew Martin
Al.Bri@...
Send Email
Sep 27, 2001
6:29 am
180
... insert: native[ {Inserts a value into a series and returns the series after the insert.} series [series! port! bitset!] "Series at point to insert" value...
Andrew Martin
Al.Bri@...
Send Email
Sep 27, 2001
6:38 am
181
Thanks Andrew, That does it! button blue "Insert" [ loop 7 [insert at my-data x ""] asn x ] button blue "Delete" [ loop 7 [remove at my-data x ""] asn x ] I...
Jim Clatfelter
hijim@...
Send Email
Sep 28, 2001
3:15 am
182
... and newline to turn it back to a standard text file -- I hope. Try: write/lines my-data first. Andrew Martin ICQ: 26227169 http://zen.scripterz.org -><-...
Andrew Martin
Al.Bri@...
Send Email
Sep 28, 2001
5:25 am
183
Actually try: write/lines %MyFileName.txt my-data first. Andrew Martin ICQ: 26227169 http://zen.scripterz.org -><- ... From: "Andrew Martin"...
Andrew Martin
Al.Bri@...
Send Email
Sep 28, 2001
5:26 am
184
The database in Rebol now does almost everything the one in BASIC does. I still need to program it to print monthly bills, but that's easy. What I am trying to...
Jim Clatfelter
hijim@...
Send Email
Sep 30, 2001
10:41 pm
185
... read every 7th line only -- line 1, 8, 15, etc.? Some kind of 'skip? That would give me names only -- not all the other data. If the customer name is in...
Andrew Martin
Al.Bri@...
Send Email
Sep 30, 2001
11:50 pm
186
Hi Andrew, I tried name-list: text-list data skip my-data 7 but I still get the whole of my-data, not just every 7th line. If I can get just the names into...
Jim Clatfelter
hijim@...
Send Email
Oct 1, 2001
2:28 am
187
Hi Jim, ... I think you'd be better to add your name list later instead of trying to build it in your layout, then use find as Andrew suggested. Perhaps...
Carl Read
carl@...
Send Email
Oct 1, 2001
10:22 am
188
... USAGE: EXTRACT block width DESCRIPTION: Extracts every n-th value from a series. EXTRACT is a function value. ARGUMENTS: block -- (Type: block hash) width...
Andrew Martin
Al.Bri@...
Send Email
Oct 1, 2001
10:57 am
189
... Heh. (: I knew of extract, but it didn't behave as I'd hoped when I first looked at it. Odd it's block-only, too... ... ** Script Error: extract expected...
Carl Read
carl@...
Send Email
Oct 1, 2001
8:55 pm
190
Hi Martin, Your code got me the list of names into the text-list, but the slider had no bar to slide up and down to scroll through the names. name-list:...
hijim@...
Send Email
Oct 2, 2001
2:24 am
191
Oops! name-list: text-list data names-only 200x350 That's the line that got the names into the list. The other code only constructed the 'names-only data. Jim...
hijim@...
Send Email
Oct 2, 2001
2:27 am
192
Jim, It's probably a good idea now to show your complete script to the main list, and look at refactoring it, with input from everyone there. What do you ...
Andrew Martin
Al.Bri@...
Send Email
Oct 2, 2001
4:17 am
Messages 163 - 192 of 315   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help