Re[28]: *
От: Mamut Швеция http://dmitriid.com
Дата: 29.10.04 09:46
Оценка:
Здравствуйте, Кодт, Вы писали:

К>Заодно детишки будут учить английский язык.

К>Потому что для C|C++|Java достаточно выучить около 30 слов, а всё остальное — это разнообразные крючочки.
К>Для Ada — около 50.
К>А для Кобола — извините, там смысл построения фраз нужно понимать.
К>
if a is less than b then subtract a from b else subtract b from a.


Тогда уже ставить везде Эпплы и учить AppleScript:

AppleScript is an English-like language used to write script files that automate the actions of the computer and the applications that run on it.



tell application "Finder"
    set the percent_free to ¬
        (((the free space of the startup disk) / ¬
            (the capacity of the startup disk)) * 100) div 1
end tell

if the percent_free is less than 10 then
    tell application (path to frontmost application as text)
        display dialog "The startup disk has only " & the percent_free & ¬
            " percent of its capacity available." & return & return & ¬
            "Should this script continue?" with icon 1
    end tell
end if


И потом дети будут уверены, что компьютеры — живые существа и что с ними можно разговаривать на равных


dmitriid.comGitHubLinkedIn
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.