What is happening with SC_message

I try this code:

	{
		sc_message("Internal Error1");
	}

but I get this error:
Fatal error: Call to undefined function sc_message() in C:\Program Files\NetMake\v71\wwwroot\scriptcase\app\security14\app_Login\app_Login_apl.php on line 1456

IS THIS MACRO STILL SUPPORTED ?
I see it in the help file only in examples, but not on the MACRO list

Arthur

I just tested on my copy of Scriptcase (7.01.0021) and received the same error. I don’t use the macro, just thought I’d confirm for you that it’s occurring for others as well. Sorry I can’t be of more help.

OK - can some one from NET MAKE respond please ???

Arthur

Didnt you want sc_ajax_message ??

Hello Arthur,

In which event are you trying to call sc_message()?

regards,
Bernhard Bernsmann

I’m having the same issue. I’ve tried it on OnValidate and OnValidateSuccess. Got the error both times…

If you look in the manual under macros sc_message does not exist - so it does look like its been deprecated / superseded, e.g. sc_ajax_message().

That said, the manual does use sc_message in some of the examples, but I suspect that is simply because Netmake overlooked ensuring the examples were updated too when they removed sc_message.