首页 > dev > api > name > gb.push 
 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.Push
void GB.Push ( int nval , ... )

Push values on the interpreter stack.

* nval is the number of values you want to push.

The values are passed as additional arguments this way : the type of the value, followed by the data representing the value, this being repeated for each value.

When pushing a String, you must give a string pointer and a length.

Example

GB.Push(4,
  GB_BOOLEAN, 1,
  GB_INTEGER, 1972,
  GB_FLOAT, 3.1416,
  GB_STRING, "Gambas", 6
  );

参见

api/cat/call