Difference between revisions of "AMOSi:Sload"

From Amiga Coding
Jump to: navigation, search
(Extracted from the AMOSPro V2.00 helpfile)
m (1 revision(s))
 
(No difference)

Latest revision as of 01:51, 17 November 2007

an example can be found on AMOSPro_Examples:Examples/H-7/Help_74.AMOS


Loads part of a sample file into memory.


Sload File_Number,Length To Address

File_Number is the number of a file you've opened previously with the OPEN IN File_Number,"Name" instruction.


Length is the number of bytes to load. If this number is bigger than the actual size of the file, then only the remaining bytes will be loaded.


Address is the destination address.


Your data is loaded from the current file postion, as set by POF.