file_bin_seek_relative
/*
** Usage:
** file_bin_seek_relative(file,pos)
**
** Arguments:
** file file id of an open binary file
** pos position to seek to relative to the current position
**
** Returns:
** nothing
**
** GMLscripts.com
*/
{
var file,offset;
file = argument0;
offset = argument1;
file_bin_seek(file,file_bin_position(file)+offset);
}
** Usage:
** file_bin_seek_relative(file,pos)
**
** Arguments:
** file file id of an open binary file
** pos position to seek to relative to the current position
**
** Returns:
** nothing
**
** GMLscripts.com
*/
{
var file,offset;
file = argument0;
offset = argument1;
file_bin_seek(file,file_bin_position(file)+offset);
}
[Please Login]
Projects: 1
Contributor: Leif902
comments powered by Disqus

Related: