Hi,
At 07:18 PM 4/13/2002 -0500, you wrote:
>Hello Dr. Louis,
>
>Im still learning how to Rebol my way around, so hopefully someone can
>correct me if Im wrong but,
>
>is code & chknum looking for type? string "9898" "BOO"
>or type? string and type? number "BOO" 9898
They are both strings.
>some functions will find string code the first time but afterward
>you must specify them with {"BOO"} brackets in order not to
>loose your #" " characters.
I don't understand what you mean. Please give an example.
Louis
>----- Original Message -----
>From: Dr. Louis A. Turk <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, April 12, 2002 2:43 PM
>Subject: [REBOL] The all function.
>
>
> > Rebol friends,
> >
> > I have the following line of code to check to make sure that a record does
> > not already exist, but it always returns none:
> >
> > rec: all [find database code find database chknum]
> >
> > >> find database code
> > == make hash! ["boo"
> > make object! [
> > code: "boo"
> > chknum: "9898"
> > date: 19-Jan-2001
> > amount: $100....
> > >> find database 2 chknum
> > == "9898"
> > >> rec: all [find database code find database 2 chknum]
> > == none ; Why is this none????????????????
> >
> > Futher testing shows where the failure is happening:
> >
> > >> rec: all [find database code]
> > == make hash! ["boo"
> > make object! [
> > code: "boo"
> > chknum: "9898"
> > date: 19-Jan-2001
> > amount: $100....
> > >> rec: all [find database 2 chknum]
> > == none
> > >> find database 2 chknum
> > == "9898"
> > >> all [find database 2 chknum]
> > == none
> > >> find database 2 chknum
> > == "9898"
> > >>
> >
> > Why?
> >
> > Louis
> >
> > --
> > To unsubscribe from this list, please send an email to
> > [EMAIL PROTECTED] with "unsubscribe" in the
> > subject, without the quotes.
> >
>
>
>--
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the
>subject, without the quotes.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.