首页 > dev > api > name > gb_constant 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
GB_CONSTANT
#define GB_CONSTANT ( symbol , type , value ) ...

Declares a constant symbol.

This table gives more details:

Constant type How to specify the type How to specify the value Example
Integer "i" Directly the integer value GB_CONSTANT("Constant", "i", 1972)
Float "f" The floating point value as a string GB_CONSTANT("Constant", "f", "3.1416")
String "s" The string, between double quotes GB_CONSTANT("Constant", "s", "Gambas")

参见

Class Description