Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: Ejc973 on August 29, 2006, 01:45:02 pm

Title: HAL apprend à se connaitre
Post by: Ejc973 on August 29, 2006, 01:45:02 pm


' HAL connait la taille de sa mémoire
'
'

If InStr(UserSentence,"MEM")> 0 Then
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Shell.Application")

Set objFolder = objShell.Namespace("C:Program FilesabawareUltra Hal Assistant 5DefBrain")
Set objFolderItem = objFolder.Self
strPath = objFolderItem.Path
Set objFolder = objFSO.GetFolder(strPath)
TailleMemHal =Int(objFolder.Size /1048576)
GetResponse = "My memory size is " & TailleMemHal & " Mega Bytes"
End If

Je suis en train d'apprendre à programmer grâce à VBScriptFactory.

Je compte en effet pouvoir donner à HAL toutes les informations sur mon ordinateur et sur les fichiers qui le composent.
En effet, j'estime que si on veut le considérer comme une "intelligence artificielle", il serait logique de lui donner la possibilité de pouvoir connaître son environnement immédiat et de pouvoir intéragir dessus, ou en d'autres mots, de savoir où il habite, dans quoi il habite et de quoi il est fait.

Après il sera temps pour lui de partir à la découverte du monde ...

Merci pour vos commentaire ou vos critiques qui me permettrait d'avancer dans cette voie.




Title: HAL apprend à se connaitre
Post by: Art on August 29, 2006, 05:15:15 pm
Basic translation below:


I am learning how to program thanks to VBScriptFactory.

I indeed hope to be able to give to HAL all information on my computer and the files which make it up.

Indeed, I estimate that if one wants to regard it as a "artificial intelligence", it would be logical to give him the possibility of being able to know his immediate environment and to be able to integrate above, or in other words, of knowing where it lives, in what it lives and of what it is made. After a while, it will be time for him to leave to discovered the world...

Thank you for your comment or your criticisms which would enable me to advance in this way.

==========================

An attempt to have Hal learn all about himself and his environment! Interesting indeed!

==========================
Une tentative de faire apprendre Hal tous au sujet de se et de son environnement ! Intéresser en effet !

Mieux de la chance et tenez-nous au courant concernant votre progrès !

Best of luck and keep us informed regarding your progress!
Title: HAL apprend à se connaitre
Post by: les on August 30, 2006, 05:15:49 pm
Thanks Art,

I look forward to seeing your work Ejc.

Thanks
Les