r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[SDK]

Geomol
6-Feb-2009
[1208]
with = without
Henrik
6-Feb-2009
[1209]
they already do. you can do all this the same way in R2 by going 
to the console and typing:

do http://www.somewhere.com/script.r

the browser will just present the scripts a little differently.
kib2
6-Feb-2009
[1210]
Geomol: that's really cool. And inside my index.r, I just have to 
write the references to all my rebol scripts ?
Geomol
6-Feb-2009
[1211x2]
An index.r file can look like this:
http://home9.inet.tele.dk/johnn/index.r
You can have references to REBOL script, but also to HTML pages, 
documents, images, etc etc.
kib2
6-Feb-2009
[1213]
Geomol: that's really simple.
Geomol
6-Feb-2009
[1214]
yes, REBOL is really simple! :-)
kib2
6-Feb-2009
[1215]
From your two points of view, should I start playing with R2 or switch 
to R3 direclty (even if it's buggy)?
Geomol
6-Feb-2009
[1216x2]
So you can think of the Viewtop as kind of a browser, than can link 
together content from all over the internet.
Start with R2. If you have time left, look at R3 too.
Henrik
6-Feb-2009
[1218]
I agree with Geomol. You probably probably won't bump into too many 
shortcomings in R2 this early.
kib2
6-Feb-2009
[1219]
Ok, so I've prepared some Rebol lectures for tonight. I have to go. 
Let me thank you for your kindness, and I hope to see you soon here.
Geomol
6-Feb-2009
[1220]
A lot of what you do will run in R3 too. GUI have some changes, but 
you can go develop final programs in R2 now.
Henrik
6-Feb-2009
[1221]
have fun!
kib2
6-Feb-2009
[1222]
Bye!
Geomol
6-Feb-2009
[1223]
bye kib!
Maxim
6-Feb-2009
[1224x2]
yes R2 is a viable tool for commercial apps, Ive done a few.
have fun kib :-)
Brock
7-Feb-2009
[1226x2]
You know, that is interesting looking back at the ViewTop.  It's 
not something I played with and have even forgotten about.  I'll 
need to relook at that.
it creates a nice little desktop.
Geomol
7-Feb-2009
[1228]
If the Viewtop could handle bookmarks in a good way (like a browser), 
and if there was a nice utility to manage index.r files, it might 
be something.
amacleod
2-Mar-2009
[1229x9]
I'm trying to encap a script but I keep getting error: Cannot load 
file:


THe program runs fine and loading it does not seem to produce any 
errors.

Any suggestions?
using rebface I get a sytax error for the following:


 if s/x > cell_sizes/:c/x [cell_sizes/:c: s cell_matrix/:c: reduce 
 [r c]]

Syntax Error: Invalid word -- :c:
What is another way to write that?
Used poke


if s/x > cell_sizes/:c/x [poke cell_sizes c s poke cell_matrix c 
reduce [r c]]

seems to work...
No errors in rebface
Got it to Encap...

but I just get a console window with the code scrolling through...
I was able to catch the top of the output:

I think there is an error in mysql-protocol.r
MZ has no value....

Anyone else have a problem encaping mysql-protocol.r?
Can't find a refernec to MZ in mysql-protocol or my program
refernec = reference
Chris
2-Mar-2009
[1238]
cell_sizes/(c):

Is a valid set-path...
amacleod
2-Mar-2009
[1239]
Thanks Chris...
amacleod
3-Mar-2009
[1240]
The order of the include files seems to have an effect the error...


I moved the rebol mezz functions to the begining and now I get this 
error:

** Script Error: user-prefs has no value
** Where: vbug
** Near: if not dbg: user-prefs/debug [exit]
Graham
3-Mar-2009
[1241x2]
no
you have to create that object ... it's a long standing sdk bug
amacleod
3-Mar-2009
[1243]
EVery time I move the includes around I get a different error message...
Graham
3-Mar-2009
[1244x2]
so, if encapping anything with view

user-prefs: [ debug: false ]
I think the error only occurs if you use request-download or similar
amacleod
3-Mar-2009
[1246]
I did have an include with request-download but I removed it as I 
thought that might be causing a prob...
But I'm getting other errors related to the includes
Graham
3-Mar-2009
[1247]
what are your include statements?
amacleod
3-Mar-2009
[1248]
#INCLUDE %"/C/Program Files/rebol/rebol-sdk/source/mezz.r"
#INCLUDE %"/C/Program Files/rebol/rebol-sdk/source/prot.r"
#INCLUDE %"/C/Program Files/rebol/rebol-sdk/source/view.r"

#INCLUDE %sqlite.r
#INCLUDE %mysql-protocol.r
;#INCLUDE %updater.r


;#INCLUDE %include.r
;#INCLUDE %window.r

;#INCLUDE %scroll-panel.r
;#INCLUDE %scroll-wheel-handler.r
#INCLUDE-binary %fd_shield.jpg
#INCLUDE-files %data [guest.db demo_template.db]
;#INCLUDE %sqlite3.dll
Graham
3-Mar-2009
[1249]
#INCLUDE-binary %fd_shield.jpg  ???
amacleod
3-Mar-2009
[1250]
How about the dll?
Should that be -binary too?
Graham
3-Mar-2009
[1251]
you can't just include a binary file
amacleod
3-Mar-2009
[1252]
#INCLUDE-binary %fd_shield.jpg  ???

This is according to manual if you want to keep the image compressed 
uuntil used
Graham
3-Mar-2009
[1253x3]
I don't think so.
what do the docs actually say?
I don't think you need mezz.r either
amacleod
3-Mar-2009
[1256]
image: #INCLUDE-binary %fd_shield.jpg
Graham
3-Mar-2009
[1257]
that looks better