World: r3wp
[SDK]
older newer | first last |
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 [1257x2] | that looks better |
I have this in mine arrow.png: load #include-binary %3flex/assets/arrow.png | |
amacleod 3-Mar-2009 [1259x2] | It says to build view from enface you need mezz.r |
That's not where I'm getting my errors..for now anyway. | |
Graham 3-Mar-2009 [1261x4] | I think it's included with the others |
I'm not including mezz.r .. I have mine commented out | |
anyway, it doesn't matter | |
yes, binary too for dll | |
amacleod 3-Mar-2009 [1265] | ** Script Error: edge-size? has no value ** Where: context ** Near: test-window/size: test-window/size + edge-size? test-window |
Graham 3-Mar-2009 [1266x2] | Have you built any view apps? |
Just build a skeleton view app first | |
amacleod 3-Mar-2009 [1268] | Just one...a small one with no includes besides view.r |
Graham 3-Mar-2009 [1269] | keep it ..and include all the stuff you need, and see if the simple one still works |
older newer | first last |