Chapter 2. The Input/Output library

Squirrel Standard Library 2.2

Chapter 2. The Input/Output library

Squirrel API

Global symbols

File class

          
local myfile = file("test.xxx","wb+");
					
        
'i' 32bits number returns an integer
's' 16bits signed integer returns an integer
'w' 16bits unsigned integer returns an integer
'c' 8bits signed integer returns an integer
'b' 8bits unsigned integer returns an integer
'f' 32bits float returns an float
'd' 64bits float returns an float
'l' processor dependent, 32bits on 32bits processors, 64bits on 64bits prcessors
returns an integer 'i'
32bits number 's'
16bits signed integer 'w'
16bits unsigned integer 'c'
8bits signed integer 'b'
8bits unsigned integer 'f'
32bits float 'd'
64bits float