home *** CD-ROM | disk | FTP | other *** search
- New Blitz Commands
- ~~~~~~~~~~~~~~~~~~
- This library contains the following commands:
-
-
- MemoryBlock=AllocMem(ByteSize,Requirements)
- (long) (long) (long)
-
- This routine simply calles the Blitz AllocMem() routine so that any memory
- blocks allocated with it are freed when the program ends (if not already
- freed) or if the program aborts (during development of course :)
-
-
- FreeMem MemoryBlock,ByteSize
- (long) (long)
-
- Deallocates memory obtained with AllocMem
-
-
- result=IsEven(Expression)
- (bool) (byte,word,long)
-
- Returns true if Expression is even. Of use when requesting a value from a
- user that MUST be even.
-
-
- result=SearchString(StringPointer,StartAddress,BlockLength)
- (long) (&string) (long) (long)
-
- Finds a string in the given memory block and returns its address. Returns
- False otherwise.
-