« Translinguisme/Programmation » : différence entre les versions

Contenu supprimé Contenu ajouté
Ligne 143 :
 
{| class="wikitable sortable" border="1" style="text-align: center" style="border:2px solid black;"
!Langage!!Attribut de classe!!Constructeur!!Libération!!Attendre!!Lister le répertoire courant!! Sortie!!Date du jour!!Ligne courante
|-
|[[Windows PowerShell]] ([[DOS]]) || || || erase, del || pause || dir || exit || date
Ligne 149 :
| [[Shell Unix]] || || || rm, rmdir || sleep, wait || ls || exit || date
|-
| [[Python]] || type() || self || del || time.sleep() || os.path.normcase(f) || ''fonction :'' return<br/>''boucle :'' break || import time... || import inspect...
|-
| [[Programmation Ada|Ada]] || || || ''automatique'' || <tt>delay </tt>''secondes''<tt>;</tt> || || ||
|-
| [[Programmation C|C]] || || *, ''déclaration :'' ... || free() || sleep || || ||
|-
| [[PHP]] || gettype(), is_numeric()<ref>Renvoie vrai si la variable est de type numérique, même si elle contient des lettres. Utiliser <code>preg_match ("/[^0-9]/", $nb);</code> dans ce cas</ref>, is_int(), is_integer(), is_float(), is_real(), is_double(), is_long(), is_scalar() || $this-> || unset(), unserialize() || sleep() || __FILE__ || return || date("d/m/Y") || __LINE__
|-
| [[Programmation Java|Java]] || instanceof || this || finalize() || .sleep() || File[] files = new File(".").listFiles() || return ||
|-
| [[Programmation JavaScript|JavaScript]] || getAttribute() || this || delete || window.setTimeout() || object.BuildPath(path, name) || return ||
|-
| [[Le langage HTML|HTML]] || <font color=red>''rien''</font> || <font color=red>''rien''</font> || <font color=red>''rien''</font> || <font color=red>''rien''</font> || <font color=red>''rien''</font> || ||
|-
| [[SQL]] || <font color=red>''rien''</font> || || delete || WAITFOR DELAY || || GETDATE() ||
|-
| [[Visual Basic]] || IsNumeric() || .save, .saveas || Erase<br/>''fichier :'' .DeleteFile || Sleep<ref>Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)</ref> || dir() || ''fonction : ''Exit, End<br/>''fichier :'' .close<br/> goto || now()
|-
| [[OpenOffice.org|OOo Basic]] || || .storeToURL() || kill || wait || dir() || ||
|}