by fast_rx » Mar 7, 2005 @ 4:08pm
The SDK is still not quite right.
Bug 1: I have 2 proc's defined as "test" and "test2". The SearchLabel/RunEx ran "test2" when I searched for "test". Seems like the comparison routine stopped after it matched 4 chars. Changing "test" to "test1" - it found the correct proc.
Bug 2: Using this as my app
app *a = Eval("global(a$); a$ = {Goodbye Cruel World!}; proc test1 ShowMessage(a$); end; proc TEST2 ShowMessage({test2}); end;");
It doesn't init the global, so running test1 shows a message of "0". Maybe I need to have a "main" code section or something? Or declare static vars inside the proc (which I don't think you can do, right?).