Page 1 of 1

StringUtils1.pas version 7 !!!

Posted: 2009-11-01 09:18:59
by Elcoco
Bonjour à tous

Le script « allocine » ne fonctionne plus chez moi, il réclame une version 7 de « StringUtils1.pas ». je ne le trouve pas sur le site sauf en version 6. Quelqu’un peut-il m’aider.

Merci

Posted: 2009-11-01 10:39:19
by antp
sur http://update.antp.be/amc/scripts/ et via "update scripts" c'est pourtant bien la version 7... tu la trouves où la 6 ? :??:

Posted: 2009-11-01 12:28:37
by bad4u
It's probably because StringUtils1.pas includes history up to V6 only, and that confuses people I guess:

Code: Select all

{
  History
  -------
  v.2:  Added a version number, few minor changes in the functions,
        and the FindLine function used by lots of old scripts (they
        would all have to be modified to use this file).
  v.3:  Added FindFullLine function
  v.4:  ?
  v.5:  "FullTrim" rewritten
  v.6:  "Cp1252ToASCII" added
}
The variable

Code: Select all

const StringUtils1_Version = 7;
might not be self-explaining for everyone, or is just overseen. Maybe add v.7 to history and to [Info] section ? ;)

Posted: 2009-11-01 16:46:05
by edwoody
Bonjour,
Pour ma part, j'ai téléchargé ceci :
http://update.antp.be/amc/scripts/StringUtils1.pas
... puis l'ai rajouté dans le dossier "scripts". Depuis, le message d'erreur n'apparaît plus.
Cordialement.

Posted: 2009-11-01 18:06:15
by antp
bad4u wrote:It's probably because StringUtils1.pas includes history up to V6 only, and that confuses people I guess:
Indeed, I'll correct that

Posted: 2009-11-01 19:30:30
by Elcoco
j'ai fait comme toi edwoody et tout est OK

Désolé, Antp j’ai foiré dans mes recherches, mea culpa c’est de ma faute

merci à tous,

Elcoco :??: