tf wrote:
> when running this very simple thing, after I'm prompted with "what day?"
REBOL hangs. the rest of the prompts come up "correctly" after I hit enter.
Why is that?
I tried it, after commenting out this line:
change-dir %/home/
'cause I've got no directory with that name, and got:
Script: "Title Here" (27-Dec-1999)
What Day? Monday
How many hours? 3
What did you do? Took attendance records for local school.
What Jobsite? Colenso HS
with this in %mytime.txt:
Day: Monday
Hours: 3
Task(s): Took attendance records for local school.
Jobsite: Colenso HS
It seems OK to me, except for the leading space before these lines:
"Day:"
and:
"Hours:"
But that's due to the space in this:
[{^/ Day: } day {^/ Hours:
after each newline character.
What's the problem? :-\
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, 23 February 2000 12:14 AM
Subject: [REBOL] where does that space come from?
> where does that space come from?
>
> Hey guys,
>
> when running this very simple thing, after I'm prompted with "what
> day?" REBOL hangs. the rest of the prompts come up "correctly" after I
> hit enter. Why is that?
>
>
>
> #!/path/to/rebol -sc
>
> REBOL [
> Title: "Title Here"
> Date: 27-Dec-1999
> File: %file.r
> ]
>
> change-dir %/home/
> day: ask "What Day? "
> hours: ask "How many hours? "
> describe: ask "What did you do? "
> jobsite: ask "What Jobsite? "
>
> output: rejoin [{^/ Day: } day {^/ Hours: } hours {^/Task(s): }
describe {^/Jobsite: } jobsite {^/}]
>
> write/append %mytime.txt output
>
>