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

World: r3wp

[!REBOL3-OLD1]

Pekr
15-Feb-2009
[11635]
E.g. JAVA GWT does that - you can have JAVA native GUI, as well as 
very good browser based one - http://www.gwt-ext.com/demo/
Graham
15-Feb-2009
[11636]
Looks pretty good
PeterWood
15-Feb-2009
[11637]
Pekr: Delphi (and Lazarus) most definititely separate the description 
of the GUI and the code. They are described in different, though 
simiiar langauges and saved in separate files; .dfm for the GUI description, 
.dpr (or .pas) for the code.
BrianH
15-Feb-2009
[11638x5]
No Java on iPhone - same license restriction. Mono's there though, 
and (in theory) you could use IKVM.NET to put Java on that.
I expect that my work on some of my todo list will take the form 
of helping others do it - it's more of a to-get-done list :)
I don't think the DLR can run statically compiled, so that route's 
out.
Also (in theory) you could use GCJ or Excellcior to compile for the 
iPhone, but not their interpreters. No dynamic code allowed.
However, I was not precise enough about my todo list. No REBOL interpreters 
are on it - I want a REBOL-to-JS compiler.
Henrik
16-Feb-2009
[11643]
Who wrote the JS REBOL interpreter I tried a year ago? Gabriele?
BrianH
16-Feb-2009
[11644]
I think so.
Kaj
16-Feb-2009
[11645]
Yep
Mchean
17-Feb-2009
[11646]
I have a question about the Gui_Basics example in the R3 docs.  The 
ex. under Adding styles won't work for me.  title "Opinion Survey" 
comes back with title having no value - this after load-gui
Claude
18-Feb-2009
[11647x4]
hello,
i try to load rebDB-203 in R3 .................          but R3 return 
a error when a try to do a "db-create my-table [id date name]"   
   with  >> db-create "my-table" [id date nom]

** Script error: db-create does not allow string! for its 'table 
argument

** Note: use WHY? for more about this error
This is just to ask if someone has already try to bring tools like 
reddb on R3
rebdb !!!
PeterWood
18-Feb-2009
[11651]
You got further than I when I triead:
>> do %/Users/peter/Code/Library/Rebol/RebDB-203/db.r

** Syntax error: Invalid "string" -- {"Ashley G. TrŸter"}

** Where: to unless load case applier do
** Near: (line 3) Owner:		"Ashley G. TrŸter"
Claude
18-Feb-2009
[11652]
i copy the script and remove the header
PeterWood
18-Feb-2009
[11653]
I don't think anybody has looked at converting tools to R3 yet as 
it is still too early for them.
Claude
18-Feb-2009
[11654x2]
i do after if a load %my-copy-db.r
the function db-create is ok then !-) ............but need much more 
to be good for us
Henrik
18-Feb-2009
[11656]
In general you would be very lucky if a fairly large R2 product works 
directly under R3.
Claude
18-Feb-2009
[11657x4]
i thing it is important for every body who use rebdb !!!!
or perhaps R3 guru would give us a better way to do this ;-)
is the same for rebgui............il would like to see a R3
a R3 demo that do all rebgui do
PeterWood
18-Feb-2009
[11661x2]
The table name you supply to db-create should be a word! not a string!

>> ? db-create

USAGE:

	DB-CREATE 'table columns

DESCRIPTION:

	Creates a table.

	DB-CREATE is a function value
.

ARGUMENTS:

	table (word!)
	
	columns -- Column names (block!)
But when you correct that you get a real R3 compatability error:

>> db-create my-table [id date norm]

 ** Script error: write does not allow string! for its value argument

** Where: db-create

** Near: db-create my-table [id date norm]
Henrik
18-Feb-2009
[11663]
R3 will not be very compatible with R2. You will almost always need 
some kind of porting process, so this is up to the authors of rebdb 
and rebgui, if they want to do that.
Kaj
18-Feb-2009
[11664x4]
Claude and Peter, as I reported here one or two weeks ago, I ported 
my CMS of around two thousand lines
It took a full week to compensate for the changes and bugs. I think 
about half of that could be prevented after fixes and more attention 
to compatibility
The other half is due to planned changes to the design of R3
Anything but the smallest scripts will be affected
Claude
19-Feb-2009
[11668]
ok seem we must do a real port effot from R2 script to R3 !!!!!
DideC
19-Feb-2009
[11669]
Sure.!
BrianH
20-Feb-2009
[11670]
That's what R2-Forward is for.
Pavel
23-Feb-2009
[11671]
Demo is crashing instantly after fetching in a34, anybody has experienced 
the same?
Henrik
23-Feb-2009
[11672]
new alpha?
kib2
23-Feb-2009
[11673]
Henrik: yes. But I've got problems too here on Windows.
Mchean
23-Feb-2009
[11674]
Pavel:  Having same problem with r3-a34.exe
kib2
23-Feb-2009
[11675]
In fact, it's not the demo. Doing a "load-gui" from the console crashes 
all.
Henrik
23-Feb-2009
[11676]
confirmed
Ammon
24-Feb-2009
[11677x2]
I'm running r3-a35 and load-gui is working for me.
view [image %/path-to-img/img.jpg] 

doesn't work for me.
Henrik
24-Feb-2009
[11679]
make image! 88x88 => Crash is marked as fixed. that's interesting.
Ammon
24-Feb-2009
[11680]
Hrm...  I suppose this might have something to do with it.

>> img: load %/t/1.jpg
** Script error: load-jpeg has no value
** Where: case load
** Near: case [
    string? source [to-binary source]
    binary? sou...

** Note: use WHY? for more about this error
Henrik
24-Feb-2009
[11681x2]
ammon, image loading is not available at this time.
there used to be a jpeg loader, but it has been removed for now due 
to changes in LOAD and we're awaiting mediatypes, which would handle 
image loading.
Ammon
24-Feb-2009
[11683]
I guess I'll just have to keep waiting... 

Any idea when that might be done?
Henrik
24-Feb-2009
[11684]
Not yet. I believe there are other things that need to be done first.