Back to X64dbg

var/varnew

docs/commands/variables/var.md

2026.04.20391 B
Original Source

var/varnew

Declare a new variable.

Note: You should not use this command under normal circumstances. If you want to create a variable you can do so with myvar = 42.

arguments

arg1 Variable name (will be prefixed with '$' if not done).

[arg2] Initial variable value (see console input for details).

result

This command does not set any result variables.