Contents tagged with C#
-
11 Jul 2011
In some experiment scenarios you may need to open a text file containing, for example, randomized number sequences. You may choose not to load a permanent copy of such file into experiment’s Library, for instance, in cases when you regenerate the file content before each experiment run. Thus, the file is stored externally to your experiment. Then, the easiest way to read the file content is to use standard C# file functions directly in code snippets. If you need to read a file only once, at the start of experiment, then using the EXPERIMENT.OnInitializing snippet might be a good idea. The example below demonstrates this process in details.
-
10 Jun 2011
Introduction
You may have seen this error message or it variations while compiling your snippets in EventIDE. Or, you will probably see it soon. What is it about? In this post I will explain why this error appears and how to get rid of it.
-