Restored from previous forum. Originally posted by dmoc.
In a procedure I am doing the following but it crashes on the return.
I have tried MBuffer, *MBuffer and @MBuffer. Code is ok outside of
a procedure. Any ideas?
Procedure.l GetSomeAddress(...)
...
*MBuffer = AllocateMemory(#MBNum, 16)
...
ProcedureReturn MBuffer; << CRASH!
Memory Bank Address
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm