PDA

View Full Version : Function no longer supported



kklosson
01-04-2010, 06:08 PM
Just converted a SB5 script to SB7. I received two compiler warnings that a function is no longer supported. Appears to be related to the Loop Wizard function. Setup seems to run okay though. What should I change?

Loop Wizard (Abort Dialog Active)
Wizard Auto Break
End
If %RUNPROGRAM% Equals "1" on Position "1" Then
Run Program %_SB_INSTALLDIR%\cfca.exe (Always Install)
End


Thanks

linder
01-04-2010, 11:52 PM
Kingsley,

See this old message. We removed the function in December 2006, so the compiler gives you a "warning" if you still have it in your old projects. Of course, the function is ignored and does not cause any problem in your project.

http://www.lindersoft.com/forums/showthread.php?t=2008

BTW, you can delete the line or comment it out. But you can also leave it where it is. The compiler simply igrores it.

Does this help?

Friedrich

kklosson
01-05-2010, 12:01 PM
Are you saying that the function continues to work? It does seem to be working. Is it being depreciated and do I need to replace this with some newer function?

linder
01-06-2010, 12:26 AM
You don't need this function any longer because the installer handles it automatically. But the compiler simply ignores the function in your project(s) so you can delete the line or comment it out -- but you can also leave it where it is.

Friedrich