Показать сообщение отдельно
Старый 05.09.2005, 09:25   #1
Жека
Дэвелопер
 
Регистрация: 04.09.2005
Адрес: Красноярск
Сообщений: 1,376
Написано 491 полезных сообщений
(для 886 пользователей)
У меня есть электронная книга Game Programming for Teens в формате CHM.

Publisher : Premier Press
Pub Date : 2003
ISBN : 1-59200-068-1
Pages : 392

Размер файла 2.05 Мб

Написано про Blitz Basic 2D. Но так как его команды включены в 3Д, то...
Если кто-то хочет и БУДЕТ ее читать, могу выложить.

Вырезка:
*************************************
NOTE

Why Do We Use Parentheses?

You may have noticed that on some functions we use parentheses around the parameters, and on others we don't. There is a pretty simple reason for this. Parentheses are required when the function returns a value. When the function does not return a value, the parentheses are optional. For example, LoadImage() requires parentheses because it returns the address of the loaded image like this:

image = LoadImage("image.bmp")

whereas Text doesn't require parentheses at all:

Text 0,0, "No parentheses!"


When you write functions, it is always good practice to include parentheses, even if they aren't required.

*************************************

А я-то думал... (щас все функции по возможности со скобками пишу, кроме Text. Но это НЕ после прочтения этого куска, еще раньше начал...)
(Offline)
 
Ответить с цитированием