Hi David,

That's a good question, if .strung is not a class, then it should just be a
string which is a .class so I now think it shouldn't work.

In either case I would not expect an error - just for it to return .true
all the time.

Now confused Jon

On 11 March 2015 at 15:26, David Ashley <[email protected]> wrote:

>  So why doesn't Jon's method throw an error? Are you not invoking a method
> on a class that does not exist (the isa method)? Why does that not throw an
> error?
>
> David Ashley
>
> On 03/11/2015 10:12 AM, Rick McGuire wrote:
>
> Jon's method doesn't throw an error either.
>
>  Rick
>
> On Wed, Mar 11, 2015 at 11:03 AM, David Ashley <[email protected]>
> wrote:
>
>>  But I wanted something that queries for the existence of the class. I do
>> not want an error thrown if the class does not exist. I just want to know
>> whether or not the class actually exists. Your .context method does that.
>>
>> David Ashley
>>
>>
>> On 03/11/2015 09:58 AM, Rick McGuire wrote:
>>
>>
>>
>> On Wed, Mar 11, 2015 at 10:55 AM, David Ashley <[email protected]>
>> wrote:
>>
>>>  That works for builtin classes, but not for user defined classes. I
>>> want something that can query both.
>>>
>>
>>
>>  That method works just fine for any class that is visible in the
>> environment.  It is not just restricted to the builtin classes.
>>
>>  Rick
>>
>>
>>>
>>>
>>> David Ashley
>>>
>>>
>>> On 03/11/2015 09:52 AM, Sahananda (Jon) Wolfers wrote:
>>>
>>> Would this do?
>>>
>>>  say .string~isa(.class)
>>> 1
>>>   ........................................... rexxtry.rex on WindowsNT
>>> say .strung~isa(.class)
>>> 0
>>>   ........................................... rexxtry.rex on WindowsNT
>>>
>>>  Jon
>>>
>>> On 11 March 2015 at 14:48, David Ashley <[email protected]>
>>> wrote:
>>>
>>>> Rick -
>>>>
>>>> Is there a way to query ooRexx to discover if a class exists? I think
>>>> this would be a good addition if that functionality does not exist.
>>>>
>>>> David Ashley
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>>> sponsored
>>>> by Intel and developed in partnership with Slashdot Media, is your hub
>>>> for all
>>>> things parallel software development, from weekly thought leadership
>>>> blogs to
>>>> news, videos, case studies, tutorials and more. Take a look and join the
>>>> conversation now. http://goparallel.sourceforge.net/
>>>> _______________________________________________
>>>> Oorexx-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website, 
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub for 
>>> all
>>> things parallel software development, from weekly thought leadership blogs 
>>> to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>>
>>>
>>>
>>> _______________________________________________
>>> Oorexx-devel mailing 
>>> [email protected]https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub
>>> for all
>>> things parallel software development, from weekly thought leadership
>>> blogs to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> Oorexx-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website, 
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for 
>> all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>>
>>
>>
>> _______________________________________________
>> Oorexx-devel mailing 
>> [email protected]https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Oorexx-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
>
>
>
> _______________________________________________
> Oorexx-devel mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to