Back Previous Next


Linguist basic package - put

Syntax:

   put {value} into {variable}/{buffer}/{queue}
   put {value} into {hashtable} as {key}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKPut.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHPut.class

Function:

The first form assigns a numeric value to a variable or a string value to a buffer. It can also add a value to a queue.

The second form puts a value into a hashtable using the key supplied, using which it can be retrieved later. See item <key> of in String Values.

Example(s):

put 5 into N
put "Hello, world" into MyText


Back Previous Next prompt.html">Previous Next