Glossary entry

français term or phrase:

Type de l'expression du cas non compatible avec le type de l'expression du selon

anglais translation:

(refer to client)

Added to glossary by Gary Key
Oct 6, 2006 07:17
17 yrs ago
1 viewer *
français term

Type de l'expression du cas non compatible avec le type de l'expression du selon

français vers anglais Technique / Génie Ordinateurs (général) Computer programming
Type de l'expression du cas non compatible avec le type de l'expression du selon.

It is the words 'cas' and 'selon' which I need help with.
I *think* it has something to do with 'conditional statements' [http://en.wikipedia.org/wiki/Conditional_statement] and computer programming commands in general because elsewhere in the document there are references to SI, ALORS, SINON (if, then, else). 'Cas' may refer to 'autre cas'...?:

Instruction SINON sans SI.
Expression du SELON vide
AUTRE CAS doit être en dernier dans le SELON.
Il manque le FIN associé à ce BOUCLE.
Il manque un RENVOYER à la fin de la fonction.
Le chemin '%1!s!' ne désigne ni un lecteur ordinaire, ni un lecteur UNC.
Impossible de passer sur le lecteur %1!s!.
Le chemin courant est trop long pour pouvoir le lire.
Il manque le ALORS associé à ce SI.
La condition du TANTQUE n'a pas été modifiée. La boucle risque d'être sans fin.
Il manque le FIN associé à ce TANTQUE.
Il manque le FIN associé à ce POUR.
Il manque le FIN associé à ce ALORS.
Il manque le FIN associé à ce SINON.

Any help appreciated!

Discussion

Gary Key (asker) Oct 8, 2006:
I'm now pretty sure that the text relates to W-Langage (WinDev), a bilingual language which allows coding in either English or French (apparently in indiscriminate fashion).
Martin Cassell Oct 6, 2006:
btw AUTRE CAS will certainly be distinct from CAS, and could correspond to DEFAULT or OTHERWISE, among others.
Martin Cassell Oct 6, 2006:
There are I think some dialects of VB in use in French: see http://docvb.free.fr/cours.php?part=a20 for example. The repertory of reserved words in your list could be from this dialect, in which case SELON would correspond to SELECT, I think.
Gary Key (asker) Oct 6, 2006:
I'll check the language used with the client, not sure if I'll get a reply today though...in any case you would disagree with Miranda's suggestion of 'elseif'?
Martin Cassell Oct 6, 2006:
SELON might correspond variously to SWITCH, SELECT or (confusingly) CASE, depending on language ... but I'm struggling to think of a widespread language which isn't programmed entirely with English keywords nowadays.
Gary Key (asker) Oct 6, 2006:
Unfortunately, I don't have this information!
Martin Cassell Oct 6, 2006:
What is the programming language in question here?

Proposed translations

2 jours 3 heures
Selected

(refer to client)

As you have identified that this is from a "bilingual" programming language, the programmer's documentation should provide definitive one-to-one correspondences for all reserved words. There is no scope for "translation" as such.

From what I recall, PCSOFT doesn't provide much reference documentation online -- your client should be able to provide the reference material you need.
Something went wrong...
4 KudoZ points awarded for this answer. Comment: "I will go with this 'answer'. I think you are right in that the comprehensive WinDev help files/bilingual commands list is only available to those with WinDev itself, so doubts regarding specific terms can only be referred back to the client, who (I hope!) has this information at hand. Thanks to everyone who suggested an answer / commented."
8 minutes

Case type incompatible with else type

http://en.wikibooks.org/wiki/Ada_Programming/Control
This link is what you need.

--------------------------------------------------
Note added at 15 mins (2006-10-06 07:33:00 GMT)
--------------------------------------------------

Actually that should have been "elseif"
Peer comment(s):

agree Gina W
17 heures
disagree Martin Cassell : selon would correspond to a different type of control structure than "if ... else(if)"
2 jours 3 heures
Something went wrong...
40 minutes

Case type incompatible with select type

Something like this:

SELECT Mode (Mode is a number)
CASE 1: DoMode1;
CASE 2: DoMode2;
CASE 'Elephant": DoModeElephant;
ENDSELECT

The last CASE won't compile as the type of the character string 'Elephant' isn't compatible with the type of the variable Mode.
Something went wrong...
Term search
  • All of ProZ.com
  • Recherche par terme
  • Travaux
  • Forums
  • Multiple search