Re: Newbie questions, text processing, for each etc.

Greg Zhang (starnet!apple!mprgate.mpr.ca!gzhang)
Thu, 31 Mar 94 13:59:54 PST

Jerry,

Thanks very much for the reply.

>
> put offset(space, it) into op
> repeat until op = 0
> delete character op of it
> put "-" before character op of it
> put offset(space, it) into op
> end repeat

Thanks for the code. It's rather enlighting. Now, my next question,
how do you set the loc of a answer dialog. I am using

set loc of stack "Answer Dialog" to new_loc
show stack "Answer Dialog"
answer "prompt" with "reply1" or "reply2"

The result is rather interesting. One time out of 2 or 3, it will
get it right. Other times, it will leave it at rough center of the
current stack, the default location.

> By the way: I recommend buying a generic HyperCard book/tutorial since it
> will explain a lot which the MetaCard docs assume you already know. I use
> The Complete HyperCard Handbook (3rd Edition). It provides a good introduction

I will have to follow your advice if I get more involved with
Metacard in the future.

Thanks again.

Greg