lemelinm

1540 Reputation

15 Badges

19 years, 242 days

 

 

--------------------------------------
Mario Lemelin
Maple 14.00 Win 7 64 bits
Maple 14.00 Ubuntu 10,04 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

MaplePrimes Activity


These are replies submitted by lemelinm

Both method (yours and Christopher2222) worked.  But I had to do some changes in the source file first.  Looking at the first three characters of str (after I saved it as one line of 2024 characters in utf-8), I realized that they were not part of the initial line that start in fact with a m (so it was a false location - 935 instead of 932).  So I went back to the source file and realize that, in the line, they were a bunch of "space" characters.  So with Notepad++, I delete them and save the file again by converting the line with ANSI code this time.  Reloading  and executing the Maple file seams to have solve the problem.

 

I am happy to have use the StringTools package.  All I need to do is to check if it's working under Linux and a way to see, say, the five letters befor and after the Qxp+zr6km.  But I can do it with my text editor so why bother in Maple?  By the way, the command:

StringTools[HasControlCharacter](str);

give false.  OUF!

 

Thank you both!

 

--------------------------------------
Mario Lemelin
Maple 15.01 Win 7 -  64 bits
Maple 15.01 Ubuntu 11,04 - 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

Both method (yours and Christopher2222) worked.  But I had to do some changes in the source file first.  Looking at the first three characters of str (after I saved it as one line of 2024 characters in utf-8), I realized that they were not part of the initial line that start in fact with a m (so it was a false location - 935 instead of 932).  So I went back to the source file and realize that, in the line, they were a bunch of "space" characters.  So with Notepad++, I delete them and save the file again by converting the line with ANSI code this time.  Reloading  and executing the Maple file seams to have solve the problem.

 

I am happy to have use the StringTools package.  All I need to do is to check if it's working under Linux and a way to see, say, the five letters befor and after the Qxp+zr6km.  But I can do it with my text editor so why bother in Maple?  By the way, the command:

StringTools[HasControlCharacter](str);

give false.  OUF!

 

Thank you both!

 

--------------------------------------
Mario Lemelin
Maple 15.01 Win 7 -  64 bits
Maple 15.01 Ubuntu 11,04 - 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

 Christopher2222 and Markiyan Hirnyk

It's not working!  I forgot to tell you that this was an extract of a SINGLE line containing 2024 character.  Here how it apprears in Maple after the readdata:

 It look to me as a sequence of part of the data.  This leaded me to think that the problem was the file and the way it was store.  I opened a text editor (Notepad++) and I saw that it was stored with the "Automatic line wrapping".  So I was seeing a lot of line each with the [LF] code at the end.  So I "Select all" and choose "join lines".  And now I am seeing only one line of length 2024.

 

I re-execute the Maple file and the output is not pretty:

 

I think that the characters * + / etc cause the problem!

????????????

Any ideas?

--------------------------------------
Mario Lemelin
Maple 15.00 Win 7 -  64 bits
Maple 15.00 Ubuntu 11,04 - 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

 Christopher2222 and Markiyan Hirnyk

It's not working!  I forgot to tell you that this was an extract of a SINGLE line containing 2024 character.  Here how it apprears in Maple after the readdata:

 It look to me as a sequence of part of the data.  This leaded me to think that the problem was the file and the way it was store.  I opened a text editor (Notepad++) and I saw that it was stored with the "Automatic line wrapping".  So I was seeing a lot of line each with the [LF] code at the end.  So I "Select all" and choose "join lines".  And now I am seeing only one line of length 2024.

 

I re-execute the Maple file and the output is not pretty:

 

I think that the characters * + / etc cause the problem!

????????????

Any ideas?

--------------------------------------
Mario Lemelin
Maple 15.00 Win 7 -  64 bits
Maple 15.00 Ubuntu 11,04 - 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

@DuncanA 

Thank you for your support!

Of course, the solution of Preben Alsholm is short and sweet.  But I would like to know why my solution seems so negatif?

@DuncanA 

Thank you for your support!

Of course, the solution of Preben Alsholm is short and sweet.  But I would like to know why my solution seems so negatif?

@hirnyk 

 

I was in a good mood and I wanted to put a little smile to the others collegues.  I can see that you didn't smile.  Sorry.

@hirnyk 

 

I was in a good mood and I wanted to put a little smile to the others collegues.  I can see that you didn't smile.  Sorry.

... hirnyk 923 who beat me by 3 minutes.  Congratulations! :-)

 

 

--------------------------------------
Mario Lemelin
Maple 14.01 Win 7 64 bits
Maple 14.01 Ubuntu 10,04 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

... hirnyk 923 who beat me by 3 minutes.  Congratulations! :-)

 

 

--------------------------------------
Mario Lemelin
Maple 14.01 Win 7 64 bits
Maple 14.01 Ubuntu 10,04 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

Since the new MaplePrimes, I am not receiving anymore the maplethread like before.  Is this normal?  Am I missing something?

Thanks in advance,

--------------------------------------
Mario Lemelin
Maple 14.00 Win 7 64 bits
Maple 14.00 Ubuntu 10,04 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

Can wait to explore it.  The new editor is great. Congratulations!

 

--------------------------------------
Mario Lemelin
Maple 14.00 Win 7 64 bits
Maple 14 Ubuntu 10,04 64 bits
messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

 Maple have 46%.  Hoping that the mapleprimes community will go voting :-)

--------------------------------------
Mario Lemelin
Maple 13.02 Win 7 64 bits
messagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987

Discussion: www.mapleprimes.com/forum/partialderivatives

File : www.mapleprimes.com/files/3867_UserLib!!!.mws

--------------------------------------
Mario Lemelin
messagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987
I suggest you read this discussion
You can also look at this File that list all the commands that is added
when you install the librairy.
--------------------------------------
Mario Lemelin
messagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987
First 6 7 8 9 Page 8 of 9