Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: variables in layout
Pages: [1] Print
Author Topic: variables in layout  (Read 311 times)
nebol
Guest


Email
variables in layout
« on: March 25, 2006, 09:13:36 AM »

The most basic question you'll see in the next 10 years:

I've tried a number of ways to get a simple layout to show the current date and none of them work.

The basic idea I'm trying to get going is this:

view layout [text "today's date is [now/day]"]

I've tried several variations of the above, but none of them work.
I'm also wondering how, in general, one gets variables to print in layout (i can get this to work in the console using 'print' quite easily).

I'm really amazed at the simplicity of REBOL, but this is stumping me tho i know the answer is probably extra easy.

Help!
Logged
Guest_Sunanda
Guest


Email
variables in layout
« Reply #1 on: March 26, 2006, 02:46:19 AM »

view layout [text join "today's date is" now/day]
Logged
Guest_nebol
Guest


Email
variables in layout
« Reply #2 on: March 26, 2006, 07:37:13 AM »

Many thanks, Sunanda!  Cheesy  That turned the trick quite nicely. Guess I have much more reading to do.  Still, it's amazing how much you can get done by just barely skimming thru some stuff.

I'm so glad REBOL decided to make the basic stuff free (I've looked at it a few times in the past but got scared off by the pricing at first).  This is an amazing scripting language.  For prototyping, all that Qt, Tk, blablabla is a real chore compared to this.

When o when will View be ported to OS X?!
Logged
Henrik
Guest


Email
variables in layout
« Reply #3 on: March 26, 2006, 02:01:21 PM »

Quote
When o when will View be ported to OS X?!

http://www.rebol.net/builds/024/rebview1302024.tar.gz

Still alpha, but works somewhat.
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: variables in layout
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 12:25:08 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2315 Posts in 597 Topics by 4206 Members
Latest Member: amoutbroodo

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc