> hMemory = Memory pPointer For Read Write
> Write #hMemory, 10 As Integer
>
> is there any other way that i did not notice?
>

I'm not sure I understand what do you mean/need...
Documentation gives two options;

*WRITE* [ *#* *Stream* *,* ] *Expression* *AS* *Datatype*
*WRITE* [ *#* *Stream* *,* ] *String* [ *,* *Length* ]

But I personally use streams just for reading data from external functions.
So, in other words, my third option is to pass pointer to external function
and let it write to stream.

You can see example from my GambasTester project (attached), just search
"modf".
Here is C++ reference:
http://www.cplusplus.com/reference/clibrary/cmath/modf/

Jussi
P.S. Test will not pass right now, because some new functions (possibly
obsolete) are missing from test.

Attachment: GambasTester-0.9.15.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to