Re: transposing comma problem

Hamed Shakouri <[email protected]> Fri, 30 Apr 2021 14:50:45 -0700
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <CAOBG-Th64ovn-jbNqxFvYkOUvmOippCRPKkieFMWa_wfPrHY5A@mail.gmail.com>
One more issue I figured out is that the same character (between the key ;
and Enter) used in files edited with the previous version (OCTAVE 5) does
not appear as it appears as a normal apostrophe; instead, it shows in a
different shape, and when I try to get the character number (by
abs('<character>') it causes the command window to hang (stops working).

On Fri, Apr 30, 2021 at 2:38 PM Hamed Shakouri <[email protected]> wrote:

> Interesting is that when I try to run the lines including
> these apostrophes by F9 (Run the selection) from the file, it runs with no
> error.
> I realized that "sometimes" in my last email means when running the entire
> saved script/function.
>
> On Fri, Apr 30, 2021 at 2:31 PM Hamed Shakouri <[email protected]>
> wrote:
>
>> Thank you for your fast reply.
>> Sorry, by "comma" I meant "apostrophe" that is used for transposing.
>> On my laptop, sometimes OCTAVE 6.2 Editor cannot detect this character
>> correctly.
>> e.g. x = (1:10)';  used in a function is not read as is written and a
>> syntax error appears.
>>  syntax error
>> >>> x=(1:10);
>>                     ^
>> Also, it cannot be used to define a string variable. Seems that the
>> character is not read at all!
>> e.g. legend({'Res', 'Comm'})  causes:
>>  syntax error
>> >>> legend({Res....
>>                     ^
>>
>>  Thank you,
>> Hamed.
>>
>> On Fri, Apr 30, 2021 at 1:39 PM Torsten Lilge <[email protected]>
>> wrote:
>>
>>> On Fri, 2021-04-30 at 13:13 -0700, Hamed Shakouri wrote:
>>> > Hi there,
>>> >
>>> > Thanks to the OCTAVE team for providing a light efficient computing
>>> > environment.
>>> >
>>> > I noticed that in version 6 ahead, the comma character cannot be
>>> > recognized well.
>>> > There was not any problem with that in versions 5 and 4, since I
>>> > started working with OCTAVE.
>>> >
>>> > Would you please help me realize a solution?
>>> >
>>> > With Regards,
>>> >
>>> > Hamed Shakouri G.
>>>
>>> Hello Hamed,
>>>
>>> Could you please be a little more specific what the exact problem is? Is
>>> the comma hard to read? If yes, is this the case in the command widget
>>> and/or in the editor? Does it help to select another font?
>>>
>>> Torsten
>>>
>>>
>>>
>>
>> --
>>
>> With Regards,
>>
>> Hamed Shakouri G.
>>
>
>
> --
>
> With Regards,
>
> Hamed Shakouri G.
>


-- 

With Regards,

Hamed Shakouri G.