Hi Carl, I found out how to insert text at the cursor, so I put the tags back on buttons. I've asked about function keys, but I've had no answer on that one...
Jim Clatfelter
hijim@...
Jul 2, 2001 2:36 am
158
Hi Jim, ... Yes - I saw the answers you received on the main REBOL list. ... Ain't it? (: I just wish I had more time to play. As to reading the function...
Carl Read
carl@...
Jul 3, 2001 10:47 am
159
Hi Carl, I got the cursor placement code all in one function. put: func [a b] [if text-file <> system/view/focal-face [return] insert system/view/caret a ...
Jim Clatfelter
hijim@...
Jul 4, 2001 10:41 pm
160
I'm trying to add an ftp function to my html editor. I'm using the code below, but I get an error message. file-path is set to /C/web/menu.html I know that is...
Jim Clatfelter
hijim@...
Jul 9, 2001 2:16 am
161
I have been trying to learn Rebol by reading "Rebol for Dummies". Currently I am attempting to apply some of the examples from the book into my own practice...
njbrophy2000@...
Aug 23, 2001 1:21 pm
162
Hi Nathan, I'm not sure if this fully solves your problem, but there's a REBOL word (split-path) for seperating file-names from their paths. It puts the...
Carl Read
carl@...
Aug 24, 2001 6:33 am
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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 --...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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...