AminetAminet
Search:
82248 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/conv/IFF2rexx.lha

Mirror:Random
Showing:generic
No screenshot available
Short:Convert IFF data to rexx source
Author:polluks+aminet at sdf.lonestar.org (Stefan Haubenthal)
Uploader:polluks+aminet sdf lonestar org (Stefan Haubenthal)
Type:util/conv
Version:2.4
Architecture:generic
Date:2018-06-03
Download:http://aminet.net/util/conv/IFF2rexx.lha - View contents
Readme:http://aminet.net/util/conv/IFF2rexx.readme
Downloads:863
/* Generated by IFF2rexx V2.4 */
id="PREF"				/* 546 */
id=id "PRHD"				/* 6 */
data.1=,
"000000000000"x				/*        */

id=id "CTRY"				/* 504 */
data.2=,
"0000000000000000 0000000000000000"x||,	/*                  */
[...]
"0000000000000001 01002D0000000000"x||,	/*           -      */
"0000000001010006"x			/*          */

id=id "CTRU"				/* 8 */
data.3=,
"C4AA72C4816E0000"x			/* ĪrÄ n   */

len=4
do chunk=1 to 3
	len=len+8+length(data.chunk)+length(data.chunk)//2
end
call open(iff,"iran.country",W)
call writech(iff,"FORM"d2c(len,4))
do chunk=0 to 3
	call writech(iff,left(word(id,chunk+1),4))
	if chunk>0 then call writech(iff,d2c(length(data.chunk),4)data.chunk)
	if length(data.chunk)//2 then call writech(iff,"00"x)
end


Contents of util/conv/IFF2rexx.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                  706    1584  44.6% -lh5- e904 Jun  3 07:06 IFF2rexx.rexx
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         1 file      706    1584  44.6%            Jun  3 15:33

Aminet © 1992-2018 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>