I use table for different variable
But, when i initilise it in the start of code like this:
Code: Select all
CheminScript={}
For local X=0 to 100
CheminScript[X]="Ram:"
Next
Code: Select all
If msg.id = "BP4"
; *** Exécuter un fichier Hollywood ***
FichierTemporaire=CheminScript[PageActiver] .. "FichierAEffacer.Hws"
mui.set("Information","contents","Hollywood:System/Hollywood -debugdevice ::stdout >ram:Execution_outpout " .. chr(34) ..FichierTemporaire .. chr(34))
If Exists(FichierTemporaire)=true then DeleteFile(FichierTemporaire)
StringToFile(mui.Get("editeur".. PageActiver, "contents"), FichierTemporaire)
Execute("Hollywood:System/Hollywood -debugdevice ::stdout >ram:Execution_outpout " .. chr(34) ..FichierTemporaire .. chr(34))
DeleteFile(FichierTemporaire)
EndIf
Code: Select all
FichierTemporaire=CheminScript[PageActiver] .. "FichierAEffacer.Hws"
Why please?
Thanks