This wiki is out of date, use the continuation of this wiki instead

Memory total

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:52, 29 April 2007 (edit)
Sandman (Talk | contribs)

← Previous diff
Current revision (12:48, 29 April 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 24: Line 24:
End End
</pre> </pre>
-Used in example: [[say]](), [[memory_free]]()+Used in example: [[say]](), [[memory_total]](), [[memory_free]]()
 + 
 +{{Funcbox
 + | category = Memory
 +}}

Current revision


[edit] Definition

FLOAT memory_total ( )

Returns the memory total in bytes.

[edit] Returns

FLOAT : Memory total in bytes.

[edit] Example

Program example;
Begin

    say("Total memory: " + memory_total());
    say("Free memory:  " + memory_free() );

    Repeat
        frame;
    Until(key(_esc))

End

Used in example: say(), memory_total(), memory_free()


Memory Functions
Alloc() • Free() • Memcmp() • Memcopy() • Memory_free() • Memory_total() • Memset() • Memsetw() • Realloc() •
Personal tools