NewsArchive
11-05-2013, 01:51 AM
Hi Friedrich,
after updateing SB to V8.1 Build 4227, I can't compile some of my
projects. The compiler says, that there are some undefined variables,
but thats not true. Look at this small example:
------ Compiler output -------
Your Project Name-5.sb8(28): error GEN1006: Reference to variable
%[L]EICAR% has not been previously defined.
------------------------------
------ Script -------
25) #set compiler variable [L] = "TEST"
26) Set Variable %[L]LINE% to ""
27) Set Variable %[L]TESTFILE% to ""
28) Set Variable %[L]LINE% to FUNCTION:Get Line "1" from "%[L]TESTFILE%"
------------------------------
Demo Script attached.
Thanks for your help.
Markus
after updateing SB to V8.1 Build 4227, I can't compile some of my
projects. The compiler says, that there are some undefined variables,
but thats not true. Look at this small example:
------ Compiler output -------
Your Project Name-5.sb8(28): error GEN1006: Reference to variable
%[L]EICAR% has not been previously defined.
------------------------------
------ Script -------
25) #set compiler variable [L] = "TEST"
26) Set Variable %[L]LINE% to ""
27) Set Variable %[L]TESTFILE% to ""
28) Set Variable %[L]LINE% to FUNCTION:Get Line "1" from "%[L]TESTFILE%"
------------------------------
Demo Script attached.
Thanks for your help.
Markus