Hi All,
Please unsubscribe me from the Users Group and oblige
[log in to unmask]
Thanks heaps
Richard Hudson
PS I already "unsubscribed" but seems it didnt work
----- Original Message -----
From: "Vries, J.J. de" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, January 31, 2014 4:31 AM
Subject: Danish characters in strings. RE: error reports
> Good evening Jurgen,
>
> Yesterday I reused some old code, and got very strange errors. Often the
> message: Ox reports errors, code 2, but without a description of the error
> and the relevant line numbers. Sometimes with line numbers in a part of
> the code that didn't correspond with the last output above. By repeatedly
> commenting out half of the code (and halving again), I could locate the
> line that caused the problem. I replicate it here in a simple form.
>
> The following demonstration program
>
> ===
> #include <oxstd.oxh>
>
> main()
> {
> println("Test Danish characters in string.");
> println("NykİŞbing-RİŞrvig");
> println("End of program.");
> }
>
> ===
>
> produces this output:
>
> ===
> --------------- Ox at 19:13:19 on 30-Jan-2014 ---------------
>
> ===
>
> What probably happens is that the special Danish characters make parts of
> the output disappear (including the details about the error that occured).
> I didn't expect that. I avoided Danish characters in identifiers, but used
> them in strings. The conversation below suggests that that would be
> possible. And as far as I remember, that part of the code did run without
> problems a few years ago (in an earlier Ox-version).
>
> I was unable to find any information about this issue in the
> documentation. If these special characters are not allowed, a compile
> error or warning would be convenient.
>
> Regards,
> Jaap
>
> -----------------------------------------------------------------
> Jacob J. de Vries
> Department of Spatial Economics
> Vrije Universiteit
> De Boelelaan 1105
> NL 1081 HV Amsterdam
> Room 4A-26 (Mondays, Wednesdays, Thursdays)
> Phone +31 20 59 82248
> Fax +31 20 59 86004
> [log in to unmask]
> http://personal.vu.nl/j.j.de.vries/
> -----------------------------------------------------------------
>
>
>
>> -----Original Message-----
>> From: The ox-users list is aimed at all Ox users [mailto:OX-
>> [log in to unmask]] On Behalf Of Jurgen Doornik
>> Sent: Tuesday, April 28, 2009 5:33 PM
>> To: [log in to unmask]
>> Subject: Re: error reports
>>
>> Ox code must be written entirely in ASCII characters (lower-ASCII to be
>> precise), and the input file must be ASCII or UTF8 (Strings may contain
>> any
>> character).
>>
>> Your code may be using non-ascii characters (although they look almost
>> like
>> ascii). Likely offending characters are ' * ^.
>>
>> One way to get the wrong ' for transpose is to copy some Ox code from
>> PDF files.
>>
>> Your email is encoded in Korean, and that may be another way to enter
>> roman
>> characters or symbols taken from non-ASCII characters (elsewhere in the
>> unicode
>> set).
>>
>> Jurgen
>>
>>
>> oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
>> oxoxoxox 7th OxMetrics user conference 2009
>> oxoxoxox Cass Business School, London
>> oxoxoxox 14-15 September 2008
>> oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
>> Dr Jurgen A Doornik
>> Nuffield College, Oxford OX1 1NF, UK
>> tel. UK: +44-1865-278610 fax +44-1865-278621
>> http://www.doornik.com
>> http://www.oxmetrics.net
>> oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
>>
>>
>> Shuai Yang wrote:
>> > Hi all,
>> >
>> > I got a error message, when I was running my codes.
>> >
>> > the error is :
>> >
>> > --------------- Ox at 12:16:36 on 28-Apr-2009 ---------------
>> >
>> > Ox Professional version 5.00 (Windows/U/MT) (C) J.A. Doornik, 1994-
>> 2007
>> > D:\Program Files\OxMetrics5\Ox\EVT_VaR_insample.ox (103):
>> 'unrecognized
>> > D:\Program Files\OxMetrics5\Ox\EVT_VaR_insample.ox (103): '¨ù'
>> unrecognized
>> > D:\Program Files\OxMetrics5\Ox\EVT_VaR_insample.ox (103): '‰'
>> unrecognized
>> >
>> > Ox reports errors: exit code= 2!!
>> >
>> > the codes in raw 103 is:
>> > qu_pos=threshold+(vp[1][]/vp[0][])(N*(1-quan)'/T£İ.^(-vp[0][])-1);
>> >
>> > Can anyone could help me. Many thanks.
>> >
>> > Best,
>> >
>> > Shuai
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4259 / Virus Database: 3658/7003 - Release Date: 01/14/14
> Internal Virus Database is out of date.
>
|