User Tools

Site Tools


ro:typeof

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ro:typeof [2017/08/21 04:39]
junior-root
ro:typeof [2020/02/28 10:46]
Line 1: Line 1:
-===== TypeOf (Funcție) ===== 
-> **Engleză:** //**TYPE OF** data = tipul de date// 
-==== Format ==== 
-**typeof** ( [[expressions|expresie]] )\\ 
-**typeof** ( [[variables|variabilă]] )\\ 
- 
-Întoarce un [[integerexpressions|număr_întreg]]. 
-==== Descriere ==== 
-Returnează un număr care reprezintă tipul unei valori/variabile. 
-{{page>typeofconstants}} 
-==== Exemplu ==== 
-<code> 
-print typeof(a) 
-print typeof(1) 
-print typeof(42.345) 
-print typeof("stuff") 
-dim b(99) 
-print typeof(b) 
-</code> 
-va afișa 
-<code> 
-0 
-1 
-2 
-3 
-4 
-</code> 
-==== Vezi și ==== 
-{{page>ro:start#Tablouri și Variabile&noheader}} 
-==== Istoric ====  
-|1.99.99.8|Adăugată în acestă versiune| 
  
ro/typeof.txt · Last modified: 2020/02/28 10:46 (external edit)