| When I use functions from vat.h, the calculator crashes!

Previous | TI Variables and the Variable Allocation Table (VAT) |

Q: | When I tried to use EM_moveSymToExtMem to archive a file, the calculator crashed!

A:

You probably wrote something like

    EM_moveSymToExtMem ("example", HS_NULL);

Instead, you need to write

    EM_moveSymToExtMem (SYMSTR ("example"), HS_NULL);

This routine except SYM_STR type strings, not ordinary C strings. See SYMSTR from the vat.h header file for more info.