[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

rb_load_file crashes when there no bracket is provided

Saravanan Sar

7/16/2007 1:21:00 PM

Hi,

When i tried to load the below mentioned code using rb_load_file it
works

def Category(pArg1)
lvalue = ("\"" + "CatA" + "\"" + pArg1)
eval "#{lvalue}"
end

def is(pArg1)
return "==\"" + pArg1 + "\""
end

i = Category(is('CatB'))

But when i changed the line
i = Category(is('CatB')) to
i = Category is 'CatB' #removing the brackets
rb_load_file crashes. btw i am using borland c++ 6.0

How to solve this problem?

Thanx in advance.

Cheers,
Saravanan A

--
Posted via http://www.ruby-....

22 Answers

Phil Meier

7/16/2007 1:58:00 PM

0

> But when i changed the line
> i = Category(is('CatB')) to
> i = Category is 'CatB' #removing the brackets
>
Why do you need to remove brackets?

Saravanan Sar

7/16/2007 2:12:00 PM

0

Phil Meier wrote:
>> But when i changed the line
>> i = Category(is('CatB')) to
>> i = Category is 'CatB' #removing the brackets
>>
> Why do you need to remove brackets?

This is basically a set of rules that our client will define. I am
writing DSL so that it will be easy for our client. When i execute the
same using ruby.exe it works but with bracket warning. I think
rb_load_file is crashing because of this warning message.

Please help me

Regards,
Saravanan A

--
Posted via http://www.ruby-....

Saravanan Sar

7/16/2007 3:04:00 PM

0

when rb_gv_set("VERBOSE", Qnil)is executed, it works fine. Basically
this will suppress all the warnings. This is equivalent to "ruby -w"

Saravanan Sar wrote:
> Phil Meier wrote:
>>> But when i changed the line
>>> i = Category(is('CatB')) to
>>> i = Category is 'CatB' #removing the brackets
>>>
>> Why do you need to remove brackets?
>
> This is basically a set of rules that our client will define. I am
> writing DSL so that it will be easy for our client. When i execute the
> same using ruby.exe it works but with bracket warning. I think
> rb_load_file is crashing because of this warning message.
>
> Please help me
>
> Regards,
> Saravanan A


--
Posted via http://www.ruby-....

The Peeler

12/8/2010 9:14:00 PM

0

On Tue, 7 Dec 2010 19:49:27 +0000 (UTC), RJ11 <rj11@nospam.com> wrote:

>In article <4cfe71d5$1@news.x-privat.org>, Zulu <zulu@freespeech.com> wrote:
>
> (snip "Holocaust revisionism" drivel)
>
> Deal with the facts, nazi kook.
>
> A document which mentions a "gassing cellar" in an Auschwitz-Birkenau
>crematorium:
>http://www.holocaust-history.org/~dkeren/documents/auschwitz/Vergasungke...
>
> A document requesting cyanide gas detectors for an Auschwitz-Birkenau crematorium:
>http://www.holocaust-history.org/~dkeren/documents/auschwitz/Gas-Dete...
>
> SS labor deployment report, listing 870 stokers in the Auschwitz-
>Birkenau crematoriums:
>http://www.holocaust-history.org/~dkeren/documents/auschwitz/au...
>
> A study of the cyanide compounds in the Auschwitz gas chambers:
>http://www.holocaust-history.org/auschwitz/chemistry/iffr/re...
>

holocaust??-history.org is a shabbos goy website, Jacobsohn, you
obnoxious jew asshole. As such it cannot be objective.

GB

12/9/2010 12:49:00 AM

0

The Peeler wrote:
>
> Or emigrated to Palestine, South America, North America...

And totally lost interest in their kids .... sure.






--
Murphy's ultimate law is that if something that could go wrong doesn't,
it turns out that it would have been better if it had gone wrong.


GB

12/9/2010 12:59:00 AM

0

The Peeler wrote:
>
> You're a closet jew, aren't you?

I'm not sure what a closet jew is? I'm inclined to the theory that in fact
you are a jew or a sympathiser and you have assumed this internet persona in
order to discredit holocaust revisionists. You advance your theories so
badly that that is the only viable conclusion.




--
Murphy's ultimate law is that if something that could go wrong doesn't,
it turns out that it would have been better if it had gone wrong.


mirjam

12/9/2010 5:38:00 AM

0

>
> Go on then. Prove it.  Bear in mind that the databse was compiled from
> individual testimonies, verified as far as possible, but certainly not
> foolproof.
>
> Also, does it happen often enough to invalidate the whole database?

As a matter of fact , all researchers work very hard to verify lists,
Comparisons are made, between lists from municipalities, Country
statistics, Red cross lists, etc etc..
There are special radio programs where names are read and people are
asked to give facts known to them.
Also there are now Internet sites where people can work together and
verify and/or correct information.
mirjam

mirjam

12/9/2010 9:14:00 AM

0

On Dec 8, 7:33 pm, "Mrcheerful" <nbk...@hotmail.co.uk> wrote:
> Zulu wrote:
> > On 8 dic, 00:56, "GB" <NOTsome...@microsoft.com> wrote:
> >> Mrcheerful wrote:
> >>> GB wrote:
> >>>> Zulu wrote:
>
> >>>>>> Especially damning when you consider that Vrba was one of two
> >>>>>> authors of the WWB report, which brought the "truth" out of
> >>>>>> Auschwitz.
>
> >>>>> Yes that is how the "gas chambers" hoax started.
>
> >>>> Don't be daft. 6 million people went missing. There's a list of
> >>>> names and addresses. Does it really matter whether they were
> >>>> gassed or shot?
>
> >>> can anyone produce this list of 6 million?
>
> >> Try here:
>
> >>http://www.yadvashem.org/wps/portal/IY_H...
>
> > Not 6 millions at all. They claim they have roughly a list of 4
> > millions. Futhermore, I can prove that they can have a single victim
> > registered under several names. What is the historical value of such
> > "list"?
>
> if it is a database then it should be possible to set it in order and see
> the duplications, and I saw no mention of addresses, are they there?

As a matter of fact , there are several information details that
accompany each name , and help verify it.
Date of Birth, place of Birth. last address, before being deported.
many a time people are also listed, in the transport lists/ the
transport Camps etc.
Data bases are not so easy to see duplications, because some lack all
details. But we try. There are some names that are `common Jewish
names.
Lately somebody approached me thinking that my grandfather`s name
appeared on a memorial stone somewhere, in a labor Camp. We worked
together and by comparing Birth dates and places,we could verify that
this was another person with the same name. This kind of work goes on
all the time.
mirjam

The Todal

12/9/2010 10:07:00 AM

0

The Peeler wrote:
> On Wed, 8 Dec 2010 16:32:16 -0000, "The Todal" <deadmailbox@beeb.net>
> wrote:
>
>>
>> "Noblese Oblige" <georgesn@gmail.com> wrote in message
>> news:4cff6ef4$0$2501$a32e15e0@newsservers.net...
>>>
>>> "The Todal" <deadmailbox@beeb.net> wrote in message
>>> news:8m98p7F1sfU1@mid.individual.net...
>>>>
>>>> "Mrcheerful" <nbkm57@hotmail.co.uk> wrote in message
>>>> news:cBFLo.14872$A_1.14237@newsfe07.ams2...
>>>>> GB wrote:
>>>>>> Mrcheerful wrote:
>>>>>>> GB wrote:
>>>>>>>> Zulu wrote:
>>>>>>>>>>
>>>>>>>>>> Especially damning when you consider that Vrba was one of two
>>>>>>>>>> authors of the WWB report, which brought the "truth" out of
>>>>>>>>>> Auschwitz.
>>>>>>>>>
>>>>>>>>> Yes that is how the "gas chambers" hoax started.
>>>>>>>>
>>>>>>>> Don't be daft. 6 million people went missing. There's a list of
>>>>>>>> names and addresses. Does it really matter whether they were
>>>>>>>> gassed or shot?
>>>>>>>
>>>>>>> can anyone produce this list of 6 million?
>>>>>>
>>>>>> Try here:
>>>>>>
>>>>>> http://www.yadvashem.org/wps/portal/IY_H...
>>>>>
>>>>> that says three million
>>>>
>>>> No it doesn't. Unless you have seen something that I haven't. It
>>>> says that the central database has collected the names of half of
>>>> the six million who are thought to have perished and that millions
>>>> remain unidentified.
>>>
>>> Many of the names listed at YadVashem are listed more than once.
>>> It's the only way the Jews are able to make up such a big number.
>>> Like everything they do, they cheat and lie.
>>
>> Two of the names are of my grandparents, who were taken to Auschwitz
>> by truck and never seen again. I assure you they haven't been
>> secretly in touch with our family. I suppose they might have been
>> taken to a luxury hotel, then had a heart attack, then the records
>> were lost. Yes, that's probably how it was.
>
> Or emigrated to Palestine, South America, North America...

And made no attempt at all to contact their three children whom they had
previously sent to England and whose names were listed in the London
telephone directories to make it as easy as possible to find them. Nor to
reclaim their house or their belongings back in Germany.

The Red Cross also operated an international service to help families trace
missing relatives, but they came up with nothing.

Frankly I'd far rather believe that they died of natural causes in a
comfortable resettlement camp than that they were gassed and their bodies
burned with gasoline in a field. It isn't vitally important to me that my
family be part of the holocaust. However one has to look at the balance of
probabilities.


The Todal

12/9/2010 10:28:00 AM

0

GB wrote:
> The Peeler wrote:
>>
>> You're a closet jew, aren't you?
>
> I'm not sure what a closet jew is? I'm inclined to the theory that in
> fact you are a jew or a sympathiser and you have assumed this
> internet persona in order to discredit holocaust revisionists. You
> advance your theories so badly that that is the only viable
> conclusion.

I think he just wants to make insulting remarks about jews, really. Usenet
is quite liberating. You can unleash your hidden bigot, and usually no
consequences will follow.