Brightsign BrightScript 3.0 Reference Manual Manual do Utilizador Página 49

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 75
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 74 75

Comentários a estes Manuais

Sem comentários