The 3 key points about locales:

1. The default console locale is 'base'.  You do not need to access names with 
the name_base_ modifier if in current locale.
2. In code (or console) if you issue the line cocurrent 'newlocale' then all 
subsequent definitions use that locale as the current (and so you do not need 
the _newlocale_ accessor for those names while "in" that locale.
3. The 'z' locale is normally available to all others.  locales have search 
paths such that if a name is not found within it, it searches through its 
search path to find the first match in path, and uses that name.  The z locale 
defaults to be in the search path of all other locales.


----- Original Message -----
From: Kyle M. Rudden <[email protected]>
To: "[email protected]" <[email protected]>
Cc: 
Sent: Sunday, October 26, 2014 8:51 AM
Subject: Re: [Jprogramming] datetime addin not working

Got it - thanks.  Locales are an area that I have not explored yet.

Kyle Rudden

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of tom arneson
Sent: Sunday, October 26, 2014 8:43 AM
To: [email protected]
Subject: Re: [Jprogramming] datetime addin not working

That noun is in a locale: rgsdatetime

   MS0Date_rgsdatetime_
36522

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Kyle M.
Rudden
Sent: Sunday, October 26, 2014 06:46
To: [email protected]
Subject: Re: [Jprogramming] datetime addin not working

Script is loading, without error message, but cannot access content:

   load 'types/datetime'
   MS0date
|value error: MS0date
   load 'types/datetime/test/test_datetime'
test_datetime passed
   load 'c:/users/krudden/j64-802/addons/types/datetime/datetime.ijs'
   MS0date
|value error: MS0date

Kyle Rudden

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tikkanz
Sent: Sunday, October 26, 2014 1:03 AM
To: Programming JForum
Subject: Re: [Jprogramming] datetime addin not working

Agreed.
I was able to load and run the test script successfully in both j64 8.02 and 
8.03.
    load 'types/datetime'

    load 'types/datetime/test/test_datetime'

test_datetime passed

We will need more information to help.





On Sun, Oct 26, 2014 at 3:53 PM, chris burke <[email protected]> wrote:

> I don't see any obvious problem with datetime.
>
> What did you try, and with what result?
>
> On Sat, Oct 25, 2014 at 8:30 AM, Kyle M. Rudden < 
> [email protected]> wrote:
>
> > I wanted to convert some Excel dates to J, and some other 
> > functionality found in the datetime addin, but can't seem to get the
addin to work.
> > It lists as installed, and I have also installed the "numeric" addin 
> > it called for .
> > No problems with other standard addins.
> > I took the MS0Date value I wanted from the datetime.ijs file, so I 
> > have a work around, but still not sure why the addin would not work.
> > Not critical for what I am doing right now, but just wanted to 
> > mention
> it.
> > Running 8.02 on Windows 7 64.
> >
> > Regards
> > Kyle Rudden
> >
> > --------------------------------------------------------------------
> > -- 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

----------------------------------------------------------------------
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

Reply via email to