Hello,
I discovered AI2 a few days ago, I followed the first tutorials, and I still have some to follow
I am not a programming specialist but a speech therapist who likes to build programs for my patients. I used to work with macromedia authorware in the past but this software is dead ... and the actual time is about mobile apps instead of exe for computers
In AI2, I recognize some features I found so usefull fin AW7 for the non-specialist I am (variables, reference to an external file, loops, if-then etc.). But I do have questions too, and I must admit that I do not find the doc section about this topic.
My first general question is : is it possible to code the variables, if-then, readextfile etc as lines of code, or do we have to do it with the puzzle pieces of the graphic interface ? I guess, that what we build in the blocks interface is converted in real code : do we have access to it ?
I hope to be understandable and can't wait to go on with further tutos (unfortunately I have job to do and real patients to see, so I can't spend my whole time geeking on that site !!)
I will take every info you will give, I am curious and have so much to learn yet !
Have a nice week-end
thanks for having taken time for an answer ; maybe my question wasn't clear enough.
I give you an example of what I meant, this is what I used to do in AW7 :
The following example extracts the list of words to practice from a external textfile (one item = one line), counts the number of items included in that list (= number of lines), and randomly picks one.
(liste_mots, nb_mots, n and mot_cible are variables ; ReadExtFile, LineCount, Random and GetFile are functions)
--extraction du fichier d'items
liste_mots := ReadExtFile("liste.txt")
nb_mots := LineCount(liste_mots)
--extraction de l'item
n := Random(1;nb_mots;1)
mot_cible := GetLine(liste_mots;n)
I find it easier to program typing it than assembling blocks ... but maybe I'm wrong
How can I do this in AI2 ?
Thank you Taifun,
Your answers are precisely what I was looking for :
now I know that I can't type but I must use the blocks
you gave me hints about how to solve this precise issue
I know what to read to learn more about AI2
... and of course I will go on with tutorials : I have to say that they are incredibly pedagogic, it's really a good way to learn !