Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: How to do a progress bar?

From: sanghabum:aol at: 3-Sep-2001 8:56

Hi Bob, [bpaddock--csonline--net] writes:
> I'd like to add a progress bar to my patent downloading program (if you've > been following that thread).
Try this example, it's about as simple as it gets. the magic parameter is the /data variable which goes from 0 (no bar) to 100 (solid bar) ========= unview/all No-of-steps: 100 view layout [ Mybar: progress 300x30 Button "Do bar " [ Mybar/data: 0 loop no-of-steps [ mybar/data: mybar/data + (1 / No-of-steps) show mybar wait 0.01 ]; loop ] ; action ] ; layout =========
> Rebol looks like it has a lot of potential, but I'm disappointed that it > takes so much digging in the docs to find how to do any thing, and in the > end > still have to come to the list and bother people for help.
You're not the first to notice the docs problem......Every language has its Achilles' heel, and Rebol's is its lack of documentation. That's strangely ironic given RTs mission statement ("We dramatically improve the way people collaborate, communicate, share, and process information across all Internet systems") --Regards, --Colin.