Brightsign BrightScript 3.0 Reference Manual Uživatelský manuál Strana 49

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 75
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 48
44
Integer
Float
Double
String
Object
Dynamic
Example:
Function cat(a, b)
Return a+b 'a, b could be numbers or strings
End Function
Function five() As Integer
Return 5
End function
Function add(a As Integer, b As Integer) As Integer
Return a+b
End function
Function add2(a As Integer, b=5 as Integer) As Integer
Return a+b
End Function
Function add3(a As Integer, b=a+5 as Integer) As Integer
Return a+b
Zobrazit stránku 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 74 75

Komentáře k této Příručce

Žádné komentáře