protecting an element in Block!
[1/3] from: sharriff:aina:med-iq at: 6-Nov-2000 11:28
Hi!
I´m using blocks as databses in my app. Can anyone tell me how to protect
certain values in the blocks?
Example:
admin [
admin "Sharriff Aina
email "[sharriff--aina--med-iq--de]"
]
user1 [
user1 "Userfirstname Userlastname"
email "[userfirstname--userlastname--med-iq--de]"
]
I have written a script that "Removes" the user block from a CGI generated
XHTML form, I would like to protect (write protect) the "Admin" block
somehow without much complication.
Ideas?
Sharriff Aina
med.iq information & quality in healthcare AG
[2/3] from: petr:krenzelok:trz:cz at: 6-Nov-2000 14:11
[Sharriff--Aina--med-iq--de] wrote:
> Hi!
> I´m using blocks as databses in my app. Can anyone tell me how to protect
<<quoted lines omitted: 8>>
> email "[userfirstname--userlastname--med-iq--de]"
> ]
1) you don't need write email as string in rebol, you can use
[sharriff--aina--med-iq--de] without the quotes ....
2) Rebol crashed when tried to use 'protect word upon block ....
admin: ["Petr Krenzelok" [petr--krenzelok--trz--cz]]
protect admin .... causes rebol crash ...
PS: cc'ed to feedback ...
Cheers,
-pekr-
[3/3] from: sharriff::aina::med-iq::de at: 6-Nov-2000 13:34
Thanks anyway Pekr :-(
Sharriff Aina
med.iq information & quality in healthcare AG
Petr
Krenzelok An: [rebol-list--rebol--com]
<Petr.Krenzel Kopie: [feedback--rebol--com]
[ok--trz--cz]> Thema: [REBOL] Re: protecting an element in Block!
Gesendet von:
rebol-bounce@
rebol.com
06.11.00
13:11
Bitte
antworten an
rebol-list
[Sharriff--Aina--med-iq--de] wrote:
> Hi!
>
> I´m using blocks as databses in my app. Can anyone tell me how to
protect
> certain values in the blocks?
> Example:
<<quoted lines omitted: 6>>
> email "[userfirstname--userlastname--med-iq--de]"
> ]
1) you don't need write email as string in rebol, you can use
[sharriff--aina--med-iq--de] without the quotes ....
2) Rebol crashed when tried to use 'protect word upon block ....
admin: ["Petr Krenzelok" [petr--krenzelok--trz--cz]]
protect admin .... causes rebol crash ...
PS: cc'ed to feedback ...
Cheers,
-pekr-
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted