Home page Home page Home page Home page
Pixel
Pixel Header R1 C1 Pixel
Pixel Header R2 C1 Pixel
Pixel Header R3 C1 Pixel
Pixel

QTIPS - Potential Problem When Using @ANS

Writing to a file with SI.MFS attached causes the ! code to be invoked. The ! code (being essentially a dictionary item) uses @ANS to pass information around - thus before returning control to the calling program, it nulls down @ANS. Hence the act of writing to a file with SI.MFS attached clears out @ANS. The moral is simple, as @ANS is a temporary answer variable, do not use it to store values between processes.

(Volume 3, Issue 8, Page 10)
Pixel
Pixel Footer R1 C1 Pixel
Pixel
Pixel
Pixel