Advertisement
Guest User

Untitled

a guest
May 20th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub Main
  2.  
  3.     Dim array(3)
  4.     array(0) = "Pommes"
  5.     array(1) = "Poires"
  6.     array(2) = "Tomates"
  7.     For Each fruit in array
  8.         WScript.Echo("J'aime bien les : " & fruit)
  9.     Loop
  10.  
  11.     For i = 0 to 5
  12.         WScript.Echo(i)
  13.     Loop
  14.     fin = 0
  15.     Do While fin <> 5
  16.         WScript.Echo(Ce n'est pas encore la fin)
  17.         fin  = fin + 1
  18.     Loop
  19.  
  20.     Set fso = CreateObject("Scripting.FileSystemObject")
  21.     Set file = fso.OpenTextFile("C:\ExportText\demo.txt",1)
  22.     Do Until file.AtEndOfStream
  23.         file.ReadLine  
  24.     Loop
  25.  
  26. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement