BrightSign Roku Compact Guide de l'utilisateur Page 70

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 118
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 69
64
Examples
A good way to learn BrightScript is to look at or modify existing scripts.
Yo
u can also test BrightScript commands using the shell. Here is an example:
Welcome to the Roku Shell version 3.04 Release
Type '?' for help or 'help <command>' for help on <command>.
Roku> script
BrightScript Micro Debugger.
Enter any BrightScript statement, debug commands, or HELP.
BrightScript> print "hello"
hello
BrightScript> ? "hello"
hello
BrightScript> ?5+6
11
BrightScript> ?type(5)
Integer
BrightScript> if 1=1 then print"1 does equal 1!" else print "strange!"
1 does equal 1!
BrightScript> ?right("abcdef",3)
def
BrightScript> exit
Roku>
Vue de la page 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 117 118

Commentaires sur ces manuels

Pas de commentaire