Page 1 of 1

[BUG] must be a variable.

Posted: 15 Aug 2018, 00:45
by arcticir

Code: Select all

size:=6456546
VarSetCapacity(data,size,0)

loop size
RtlMoveMemory(&data+(a_index-1),&size,1)
Error: Parameter #1 of RtlMoveMemory must be a variable.

Line#
001: size := 6456546
002: VarSetCapacity(data,size,0)
004: Loop size
---> 005: RtlMoveMemory(&data+(a_index-1),&size,1)
006: MsgBox()
007: Exit
008: Exit
008: Exit

The current thread will exit.

Re: [BUG] must be a variable.

Posted: 15 Aug 2018, 09:42
by HotKeyIt
This has been fixed ;)