No, it says o is a noun. The value of o is the character '(' .
Sent from my iPad
On Feb 9, 2013, at 3:24 AM, "Linda Alvord" <[email protected]> wrote:
> Thanks your sources are helpful.
>
> Here's another weird one. Grammar says that parentheses are punctuation.
>
>
> o=:(+)
> o
> +
> nc <'o'
> 3
> o=:()
> |syntax error
> | o=:()
> o=:(
> |syntax error
> | o=:(
>
> o=:'('
> o
> (
> nc <'o'
> 0
>
> Does this say ( is a noun?
>
> Linda
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of km
> Sent: Saturday, February 09, 2013 4:07 AM
> To: [email protected]
> Subject: Re: [Jprogramming] A tale of two nouns
>
> Linda,
>
> f =: '=:' NB. f is a string of two characters
> $f
> 2
>
> Your g appears to be a string of three characters.
>
> About your sentence attempting to define i check for a space between =
> and :
>
> Finally, about =: please see Appendix E. Parts of Speech:
>
> http://www.jsoftware.com/docs/help701/dictionary/partsofspeech.htm
>
> There you will see =: is not a "verb" in the J sense of that term. Also
> see II. Grammar
>
> http://www.jsoftware.com/docs/help701/dictionary/dict2.htm
>
> where =: is identified as a sixth "part of speech" Copula.
>
> Kip
>
> Sent from my iPad
>
>
> On Feb 9, 2013, at 2:24 AM, "Linda Alvord" <[email protected]> wrote:
>
>> f =: '=:'
>>
>> nc <'f'
>>
>> 0
>>
>> g =: '= :'
>>
>> nc <'g'
>>
>> 0
>>
>> h =: *:
>>
>> h 7 11
>>
>> 49 121
>>
>> i = : *:
>>
>> i = :*:
>>
>> i 7 11
>>
>>
>>
>> i 7 11
>>
>> |value error: i
>> | i 7 11
>>
>>
>>
>> f and g are both nouns, but they aren't the same noun.
>>
>>
>>
>> Is f really a noun? If "is" is a verb, isn't "=:" a verb?
>>
>>
>>
>> Linda
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm